| name | mmp |
| description | Use this skill when you need to communicate with MCP servers through the CLI interface. |
MMP
mmp is a CLI tool for talking to multiple MCP servers from one config file.
Use When
- You need one CLI entrypoint for several MCP servers.
- You want persistent session handles for stateful MCP calls.
- You need to call MCP servers over
http, sse, or stdio.
Config
Create a TOML file like:
[servers.demo-http]
transport = "http"
url = "http://127.0.0.1:8080/mcp"
[servers.demo-sse]
transport = "sse"
url = "http://127.0.0.1:8081/sse"
[servers.demo-stdio]
transport = "stdio"
command = ["python", "-m", "some_server"]
stdio servers must define command. http and sse servers must define url.
Workflow
- Load a config:
mmp load gateway.toml
- List servers:
mmp ls
- Create a session and call a method:
mmp call demo-http tools/list
- Reuse the returned session id:
mmp call --id <session-id> resources/list
- Inspect or remove sessions:
mmp ps
mmp rm --id <session-id>
mmp rm --all
Notes
mmp auto-initializes MCP sessions before non-initialize calls.
- The stdio transport uses
Content-Length framing, not newline-delimited JSON.
- Stdio servers must keep protocol output on
stdout and logs on stderr.