pingcode-mcp
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@pingcode-mcplist spaces and pages in PingCode Wiki"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
PingCode MCP
PingCode Wiki 唯讀 MCP Server,讓 Coding Agent 從 PingCode Wiki 取得可追溯的 Markdown 上下文。MCP Server 只負責認證、查詢、驗證與資料標準化;需求理解、Spec Kit 與程式碼生成 仍由你的 Coding Agent 負責。
支援的工具
pingcode_wiki_list_spacespingcode_wiki_list_pagespingcode_wiki_get_requirement_context
所有第一階段工具都是唯讀。每次取得 Wiki 頁面時會保留來源 URL、頁面 ID、取得時間與內容 Hash,方便在技術規格或程式碼變更中追溯來源。
Related MCP server: gitbook-mcp
開始使用
需要 Node.js 20 或以上版本,以及已在 PingCode 建立的應用程式憑據。
本機 stdio
適合單一受信任使用者,以企業應用憑據存取 PingCode:
git clone https://github.com/xurenxiang1219/pingcode-mcp.git
cd pingcode-mcp
npm ci
cp .env.stdio.local.example .env
# 編輯 .env,填入 PINGCODE_CLIENT_ID 與 PINGCODE_CLIENT_SECRET
npm run build完成後用 VS Code 開啟此資料夾。專案已包含可直接使用的 .vscode/mcp.json,它會以
${workspaceFolder}/dist/index.js --stdio 啟動 Server,並讀取同資料夾的 .env;不需要再填寫
絕對路徑或把 Secret 寫進 MCP 設定檔。首次啟動時,於 VS Code 確認信任此 MCP Server。
若要在另一個程式碼專案中使用,請將 .vscode/mcp.json 的 server 設定複製到該 IDE 的使用者
設定,並將 args[0]、cwd 與 envFile 改為本機 pingcode-mcp clone 的絕對路徑。Cursor、
Qoder、ZCode 等其他 Client 可參考 examples/clients/generic.mcp.example.json,透過以下配置引用
私有環境檔:
"env": {
"PINGCODE_ENV_FILE": "/absolute/private/path/to/pingcode-mcp.env"
}也可以在 Client 的 env 直接傳入 Client ID 與 Secret,但它們會明文保存在 MCP 配置中,
只適合短期本機排查;不要提交、同步或分享該配置。
HTTP User OAuth
適合多使用者、Cursor、VS Code 或其他支援 MCP OAuth 的 Client。Docker Compose 會啟動 Redis, 保存加密後的 OAuth Session,讓服務重啟及多 instance 部署不必讓每位使用者重新登入。
cp .env.compose.local.example .env.compose.local
# 編輯 .env.compose.local,填入 User OAuth Client ID、Secret 與加密金鑰
COMPOSE_MCP_ENV_FILE=.env.compose.local docker compose up --build在 PingCode OAuth 應用中,把 callback 設為:
http://localhost:3000/auth/pingcode/callback接著將 http://localhost:3000/mcp 加入 MCP Client。第一次連線時,Client 會開啟瀏覽器,
由使用者登入自己的 PingCode 帳戶。HTTP 範例見
examples/clients/vscode-http-oauth.mcp.example.json。
驗證
npm run typecheck
npm test
npm run build健康檢查:GET /health/live 與 GET /health/ready。
安全與部署
不要提交
.env、Client Secret、Access Token、Cookie 或任何客戶 Wiki 正文。HTTP 服務預設只綁定本機。正式環境需使用 HTTPS,並放在客戶的 API Gateway、Service Mesh 或等效企業認證與流量控制措施之後。
正式環境請使用客戶自己的 Secret Manager 與 Managed Redis;UAT 與 Production 必須使用不同 的 PingCode 憑據。
enterpriseHTTP 模式不含入站使用者登入,不可直接對公網開放。
範圍
此專案目前只支援 PingCode Wiki 唯讀存取,不會建立或修改 PingCode 資料,也不提供任意 PingCode REST API 代理。未來若加入工作項目或 Test Case 寫入,會以獨立權限與審批流程提供。
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseAqualityCmaintenanceRead-only MCP server for self-hosted Confluence that lets AI agents search pages, fetch content, and navigate page trees via the REST API.514MIT
- Alicense-qualityCmaintenanceRead-only MCP server for accessing GitBook content, including spaces, pages, and search, through AI assistants.524MIT
- Alicense-qualityAmaintenanceServes local Markdown wikis as a read-only knowledge source with MCP tools for agent context retrieval.2Apache 2.0
- Alicense-qualityBmaintenanceA Model Context Protocol (MCP) server for integrating Confluence with OpenCode. Seamlessly search, read, create, and update Confluence pages directly from your AI coding agent.28MIT
Related MCP Connectors
MCP server for AgentDocs (agentdocs.eu): read, search, write, comment on & share Markdown docs.
Agent-native MCP server over the public saagarpatel.dev corpus. Read-only, stateless.
MCP-native open-source Notion alternative: read & write pages, databases and kanban boards.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/xurenxiang1219/pingcode-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server