parmanu 0.4.14

MCP servers

parmanu's chat connects to MCP (Model Context Protocol) servers. It gives their tools to the model, runs their prompts as slash commands, and reads their resources into your messages.

Config files

parmanu reads the same mcpServers format as Claude Code. Files are read in this order, and a later file wins when two use the same server name:

  1. ~/.anu/mcp.json: your servers for every project. --no-global skips it.
  2. .mcp.json in the project, the file Claude Code uses.
  3. .anu/mcp.json in the project.
  4. Each --mcp-config <file>, in the order given.

parmanu starts project servers (2 and 3) only in a trusted project (anu trust). In an untrusted project it shows a notice instead. --strict-mcp-config reads only the --mcp-config files.

json
{
  "mcpServers": {
    "files": { "command": "npx", "args": ["-y", "@modelcontextprotocol/server-filesystem", "."] },
    "github": {
      "type": "http",
      "url": "https://api.githubcopilot.com/mcp/",
      "headers": { "Authorization": "Bearer ${GITHUB_TOKEN}" }
    }
  }
}
  • stdio servers use command, with optional args and env. parmanu starts the server in the project folder.
  • HTTP servers use url, with optional headers. They use the streamable HTTP transport. A url alone also means HTTP. parmanu skips SSE-only servers ("type": "sse") and warns you.
  • Variables: ${VAR} and ${VAR:-default} are filled in from the environment in command, args, env, url and headers. Keep keys in the environment, not in the file.

In the chat

  • Tools: each tool is named mcp__<server>__<tool>. A tool whose server marks it read-only (readOnlyHint) runs under the same rules as parmanu's read tools; every other MCP tool asks first under the default permission mode. Permission rules can name them, such as mcp__github__*.
  • Prompts: each prompt is a command, /mcp__<server>__<prompt> [args]. Arguments fill in order, and the last one takes the rest of the line. The prompt's text is sent as your message.
  • Resources: type @<server>:<uri> in a message, such as @docs:note://hello. The @ menu lists every resource. parmanu reads the resource and adds its text below your message.
  • /mcp lists the servers and whether each one connected. /mcp tools [server] lists their tools. /mcp reconnect <server> restarts a server that failed or stopped.

The servers connect in the background when the chat starts. Your first message waits until they finish, so their tools are there. A server that fails to connect shows a notice, and the chat goes on without it.

Timeouts

VariableDefaultWhat
ANU_MCP_TIMEOUT30000ms to connect to a server and list its tools, prompts and resources
ANU_MCP_TOOL_TIMEOUT600000ms one tool call may take

MCP servers are chat-only. anu --agent, -p and the evals do not start them.

This page is built from docs/mcp.md in parmanu 0.4.14.