Each MCP server is defined as a named section under [mcp] in config.toml.
[mcp]
[mcp.<server-name>] command = "<executable>" args = ["arg1", "arg2", ...]
command
—
args
[]
[mcp.*]
tools/list
[mcp.filesystem] command = "npx" args = ["-y", "@anthropic/mcp-filesystem", "/home/user/projects"]
[mcp.brave-search] command = "npx" args = ["-y", "@anthropic/mcp-brave-search"]
[mcp.my-server] command = "python3" args = ["/path/to/my_mcp_server.py"]