
Octocode MCP Server
by bgauryyio.github.bgauryy/octocode-mcpv7.0.9
AI-powered developer assistant that enables advanced research, analysis and discovery and code generation across GitHub and NPM realms in realtime.
context tax
queued
security
queued
cold start
queued
freshness
Maintained45d ago
Install Octocode MCP server
Install in Claude Code
claude mcp add octocode -e GITHUB_TOKEN='<github-token>' -- npx -y octocode-mcpInstall in Cursor
{
"mcpServers": {
"octocode": {
"command": "npx",
"args": [
"-y",
"octocode-mcp"
],
"env": {
"GITHUB_TOKEN": "<github-token>"
}
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"octocode": {
"command": "npx",
"args": [
"-y",
"octocode-mcp"
],
"env": {
"GITHUB_TOKEN": "<github-token>"
}
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"octocode": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"octocode-mcp"
],
"env": {
"GITHUB_TOKEN": "<github-token>"
}
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"octocode": {
"command": "npx",
"args": [
"-y",
"octocode-mcp"
],
"env": {
"GITHUB_TOKEN": "<github-token>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
Configuration
| Variable | Required | Secret | Description |
|---|---|---|---|
| GITHUB_TOKEN | — | yes | GitHub Personal Access Token. Optional - authenticate via GitHub CLI (gh auth login) for automatic token management, or set this token manually for CI/CD environments. |
Freshness
Maintained — last maintenance signal 45d ago. The newest of the signals below sets the band.
Last commit (default branch)
2026-08-25 · 45d ago · GitHub
Latest release
2025-12-15 · 10mo ago · GitHub · 9.1.1
Package published
no data · npm/PyPI
Registry entry updated
2025-11-10 · 11mo ago · official registry · v7.0.9
FAQ
›How do I install the Octocode MCP server in Claude Code?
Run: claude mcp add octocode -e GITHUB_TOKEN='<github-token>' -- npx -y octocode-mcp. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does Octocode require an API key?
Yes. It expects GITHUB_TOKEN, of which 1 is a secret.
›Can I use Octocode as a remote (hosted) MCP server?
No hosted endpoint is published; it runs locally over stdio.
›Is Octocode in the official MCP registry?
Yes, as io.github.bgauryy/octocode-mcp.
Alternatives to Octocode
Other version control MCP servers.