How to Connect GitMCP Docs Remote MCP to Cline
Add GitMCP's remote MCP server to Cline in about a minute.
Step-by-step
- Open Cline MCP settingsCline sidebar β MCP Servers β Configure MCP Servers β this opens
cline_mcp_settings.json. - Paste the configAdd the
mcpServersentry shown above (Streamable HTTPurl+ optionalheaders). - AuthorizeNo authentication needed β GitMCP Docs MCP is public.
- VerifyVerify in the browser: paste
https://gitmcp.io/docsinto remotemcp.net/inspector and run initialize + tools/list.
Troubleshooting OAuth / 401
- A
401 Unauthorizedon first connect is normal β the endpoint is OAuth-protected; let Cline finish the browser consent flow. - If the consent window never opens, remove and re-add the server, then retry.
- Check the exact challenge at our OAuth debugger.
- Run the live endpoint through the online inspector to see the raw JSON-RPC exchange.
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"
}
}
}Tools exposed by 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 |
Connect GitMCP Docs MCP to another client
Other servers for Cline
GitHub's official remote MCP server hosted at api.githubcopilot.com. Gives AI agents first-party access to repositories, issues, pull requests and code search.
Notion's official hosted MCP server. Agents can search your workspace, read and create pages, and query databases over Streamable HTTP or SSE.
Linear's official remote MCP server. Agents can search, create and update issues and query your team's workflow over Streamable HTTP or SSE.
Figma's official remote MCP server. Agents can pull design context, variables, Code Connect mappings and screenshots from your Figma files.
AWS Knowledge's hosted remote MCP server. AWS's fully-managed public knowledge MCP gives agents access to the latest AWS documentation, API references, What's New posts and architectural guidance across all AWS services. It is public and unauthenticated β connect and call tools immediately.
Stripe's official remote MCP server at mcp.stripe.com. Agents can query customers, payment intents and subscriptions and invoke Stripe API operations with OAuth.