GitMCP Docs MCP リモートMCPサーバー – 公式URL・MCP接続設定・ツール一覧
GitMCP Docs MCP は GitMCP が提供するリモートMCPサーバー(コミュニティ運営、カテゴリ:検索・ドキュメント・開発者ツール・Git)です。エンドポイント https://gitmcp.io/docs を通じて、AIエージェントが直接呼び出せる 5 個の構造化ツールを提供します。
このページでは、公式リモートエンドポイント、トランスポート、認証方式、全ツールスキーマ、リアルタイムの死活監視・セキュリティ監査結果を掲載し、Cursor・Claude Code・VS Code・ChatGPT など 10 のクライアントへのMCP接続手順を解説します。
Or add to ~/.cursor/mcp.json:
{
"mcpServers": {
"gitmcp": {
"url": "https://gitmcp.io/docs"
}
}
}claude mcp add --transport http gitmcp https://gitmcp.io/docs
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"
}
}
}🧰 GitMCP Docs のMCPツールとスキーマ(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 |
🛡️ セキュリティ評価・品質・コンテキスト監査
- No prompt-injection or hidden-character anomalies detected in tool descriptions
- Streamable HTTP primary endpoint (current 2025-03-26 transport)
- Public read-only-friendly endpoint — no credentials stored client-side
- Community-operated endpoint
- Manually verified by RemoteMCP.net
🔐 OAuth 2.1 とセキュリティ
- 認証方式
- 認証不要
- 動的クライアント登録(DCR)
- —
- PKCE S256
- —
- 保護リソースメタデータ
- https://gitmcp.io/.well-known/oauth-protected-resource
📡 公式リモートエンドポイントとトランスポート
リモートエンドポイント https://gitmcp.io/docs は Streamable HTTP(2025-03-26 仕様) を採用。Streamable HTTP は単一の POST エンドポイントで JSON-RPC の双方向通信を完結する現行推奨トランスポートで、npx mcp-remote ブリッジなしに Claude・Cursor・VS Code などへ URL だけでMCP接続できます。
接続前にエンドポイントを オンライン MCP Inspector に貼り付けて initialize / tools/list のハンドシェイクを確認することを推奨します。
🔐 認証・権限フロー
認証方式は 認証不要(公開) です。認証は一切不要。URL を貼るだけですぐに使えます。ドキュメント検索や公開データの参照に最適です。
🛡️ コンテキスト消費とセキュリティ監査
このサーバーには現在 5 個のツールが登録されており、定義の合計は約 740 トークン。リクエストごとにモデルのシステムプロンプトへ注入されます。セキュリティ評価は A+(コミュニティ運営ソース)。ツール名とスキーマが簡潔なほどコンテキストウィンドウへの「税」は低くなります。feecalculator.app で呼び出しあたりのコストも試算できます。
🧩 主要クライアントへのMCP接続
GitMCP Docs MCP について、Cursor / Claude Code / VS Code / ChatGPT / Windsurf / Kiro / Codex / Cline / Gemini など 10 クライアント向けの設定を自動生成しています。ワンクリック deeplink、claude mcp add コマンド、JSON / TOML スニペットから選べます。代表的なツール:match_common_libs_owner_repo_mapping、fetch_generic_documentation、search_generic_documentation、search_generic_code、fetch_generic_url_content など。
📖 GitMCP Docs の詳細
GitMCP Docs MCP — Remote MCP Server
GitMCP answers the stale-docs problem: point it at any public repo and get semantic search plus raw fetch over its README, docs/ and wiki — always current with the default branch. Completely public, which also means you should not rely on it for private or SLA-bound workflows.
Official GitMCP Docs MCP Endpoint & Transport Architecture
- Endpoint URL:
https://gitmcp.io/docs - Transport: Streamable HTTP
Streamable HTTP is the current MCP transport (2025-03-26 spec): a single URL accepts JSON-RPC POSTs and may stream responses over SSE, so one endpoint serves both simple and streaming workloads. GitMCP Docs MCP does not publish a separate legacy SSE endpoint, so your client must speak Streamable HTTP.
Authentication, Scopes & Permission Boundaries
GitMCP Docs MCP is public and unauthenticated — no OAuth, no API key, no headers. Any MCP client can connect and call its tools directly, which also makes it a great endpoint for smoke-testing your own MCP client or proxy.
All 4 cataloged tools are read-only — GitMCP Docs MCP cannot mutate your account data, which makes it safe to connect broadly.
Common Troubleshooting & Connection Tips
- "Session expired" / stale
Mcp-Session-Id— just re-sendinitialize; stateless clients can ignore session headers entirely. - Community-operated — treat availability as best-effort.
- Per-repo endpoints also exist (gitmcp.io/
/ ) for scoped doc search.
🚀 GitMCP Docs MCP リモートMCPへの接続方法
- リモートエンドポイントを取得 — 公式エンドポイント https://gitmcp.io/docs をコピーします。
- クライアント設定に追加 — Cursor の mcp.json / Claude Code CLI / 各クライアントに URLを追加します(下記クライアント別ガイド参照)。
- 認可して検証 — 設定を保存後、当サイトの Inspector で initialize と tools/list を実行して接続を確認します。
🔌 GitMCP Docs × クライアント別MCP接続ガイド
❓ よくある質問
GitMCP Docs MCP のリモートMCPサーバーは公式ですか?
このエントリは「コミュニティ運営」と表示されています。エンドポイントは GitMCP 公式ではなくサードパーティが運営しています。掲載エンドポイントはすべて実際の MCP initialize ハンドシェイクで検証済みです。
Claude / Cursor で GitMCP Docs MCP にMCP接続するには?
リモートエンドポイント https://gitmcp.io/docs をコピーします。Claude Code では claude mcp add --transport http gitmcp https://gitmcp.io/docs を実行。Cursor ではワンクリック deeplink か ~/.cursor/mcp.json に { "mcpServers": { "gitmcp": { "url": "https://gitmcp.io/docs" } } } を追加します。
接続時に 401 が返る/キーを要求される場合は?
このエンドポイントは認証不要です。401 が返る場合は URL の綴りを確認し、Inspector で再試行してください。
ローカル stdio MCP とリモート MCP の違いは?
ローカル MCP は npx / uvx で起動する stdio 子プロセスで、ローカルランタイムが必要で API キーを平文で設定ファイルに書きます。リモート MCP は GitMCP がホストする HTTPS エンドポイントで、インストール不要・OAuth 2.1 対応・同一 URL をデスクトップとモバイルで共用できます。詳しくは ローカル vs リモート MCP 比較 をご覧ください。