Generic remote MCP setup
Use this generic flow when your MCP client supports remote servers but is not listed in the tool-specific examples below.Locate your client's MCP configuration
Find the file or settings panel where your client accepts remote MCP server definitions. The exact name and location vary by client, so check your client’s documentation for details. Common key names include
mcpServers, mcp, or servers.Add the GitHits MCP server entry
Add the remote GitHits MCP server URL to your client’s MCP config. Many clients use this shape:Some clients require an explicit HTTP type:VS Code-style configs often use
servers instead of mcpServers:Verify the connection
Restart your client or reload its MCP server list. If your client supports MCP OAuth, complete the GitHits authorization prompt. Confirm that
githits appears as a connected server, then ask it to inspect package context. It should call a GitHits tool such as search, code_read, docs_list, or pkg_info and return a result.Tool-specific remote setup
Use these examples when you want to add the hosted GitHits MCP server directly to a coding harness.Codex CLI
Run:/mcp to confirm that githits is connected.
Pi
Install the MCP adapter package:.mcp.json for the current project, or ~/.config/mcp/mcp.json for user-global setup:
/mcp inside Pi to inspect the server or complete authentication.
Claude Code
Run:/mcp to complete authentication in the interactive MCP panel.
Gemini CLI
Run:settings.json. Use /mcp inside Gemini CLI to inspect the server after adding it.
VS Code / GitHub Copilot
Run:Cursor
Cursor and Cursor CLI use the same MCP configuration. Add GitHits to~/.cursor/mcp.json for global use, or .cursor/mcp.json for the current project:
agent mcp list to verify that the server is available.
OpenCode
Run the interactive MCP wizard:https://mcp.githits.com.
You can also add GitHits to opencode.json:
Cline
Run the interactive MCP wizard:https://mcp.githits.com.
You can also add GitHits to ~/.cline/mcp.json:
Windsurf / Devin Desktop
Open Settings > Tools > Windsurf Settings > Add Server, or edit~/.codeium/windsurf/mcp_config.json directly:
Hermes Agent
Add GitHits to~/.hermes/config.yaml, or to $HERMES_HOME/config.yaml if you use a custom Hermes home:
~/.hermes/mcp-tokens/.