Skip to main content

MeshAI MCP Server

The MeshAI MCP Server brings governance and observability to any MCP-compatible AI tool, even tools that don’t support custom API base URLs.

When to Use

Setup

No global install needed. Each tool config uses npx to download @meshailabs/mcp-server from the npm registry and run the prebuilt package.

Environment Variables

Configuration by Tool

Claude Desktop

Edit ~/Library/Application Support/Claude/claude_desktop_config.json (Mac) or %APPDATA%\Claude\claude_desktop_config.json (Windows):

Cursor

Add to .cursor/mcp.json or Settings > MCP Servers:

Windsurf

Edit ~/.codeium/windsurf/mcp_config.json:

VS Code (GitHub Copilot)

Add to .vscode/mcp.json:

JetBrains IDEs

Settings > Tools > AI Assistant > Model Context Protocol (MCP) > Add Server:
  • Command: npx
  • Args: -y @meshailabs/mcp-server
  • Environment: MESHAI_API_KEY=msh_your_key_here, MESHAI_AGENT_NAME=jetbrains
Works with IntelliJ IDEA, PyCharm, WebStorm, GoLand, Rider, and all other JetBrains IDEs.

Zed

Add to ~/.config/zed/settings.json:

Warp

Settings > Agent > MCP > Add Server:
  • Command: npx
  • Args: -y @meshailabs/mcp-server
  • Environment: MESHAI_API_KEY=msh_your_key_here, MESHAI_AGENT_NAME=warp

AWS Kiro

Add to .kiro/mcp.json:

Cline / Roo Code / Kilo Code

Settings > MCP Servers > Add Server:
  • Command: npx
  • Args: -y @meshailabs/mcp-server
  • Environment: MESHAI_API_KEY=msh_your_key_here, MESHAI_AGENT_NAME=cline

Continue.dev

Add to ~/.continue/config.yaml:

Amazon Q Developer

Add to ~/.aws/amazonq/mcp.json:

Gemini CLI

Add to ~/.gemini/settings.json:

Sourcegraph Cody / Tabnine / Goose

These tools follow similar MCP configuration patterns. Set:
  • Command: npx
  • Args: -y @meshailabs/mcp-server
  • Environment: MESHAI_API_KEY=msh_your_key_here, MESHAI_AGENT_NAME=<tool-name>
Refer to each tool’s MCP documentation for the exact config file location.

Available Tools

Once configured, the MCP server exposes 8 tools to the AI assistant:

Available Resources

How It Works

  1. Your AI tool (e.g., Claude Desktop) starts the MeshAI MCP server via npx
  2. npx downloads the prebuilt package from the npm registry and runs it as a subprocess
  3. The server connects to the MeshAI API using your API key
  4. The AI tool can call MeshAI governance tools alongside its normal capabilities
  5. The MeshAI dashboard shows this tool alongside all other agents
  6. Governance policies, audit trails, and compliance features apply universally

Supported Tools

“MCP Server Fills Gap?”: Yes means the tool has no custom base URL support, so the MCP server is the only way to get MeshAI governance. Optional means the tool already supports the proxy; the MCP server adds governance tools but isn’t required.