drio
Open app

Anchor Mcp

Source

MCP Server for Anchor framework.

Catalog onlyCatalog onlySTDIO

Overview

Anchor MCP is a CLI server template designed for Anchor programs, enabling seamless integration between LLM applications and external data sources and tools through the Model Context Protocol (MCP).

To use Anchor MCP, configure the claude_desktop_config.json file in Claude Desktop to include the MCP server settings, and run the server with the appropriate CLI options.

  • Enables integration of LLM applications with external data sources. - Provides a standardized way to connect LLMs with necessary context. - Supports various CLI options for server management.
  1. Building AI-powered IDEs that require context-aware features.
  2. Enhancing chat interfaces with external data integration.
  3. Creating custom AI workflows that utilize LLMs effectively.

Add to your AI client

Use these steps to connect Anchor Mcp in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.

Cursor

Add this to your .cursor/mcp.json file in your project root, then restart Cursor.

.cursor/mcp.json

{
  "mcpServers": {
    "anchor-mcp-honey-guard": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-anchor-mcp-honey-guard"
      ]
    }
  }
}

Claude Desktop

Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.

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

{
  "mcpServers": {
    "anchor-mcp-honey-guard": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-anchor-mcp-honey-guard"
      ]
    }
  }
}

Claude Code

Add this to your project's .mcp.json file. Claude Code will detect it automatically.

.mcp.json (project root)

{
  "mcpServers": {
    "anchor-mcp-honey-guard": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-anchor-mcp-honey-guard"
      ]
    }
  }
}

VS Code (Copilot)

Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.

.vscode/mcp.json

{
  "servers": {
    "anchor-mcp-honey-guard": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-anchor-mcp-honey-guard"
      ]
    }
  }
}

Windsurf

Add this to your Windsurf MCP config file, then restart Windsurf.

~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "anchor-mcp-honey-guard": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-anchor-mcp-honey-guard"
      ]
    }
  }
}

Cline

Open Cline settings, navigate to MCP Servers, and add this server configuration.

Cline MCP Settings (via UI)

{
  "mcpServers": {
    "anchor-mcp-honey-guard": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-anchor-mcp-honey-guard"
      ]
    }
  }
}

FAQ

What is the Model Context Protocol (MCP)?

MCP is an open protocol that facilitates the integration of LLM applications with external tools and data sources.

How do I check the MCP logs?

Use the command `tail -n 20 -f ~/Library/Logs/Claude/mcp*.log` to view the logs.

Anchor Mcp — MCP Registry