Contentful リモートMCPを Windsurf にMCP接続する方法(設定手順)
Contentful のリモートMCPサーバーを Windsurf に約1分でMCP接続。OAuth / 401 の問題は先に OAuth 2.1 デバッガーで確認できます。
🔒 Client-side only — never leaves your browser.
Or add to ~/.cursor/mcp.json:
{
"mcpServers": {
"contentful": {
"url": "https://mcp.contentful.com/mcp",
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
}
}
}
}claude mcp add --transport http contentful https://mcp.contentful.com/mcp
With credential header:
claude mcp add --transport http contentful https://mcp.contentful.com/mcp --header "Authorization: Bearer YOUR_API_KEY"
Or add to .vscode/mcp.json:
{
"servers": {
"contentful": {
"type": "http",
"url": "https://mcp.contentful.com/mcp",
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
}
}
}
}- Open Settings → Connectors (Integrations) → Add Custom Connector.
- Paste the endpoint URL:
https://mcp.contentful.com/mcp - Provide your API key / Bearer token when prompted.
Bridge the remote endpoint into stdio with mcp-remote in claude_desktop_config.json:
{
"mcpServers": {
"contentful": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://mcp.contentful.com/mcp",
"--header",
"Authorization: Bearer YOUR_API_KEY"
]
}
}
}Add to ~/.codeium/windsurf/mcp_config.json:
{
"mcpServers": {
"contentful": {
"serverUrl": "https://mcp.contentful.com/mcp",
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
}
}
}
}Add to ~/.kiro/settings/mcp.json (or .kiro/settings/mcp.json in your workspace), then reopen Kiro's Agent panel to pick up the server:
{
"mcpServers": {
"contentful": {
"url": "https://mcp.contentful.com/mcp",
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
}
}
}
}Add to ~/.codex/config.toml — Codex reads remote HTTP servers from [mcp_servers.*] tables:
[mcp_servers.contentful] url = "https://mcp.contentful.com/mcp" bearer_token_env_var = "CONTENTFUL_TOKEN"
Add to cline_mcp_settings.json (Cline → MCP Servers → Configure), or paste it via Cline's MCP marketplace file:
{
"mcpServers": {
"contentful": {
"type": "streamableHttp",
"url": "https://mcp.contentful.com/mcp",
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
}
}
}
}Add to ~/.gemini/settings.json under mcpServers — httpUrl for Streamable HTTP, url for legacy SSE:
{
"mcpServers": {
"contentful": {
"httpUrl": "https://mcp.contentful.com/mcp",
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
}
}
}
}接続手順
- 設定ファイルを開く —
~/.codeium/windsurf/mcp_config.jsonを編集します。 - サーバーを追加 —
mcpServersに"contentful": { "serverUrl":https://mcp.contentful.com/mcp}を追加します。 - 認証を完了 — Contentful のコンソールで資格情報を取得し、設定の
Authorization: Bearer <キー>ヘッダーに追加します。 - 検証 — オンライン Inspector に
https://mcp.contentful.com/mcpを貼り付け、initialize と tools/list を実行して接続を確認します。