From 071f5c0de0ad61ca497eb95cebfc5a9637d312d7 Mon Sep 17 00:00:00 2001 From: Michael DiLeo Date: Fri, 13 Nov 2026 15:42:22 -0600 Subject: [PATCH] add mcp servers reference --- mcp-servers/SKILL.md | 57 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 57 insertions(+) create mode 100644 mcp-servers/SKILL.md diff --git a/mcp-servers/SKILL.md b/mcp-servers/SKILL.md new file mode 100644 index 0000000..5c01600 --- /dev/null +++ b/mcp-servers/SKILL.md @@ -0,0 +1,57 @@ +--- +name: mcp-servers +description: >- + Chiron MCP inventory (user + project) and unavailability protocol. Use when an + MCP call fails, a namespace is missing/error/loading/needsAuth, or the agent + needs sql-mcp-server, figma-bridge, refactor-mcp, azure, or dotnet-lsp. + Prefer alerting the user to reconnect/restart over working around a dead server. +--- + +# MCP servers (availability) + +Tool **usage** (which MCP for which job) lives in the always-applied rule +`chiron-agent-tools`. This skill covers **inventory + what to do when a server is down**. + +## Inventory + +### User-level (`~/.cursor/mcp.json`) — all projects + +| Config name | Runtime namespace (typical) | Role | +|-------------|------------------------------|------| +| `refactor-mcp` | `user-refactor-mcp` | Roslyn impact analysis + named refactors | +| `azure` | `azure` | Azure resources / docs helpers | +| `dotnet-lsp` | `user-dotnet-lsp` | Symbol search / complexity / deps | +| `figma-bridge` | `user-figma-bridge` | Live Figma Desktop selection + bridge tools | + +`figma-bridge` needs **Figma Desktop** running. Selecting nodes in Figma makes them easier for agents to find. + +### Project-level (`.cursor/mcp.json`) — this repo + +| Config name | Runtime namespace (typical) | Role | +|-------------|------------------------------|------| +| `sql-mcp-server` | `project-0-Chiron-sql-mcp-server` | Read-only live SQL via DAB (`http://localhost:5000/mcp`) | + +Requires a separate terminal: `./scripts/start-sql-mcp.ps1` (wraps `dab start --config dab-config.json`; the config is tracked, the server registration is local). Idle disconnects are common. + +## When a call fails + +1. Treat the server as **unavailable** (missing namespace, `error` / `loading` / `needsAuth`, connection refused, empty tool list after inspect). +2. **Do not** work around it (no substitute SQL clients, no guessing DB state, no skipping Figma reads by inventing layout, no hand-rolling refactors that the MCP was meant to do when the task depended on that MCP). +3. **Stop and tell the user** which server is down and the restart steps below. Wait for them to reconnect/restart before retrying that MCP. +4. Auth-only (`needsAuth`): ask the user to complete MCP auth / `mcp_auth` for that namespace; do not invent credentials. + +## Restart / reconnect + +| Server | What to ask the user | +|--------|----------------------| +| **sql-mcp-server** | From repo root, run `./scripts/start-sql-mcp.ps1` (or `dab start --config dab-config.json`) in a terminal; then reconnect/toggle **sql-mcp-server** in Cursor Settings → MCP if still unavailable. | +| **figma-bridge** | Open **Figma Desktop** (select relevant nodes if helpful); restart/reconnect **figma-bridge** in Cursor Settings → MCP. | +| **dotnet-lsp** | Rebuild Release, then reconnect: `dotnet build -c Release "%USERPROFILE%\source\mcp\RoslynMCP\RoslynMcpServer\RoslynMcpServer.csproj"` — binary expected at `...\bin\Release\net10.0\RoslynMcpServer.exe`. Toggle **dotnet-lsp** in Cursor Settings → MCP. | +| **refactor-mcp** | Reconnect/toggle **refactor-mcp** in Cursor Settings → MCP. | +| **azure** | Reconnect/toggle **azure**; if auth/subscription errors persist, use the server auth path / https://aka.ms/azmcp/troubleshooting. | + +## Message template + +Use a short alert, for example: + +> **MCP unavailable:** `{server}`. Please {restart steps}. I’ll retry that MCP after you confirm it’s back.