Zum Inhalt springen
Skillpedia
Konnektoren (MCP)7.1k · #13497

managing-mcp-servers

Was er macht

Dieser Skill zeigt der KI, wie MCP-Server eingerichtet werden, die KI-Werkzeuge mit externen Diensten verbinden. Er richtet sich an Menschen, die Werkzeuge wie Dokumentation oder einen Browser an ihren Assistenten anbinden wollen.

Wann du ihn nutzt

  • ✓Wenn du einen externen Dienst wie eine Dokumentations- oder Browser-Funktion mit deinem Assistenten verbinden willst.
  • ✓Wenn ein Werkzeug eines MCP-Servers fehlt, eine Anmeldung braucht oder fehlschlägt.
  • ✓Wenn du einen MCP-Server ein- oder ausschalten oder entfernen willst.

Link zum Skill

https://github.com/JetBrains/thinkrail/blob/main/packages/server/skills/managing-mcp-servers/SKILL.md

Kopiere ihn und füge ihn in deine KI ein (Claude, ChatGPT oder Cursor) mit der Bitte, den Anweisungen zu folgen.

So nutzt du ihn

Am einfachsten: Kopiere die Nachricht und füge sie in deine KI ein. Sie liest den Skill und folgt den Anweisungen.

Fertige Nachricht zum Einfügen

Nutze diesen Skill, um mir zu helfen: https://github.com/JetBrains/thinkrail/blob/main/packages/server/skills/managing-mcp-servers/SKILL.md Lies die SKILL.md unter diesem Link und folge ihren Anweisungen für meine Aufgabe.
Soll deine KI Skills wie diesen selbst finden?Installiere den kostenlosen Skillpedia-MCP: eine Zeile, und sie durchsucht vor jeder Aufgabe 15.000+ Skills.In 1 Minute installieren →

Beispielanfrage an deine KI

“Verbinde meinen Assistenten mit unserem Firmen-Doku-Server und sag mir, ob ich mich anmelden muss.”

5 neue Skills pro Woche. 1 Minute Lesezeit.

So funktioniert es

Die KI bearbeitet die Konfigurationsdatei des Servers, verweist dich für Freigaben und Anmeldung auf die ThinkRail-Einstellungen und schreibt niemals Geheimnisse in die Datei.

Technischer Inhalt (originale SKILL.md)

Originaltext des Autors, auf Englisch, direkt von GitHub.

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:

{
  "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.
  • 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.
  • Prefer the user-level file for personal servers; only put a server in .pi/mcp.json when the user wants it shared with the repository.

GitHub

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.
  • The header command runs each time a chat connects. While gh is logged out it fails instead of sending an empty token; the user runs gh auth login in a terminal.
  • Unverified: whether GitHub accepts the GitHub CLI token's scopes for every toolset. If the server rejects it, ask the user for a token in an environment variable: "Authorization": "Bearer ${GITHUB_TOKEN}".

After editing

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.

Using MCP tools

  • Tools are named mcp__<server>__<tool>. For a deferred server, call tool_search to load them.
  • Subagents cannot call MCP tools: call them yourself and put what the subagent needs in its task.
  • ThinkRail asks the user before a call that may change data. A denied or cancelled call is final for that call; do not retry it without asking the user first.
Häufige Fragen

Wo bewahre ich meine MCP-Server-Einstellungen auf?

In einer Benutzerdatei für alle Projekte oder in einer Projektdatei, die du in den Einstellungen freigibst.

Wird mein Passwort in der Datei gespeichert?

Nein. Geheimnisse werden aus der Umgebung oder über einen Anmeldeschritt gelesen, nie in die Datei geschrieben.

Muss ich einen Server vor dem Start freigeben?

Bei einer Projektdatei ja. Der Server läuft erst, wenn du ihn in den Einstellungen freigegeben hast, und jede spätere Änderung braucht erneut eine Freigabe.

Details

Originalbeschreibung des Autors

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.

repo: JetBrains/thinkrail

Beliebtheit

GitHub-Sterne
7.1k
Platz im Ranking
#13497
Lizenz
Apache-2.0
Aktualisiert
2.11.2026

Ist dieser Skill nützlich?

0

Anmelden um abzustimmen.

Kommentare

  • …

Weitere Skills aus diesem Repository

Ähnliche Skills