GitMCP Docs リモートMCPを ChatGPT にMCP接続する方法(設定手順)
GitMCP のリモートMCPサーバーを ChatGPT に約1分でMCP接続。OAuth / 401 の問題は先に OAuth 2.1 デバッガーで確認できます。
Streamable HTTPhttps://gitmcp.io/docs
Install in Cursor →
Or add to ~/.cursor/mcp.json:
{
"mcpServers": {
"gitmcp": {
"url": "https://gitmcp.io/docs"
}
}
}claude mcp add --transport http gitmcp https://gitmcp.io/docs
Install in VS Code →
Or add to .vscode/mcp.json:
{
"servers": {
"gitmcp": {
"type": "http",
"url": "https://gitmcp.io/docs"
}
}
}- Open Settings → Connectors (Integrations) → Add Custom Connector.
- Paste the endpoint URL:
https://gitmcp.io/docs - No authentication needed — tools are available immediately.
Bridge the remote endpoint into stdio with mcp-remote in claude_desktop_config.json:
{
"mcpServers": {
"gitmcp": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://gitmcp.io/docs"
]
}
}
}Add to ~/.codeium/windsurf/mcp_config.json:
{
"mcpServers": {
"gitmcp": {
"serverUrl": "https://gitmcp.io/docs"
}
}
}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": {
"gitmcp": {
"url": "https://gitmcp.io/docs"
}
}
}Add to ~/.codex/config.toml — Codex reads remote HTTP servers from [mcp_servers.*] tables:
[mcp_servers.gitmcp] url = "https://gitmcp.io/docs"
Add to cline_mcp_settings.json (Cline → MCP Servers → Configure), or paste it via Cline's MCP marketplace file:
{
"mcpServers": {
"gitmcp": {
"type": "streamableHttp",
"url": "https://gitmcp.io/docs"
}
}
}Add to ~/.gemini/settings.json under mcpServers — httpUrl for Streamable HTTP, url for legacy SSE:
{
"mcpServers": {
"gitmcp": {
"httpUrl": "https://gitmcp.io/docs"
}
}
}接続手順
- 開発者モードを有効化 — ChatGPT → Settings → Connectors → Advanced で Developer Mode をオンにします。
- コネクタを追加 — 新規 Custom Connector を作成し、
https://gitmcp.io/docsを MCP Server URL に入力します。 - 認証を完了 — 認証は不要です。GitMCP Docs MCP は公開エンドポイントです。
- 検証 — オンライン Inspector に
https://gitmcp.io/docsを貼り付け、initialize と tools/list を実行して接続を確認します。
🧰 ツール一覧(5)
| Tool | Safety | Description | Parameters |
|---|---|---|---|
| match_common_libs_owner_repo_mapping ~147 tok | 🟠 Write | Match a library name to an owner/repo. Don't use it if you have an owner and repo already. Use this first if only a library name was provided. If found - you can use owner and repo to call other tools. If not found - try to use the library name directly in other tools. | library*: string |
| fetch_generic_documentation ~115 tok | 🟢 Read | Fetch documentation for any GitHub repository by providing owner and project name | owner*: stringrepo*: string |
| search_generic_documentation ~155 tok | 🟢 Read | Semantically search in documentation for any GitHub repository by providing owner, project name, and search query. Useful for specific queries. | owner*: stringrepo*: stringquery*: string |
| search_generic_code ~185 tok | 🟢 Read | Search for code in any GitHub repository by providing owner, project name, and search query. Returns matching files. Supports pagination with 30 results per page. | owner*: stringrepo*: stringquery*: stringpage: number |
| fetch_generic_url_content ~118 tok | 🟢 Read | Generic tool to fetch content from any absolute URL, respecting robots.txt rules. Use this to retrieve referenced urls (absolute urls) that were mentioned in previously fetched documentation. | url*: string |