- name
SKILL.md
技能檔案保留在發布者的儲存庫中。
在終端機中貼上複製的指令。它會將這個 SKILL.md 安裝到對應的代理中。
npx skills add JetBrains/thinkrail --skill managing-mcp-servers -a cursor -y在終端機中貼上複製的指令。它會將這個 SKILL.md 安裝到對應的代理中。
npx skills add JetBrains/thinkrail --skill managing-mcp-servers -a claude-code -y在終端機中貼上複製的指令。它會將這個 SKILL.md 安裝到對應的代理中。
npx skills add JetBrains/thinkrail --skill managing-mcp-servers -a codex -y在終端機中貼上複製的指令。它會將這個 SKILL.md 安裝到對應的代理中。
npx skills add JetBrains/thinkrail --skill managing-mcp-servers -a grok -y在 Grok Bot 聊天中傳送複製的訊息。Bot 會從 GitHub 取得這個 SKILL.md,並加入你所有 Bot 共用的技能中。
Install this skill: https://github.com/JetBrains/thinkrail/tree/HEAD/packages/server/skills/managing-mcp-servers來自發布者
ThinkRail uses pi's built-in MCP support but has no pi executable. Never run pi mcp add,
pi mcp login or other pi commands; edit the configuration files and point the user at
Settings › MCP servers for everything that needs them.
~/.pi/agent/mcp.json: available in every project..pi/mcp.json in the worktree, tracked in git. A server defined here does not
run until the user approves it in Settings, and any later change to its entry needs approval again.
It only loads when the user trusts the project.Both files use pi's format:
{
"mcpServers": {
"docs": { "url": "https://example.com/mcp" },
"browser": { "command": "npx", "args": ["-y", "@playwright/[email protected]"] }
}
}
args; never @latest.${ENV_VAR} (from the host's environment) or
!command (the command's output, for example !gh auth token), or let the user sign in.exposure: deferred (the default here — load the server's tools with tool_search first),
direct (a few always-useful tools), or hidden. codemode is treated as deferred..pi/mcp.json when the user
wants it shared with the repository.GitHub is a recipe, not a preset: its hosted server, authenticated with the user's GitHub CLI sign-in. Add it to the user-level file (Settings › MCP servers offers the same entry under Paste JSON):
{
"mcpServers": {
"github": {
"url": "https://api.githubcopilot.com/mcp/readonly",
"headers": { "Authorization": "!t=$(gh auth token) && echo \"Bearer $t\"" }
}
}
}
/readonly is GitHub's documented read-only mode (same as an X-MCP-Readonly: true header). Use
https://api.githubcopilot.com/mcp/ only when the user asks for tools that change data.gh is logged out it fails instead of sending
an empty token; the user runs gh auth login in a terminal."Authorization": "Bearer ${GITHUB_TOKEN}".The host reloads idle chats on its own and a busy chat picks the change up when it is idle. Tell the user when a step is theirs: approving a repository server, or Sign in for a server that uses OAuth (both in Settings › MCP servers). Do not ask them to restart ThinkRail.
mcp__<server>__<tool>. For a deferred server, call tool_search to load them.Use when the user asks to add, change, remove, enable or disable an MCP server, or when an MCP tool is missing, needs sign-in, fails, or was blocked. ThinkRail runs pi in-process, so there is no `pi`
---name: managing-mcp-serversdescription: Use when the user asks to add, change, remove, enable or disable an MCP server, or when an MCP tool is…---# packages/server/skills/managing-mcp-servers/SKILL.md總覽
Use when the user asks to add, change, remove, enable or disable an MCP server, or when an MCP tool is missing, needs sign-in, fails, or was blocked. ThinkRail runs pi in-process, so there is no `pi` command to call.
常見問題
從發布者下載 packages/server/skills/managing-mcp-servers/SKILL.md,或複製路徑後開啟儲存庫。PlugMCP 只收錄這項技能,不代管檔案。
發布者將它存放在 https://github.com/JetBrains/thinkrail。
Claude、Cursor、Codex 和 Grok Build 可以讀取你從發布者儲存庫加入的 SKILL.md。在聊天中傳送技能的 GitHub 資料夾連結,Grok Bot 就會安裝它。