Codemenu MCP Server

MCP server for CodeMenu snippet manager.

Local serverstdioGo

What is the Codemenu MCP Server?

MCP server for CodeMenu snippet manager.

What the server does

This is a Model Context Protocol (MCP) server that provides integration with the CodeMenu local HTTP API, allowing AI assistants to access and search through code snippets stored in CodeMenu.

  • list_snippets — - List snippets without full code content (to reduce token usage). Returns id, title, description, language, abbreviation, tags, and group info. Supports filtering by query, language, tag, or group
  • get_snippet — - Retrieve the full details of a specific snippet by ID, including complete code content
  • list_tags — - List all available tags in CodeMenu
  • list_groups — - List all available groups in CodeMenu

Credentials and setup notes

  • CodeMenu must be running on your Mac (Learn more) - API must be enabled in CodeMenu settings (CodeMenu → Settings → API) - Node.js >= 18.0.0

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

How to install the Codemenu MCP Server

{
  "mcpServers": {
    "codemenu": {
      "command": "node",
      "args": [
        "/path/to/codemenu-mcp/index.js"
      ],
      "env": {
        "CODEMENU_API_URL": "http://127.0.0.1:1300/v1",
        "CODEMENU_API_KEY": "YOUR_CODEMENU_API_KEY"
      }
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.

Configuration

  • CodeMenu must be running on your Mac (Learn more) - API must be enabled in CodeMenu settings (CodeMenu → Settings → API) - Node.js >= 18.0.0
VariableDescriptionRequired
CODEMENU_API_URLDeclared in the maintainer’s client configuration.Check documentation
CODEMENU_API_KEYDeclared in the maintainer’s client configuration.Check documentation

Example prompts to try

  • “Use Codemenu MCP to Testing.”

Frequently asked questions

MCP server for CodeMenu snippet manager. Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.