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:
~/.anu/mcp.json: your servers for every project.--no-globalskips it..mcp.jsonin the project, the file Claude Code uses..anu/mcp.jsonin the project.- 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.
{
"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 optionalargsandenv. parmanu starts the server in the project folder. - HTTP servers use
url, with optionalheaders. They use the streamable HTTP transport. Aurlalone also means HTTP. parmanu skips SSE-only servers ("type": "sse") and warns you. - Variables:
${VAR}and${VAR:-default}are filled in from the environment incommand,args,env,urlandheaders. 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 asmcp__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. /mcplists 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
| Variable | Default | What |
|---|---|---|
ANU_MCP_TIMEOUT | 30000 | ms to connect to a server and list its tools, prompts and resources |
ANU_MCP_TOOL_TIMEOUT | 600000 | ms 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.