managing-mcp-servers
Qué hace
Esta skill muestra a la IA cómo configurar servidores MCP, que conectan las herramientas de IA con servicios externos, dentro de la app ThinkRail. Es para personas que quieren conectar herramientas como documentación o navegadores a su asistente.
Cuándo usarla
- ✓Cuando quieres añadir un servicio externo, como una herramienta de documentación o de navegador, a tu asistente.
- ✓Cuando una herramienta de un servidor MCP falta, necesita inicio de sesión o falla.
- ✓Cuando quieres activar o desactivar un servidor MCP, o eliminarlo.
Link de la skill
https://github.com/JetBrains/thinkrail/blob/main/packages/server/skills/managing-mcp-servers/SKILL.mdCópialo y pégalo en tu IA (Claude, ChatGPT o Cursor) pidiéndole que siga las instrucciones.
Cómo usar
La forma más fácil: copia el mensaje y pégalo en tu IA. Ella lee la skill y sigue las instrucciones.
Mensaje listo para pegar
Para Claude Code, Codex o Cursor: ejecútalo en la carpeta del proyecto y la skill queda instalada.
Descarga el SKILL.md y ponlo en la carpeta de skills de tu agente.
Ejemplo de qué pedirle a la IA
“Conecta mi asistente al servidor de documentación de nuestra empresa y dime si necesito iniciar sesión.”
5 skills nuevas por semana. 1 minuto de lectura.
Cómo funciona
La IA edita el archivo de configuración del servidor, te indica la página de ajustes de ThinkRail para las aprobaciones y el inicio de sesión, y nunca escribe secretos en el archivo.
Contenido técnico (SKILL.md original)
Texto original del autor, en inglés, directo de 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.jsonin 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 withtool_searchfirst),direct(a few always-useful tools), orhidden.codemodeis treated asdeferred.- Prefer the user-level file for personal servers; only put a server in
.pi/mcp.jsonwhen 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\"" }
}
}
}
/readonlyis GitHub's documented read-only mode (same as anX-MCP-Readonly: trueheader). Usehttps://api.githubcopilot.com/mcp/only when the user asks for tools that change data.- The header command runs each time a chat connects. While
ghis logged out it fails instead of sending an empty token; the user runsgh auth loginin 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 adeferredserver, calltool_searchto 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.
Preguntas frecuentes
¿Dónde guardo los ajustes de mis servidores MCP?
En un archivo de nivel de usuario para todos los proyectos, o en un archivo de proyecto que apruebas en Ajustes.
¿Se guardará mi contraseña en el archivo?
No. Los secretos se leen del entorno o de un paso de inicio de sesión, nunca se escriben en el archivo.
¿Necesito aprobar un servidor antes de que se ejecute?
En el caso de un archivo de proyecto, sí. El servidor no se ejecuta hasta que lo apruebes en Ajustes, y cualquier cambio posterior requiere otra aprobación.
Detalles
Descripción original del autor
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
Popularidad
- Estrellas en GitHub
- 7,1 mil
- Posición en el ranking
- #13497
- Licencia
- Apache-2.0
- Actualizada
- 2/11/2026
Comentarios
- …
Más skills de este repositorio
asking-user-questions
7,1 milEnseña a tu agente a hacerte preguntas claras por rondas, con buenas opciones de respuesta, hasta que los puntos abiertos queden resueltos.
brainstorming
7,1 milAyuda a tu agente a hablar contigo sobre una función, un cambio de comportamiento o una corrección de error antes de construirlo, y a registrar el diseño acordado.
choosing-a-workflow
7,1 milAyuda a tu agente a elegir el flujo de trabajo de ThinkRail adecuado para un proyecto nuevo, una pull request o cualquier cambio en lo que hace el producto.
importing-a-codebase
7,1 milEnseña a tu agente a leer una base de código existente y redactar sus primeras especificaciones del proyecto, preguntándote solo donde el código no es claro.
Skills parecidas
mcporter
394 milAyuda a tu agente a listar, llamar e inspeccionar servidores MCP y sus herramientas por HTTP o stdio, y gestionar sus ajustes de inicio de sesión.
fastmcp
260 milTe ayuda a crear, probar e implementar un servidor MCP en Python que da a los asistentes de IA acceso a tu API, base de datos o archivos como herramientas.
mcp-oauth-remote-gateway
260 milTe guía para iniciar sesión con OAuth en un servidor MCP remoto cuando Hermes se ejecuta en un servidor, donde el inicio de sesión normal en el navegador no llega.