Labsco
abrinsmead logo

Mindpilot MCP

โ˜… 89

from abrinsmead

Visualize legacy code and inspect complex flows to understand your agent's operations.

๐Ÿ”ฅ๐Ÿ”ฅ๐Ÿ”ฅโœ“ VerifiedFreeAdvanced setup

Mindpilot MCP

See through your agent's eyes. Visualize legacy code, inspect complex flows, understand everything.

[!TIP] Mindpilot is now available as a lightweight agent skillโ€”no local MCP server needed. Ask your agent to diagram something and it builds a self-contained, interactive Mermaid viewer you can open in your browser or publish as a Claude artifact.

Install with: npx skills add abrinsmead/skills/mermaid-viewer

Screenshot

Why Mindpilot?

  • Visualize Anything: Use your coding agent to generate on-demand architecture, code, and process diagrams to view your code from different perspectives.
  • Vibe Checks: AI-generated code can accumulate unused and redundant constructs. Use visualizations to spot areas that need cleanup.
  • Local Processing: Diagrams are never sent to the cloud. Everything stays between you, your agent, and your agent's LLM provider(s).
  • Export & Share: Export any diagram as a vector image.

Multi-Client Support

Mindpilot intelligently handles multiple AI assistants running simultaneously. When you have multiple Claude Desktop windows or IDE instances open:

  • The first mcp client to use Mindpilot starts a shared web server
  • Additional assistants automatically connect to the existing server
  • All assistants share the same diagram history and web interface
  • The server will automatically shuts down a minute after the last MCP clinet disconnects

This means you can work with multiple MCP hosts at once without port conflicts, and they'll all contribute to the same collection of diagrams.

Using the MCP server

After configuring the MCP in your coding agent you can make requests like "create a diagram about x" and it should use the MCP server to render Mermaid diagrams for you in a browser connected to the MCP server.

You can optionally update your agent's rules file to give specific instructions about when to use mindpilot-mcp.

Example requests

  • "Show me the state machine for WebSocket connection logic"
  • "Create a C4 context diagram of this project's architecture."
  • "Show me the OAuth flow as a sequence diagram"

How it works

Frontier LLMs are well trained to generate valid Mermaid syntax. The MCP is designed to accept Mermaid syntax and render diagrams in a web app running on http://localhost:4000 (default port).