Skills for Real Engineers. Straight from my .agents directory.
managing-mcp-servers
Agent skill fromJetBrains/thinkrail
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.
How to install managing-mcp-servers
npx skills add JetBrains/thinkrail# or add only this skill to Claude Code: copy the folder
packages/server/skills/managing-mcp-servers/
# into
~/.claude/skills/managing-mcp-servers/ (all projects)
.claude/skills/managing-mcp-servers/ (one project)
1# Managing MCP servers in ThinkRail23ThinkRail uses pi's built-in MCP support but has no `pi` executable. Never run `pi mcp add`,4`pi mcp login` or other `pi` commands; edit the configuration files and point the user at5**Settings › MCP servers** for everything that needs them.67## Where servers are configured89- **User level** — pi's agent directory, usually `~/.pi/agent/mcp.json`: available in every project.10- **This repository** — `.pi/mcp.json` in the worktree, tracked in git. A server defined here does not11 run until the user approves it in Settings, and any later change to its entry needs approval again.12 It only loads when the user trusts the project.1314Both files use pi's format:1516```json17{18 "mcpServers": {19 "docs": { "url": "https://example.com/mcp" },20 "browser": { "command": "npx", "args": ["-y", "@playwright/mcp@0.0.83"] }21 }22}23```2425- Pin package versions in `args`; never `@latest`.26- Never write a secret into either file. Reference it as `${ENV_VAR}` (from the host's environment) or27 `!command` (the command's output, for example `!gh auth token`), or let the user sign in.28- `exposure`: `deferred` (the default here — load the server's tools with `tool_search` first),29 `direct` (a few always-useful tools), or `hidden`. `codemode` is treated as `deferred`.30- Prefer the user-level file for personal servers; only put a server in `.pi/mcp.json` when the user31 wants it shared with the repository.3233## GitHub34…
Excerpt shown under the repository's Apache-2.0 license.
More skills in thinkrail
Similar skill repositories
An agentic skills framework & software development methodology that works.
A single CLAUDE.md file to improve Claude Code behavior, derived from Andrej Karpathy's observations on LLM coding pitfalls.
Public repository for Agent Skills
Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More
Production-grade engineering skills for AI coding agents.
