作者 bgauryy · bgauryy/octocode-mcp
MCP 伺服器,用 LLM 模式進行即時語義程式碼研究與情境生成 | 自然地搜尋公開和私有儲存庫
MCP 伺服器,用 LLM 模式進行即時語義程式碼研究與情境生成 | 根據你的權限在公開和私有儲存庫中自然搜尋 | 將任何可存取的程式碼庫轉化為 AI 最佳化的知識,涵蓋簡單和複雜的流程 | 從任何地方找到真實的實作和即時文件
%APPDATA%\Claude\claude_desktop_config.json{
"mcpServers": {
"octocode": {
"command": "npx",
"args": [
"-y",
"octocode-mcp"
],
"_inferred": true
}
}
}
開啟 Claude Desktop → Settings → Developer → Edit Config。儲存後重啟應用。
{
"mcpServers": {
"octocode": {
"command": "npx",
"args": [
"-y",
"octocode-mcp"
],
"_inferred": true
}
}
}
Cursor 使用與 Claude Desktop 相同的 mcpServers 格式。專案級設定優先於全域。
{
"mcpServers": {
"octocode": {
"command": "npx",
"args": [
"-y",
"octocode-mcp"
],
"_inferred": true
}
}
}
點擊 Cline 側欄中的 MCP Servers 圖示,然後選 "Edit Configuration"。
{
"mcpServers": {
"octocode": {
"command": "npx",
"args": [
"-y",
"octocode-mcp"
],
"_inferred": true
}
}
}
格式與 Claude Desktop 相同。重啟 Windsurf 生效。
{
"mcpServers": [
{
"name": "octocode",
"command": "npx",
"args": [
"-y",
"octocode-mcp"
]
}
]
}
Continue 使用伺服器物件陣列,而非映射。
{
"context_servers": {
"octocode": {
"command": {
"path": "npx",
"args": [
"-y",
"octocode-mcp"
]
}
}
}
}
加入 context_servers。Zed 儲存後熱重載。
claude mcp add octocode -- npx -y octocode-mcp
一行命令搞定。用 claude mcp list 驗證,claude mcp remove 移除。