managing-mcp-servers SKILL.md skillA

managing-mcp-servers from jetbrains/thinkrail is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add jetbrains/thinkrail/managing-mcp-servers@git:20261013.e5eeebf

Pins git:20261013.e5eeebf in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
jetbrains/thinkrail
Path
packages/server/skills/managing-mcp-servers/SKILL.md
Versions recorded
1
Latest version
git:20261013.e5eeebf, committed Oct 13, 2026
Size
3,379 bytes
Repository stars
7,127
License
Apache-2.0

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.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# Managing MCP servers in ThinkRail

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.

## Where servers are configured

- **User level** — pi's agent directory, usually `~/.pi/agent/mcp.json`: available in every project.
- **This repository** — `.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:

```json
{
  "mcpServers": {
    "docs": { "url": "https://example.com/mcp" },
    "browser": { "command": "npx", "args": ["-y", "@playwright/mcp@0.0.83"] }
  }
}
```

- Pin package versions in `args`; never `@latest`.
- Never write a secret into either file. Reference it as `${ENV_VAR}` (from the host's environment) or
  `!command` (the command's output, for example `!gh auth token`), or let the user sign in.
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add jetbrains/thinkrail/managing-mcp-servers@sha256:a90b325c2e7adb99

The line at the top of this page pins the label git:20261013.e5eeebf, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_ejmbtvykc664u644.svg)](https://markdownregistry.com/a/art_ejmbtvykc664u644)

2 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 1 version of this file, committed on Oct 13, 2026.

versioncommittedcommitsizeaudit
git:20261013.e5eeebf latest2026-10-13 e5eeebf 3,379 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (3379 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

jetbrains/thinkrail · 7,127 stars · license Apache-2.0 · pushed 2026-11-02 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_ejmbtvykc664u644
GET https://markdownregistry.com/api/v1/resolve?ref=jetbrains/thinkrail/managing-mcp-servers
GET https://markdownregistry.com/api/v1/blob/a90b325c2e7adb996c39201f0034e53ca691a40b711d06aee88fc9b33bbdd70c

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from jetbrains/thinkrail

AGENTS.md AGENTS.md file
jetbrains/thinkrail · AGENTS.md
git:20261022.9d88588 · audit A · 7,127 stars
asking-user-questions SKILL.md skill
jetbrains/thinkrail · packages/pi-thinkrail-workflow/skills/asking-user-questions/SKILL.md · Use when composing an ask_user_question round inside a workflow, or when a workflow skill names it at a question step…
git:20261027.565bf50 · audit A · 7,127 stars
brainstorming SKILL.md skill
jetbrains/thinkrail · packages/pi-thinkrail-workflow/skills/brainstorming/SKILL.md · Use before implementing a feature, a change in behavior, or a bug fix — however small. Not for questions, checks, or…
git:20261013.5ab283a · audit A · 7,127 stars
choosing-a-workflow SKILL.md skill
jetbrains/thinkrail · packages/pi-thinkrail-workflow/skills/choosing-a-workflow/SKILL.md · Use at the start of new project onboarding, PR lifecycle work including PR checks, or any change to what the product…
git:20261027.7c9150c · audit A · 7,127 stars
importing-a-codebase SKILL.md skill
jetbrains/thinkrail · packages/pi-thinkrail-workflow/skills/importing-a-codebase/SKILL.md · Use when asked to create the initial spec graph for an existing codebase that has source code but no specs. Normally…
git:20261013.ba8d9d8 · audit A · 7,127 stars
setting-up-a-project SKILL.md skill
jetbrains/thinkrail · packages/pi-thinkrail-workflow/skills/setting-up-a-project/SKILL.md · Use when asked to set up, onboard, initialize, or spec a project with no spec graph, or when invoked by the app's…
git:20261013.ba8d9d8 · audit A · 7,127 stars
shipping-a-pr SKILL.md skill
jetbrains/thinkrail · packages/pi-thinkrail-workflow/skills/shipping-a-pr/SKILL.md · Use when finished work needs to ship as a pull request, or when creating, syncing, updating metadata, checking status…
git:20260918.5b08805 · audit A · 7,127 stars
starting-a-new-project SKILL.md skill
jetbrains/thinkrail · packages/pi-thinkrail-workflow/skills/starting-a-new-project/SKILL.md · Use when the workspace is empty, has no code, and the user brings a raw project idea. Normally reached via…
git:20261013.ba8d9d8 · audit A · 7,127 stars
writing-specs SKILL.md skill
jetbrains/thinkrail · packages/pi-thinkrail-workflow/skills/writing-specs/SKILL.md · Use when a workflow step drafts or revises a spec artifact — a goal-and-requirements, an architecture, or a module SPEC…
git:20260929.fdbbc1d · audit A · 7,127 stars
writing-workflow-skills SKILL.md skill
jetbrains/thinkrail · packages/pi-thinkrail-workflow/skills/writing-workflow-skills/SKILL.md · Use when adding a new workflow skill to pi-thinkrail-workflow, changing an existing workflow skill's role, trigger…
git:20260716.444e9e4 · audit A · 7,127 stars
todos SKILL.md skill
jetbrains/thinkrail · packages/pi-todos/skills/todos/SKILL.md · Use when the user asks for a shared plan, a task needs at least three substantive execution steps, or a loose TODO is…
git:20261014.9a867af · audit A · 7,127 stars
spec-graph SKILL.md skill
jetbrains/thinkrail · packages/spec-graph/skills/spec-graph/SKILL.md · Use when locating, reading, creating, updating, or validating project specs, or when work is governed by or may alter a…
git:20260915.0a41d5d · audit A · 7,127 stars

Every file in jetbrains/thinkrail

Browse by kind, by grade A, or by owner.