Connect MCP servers
xllama is an MCP client. It launches stdio servers, discovers their tools and exposes them to the model with collision-safe names.
How it works
- Launch the configured command as a subprocess.
- Speak JSON-RPC 2.0 over stdin/stdout: initialize → tools/list → tools/call.
- Expose each tool as <server>__<tool>.
- Require consent for every MCP tool unless /allow is active.
Commands
/mcp
/mcp add <name> <command> [args…]
/mcp remove <name>
/mcp reload/mcp add fetch npx -y @modelcontextprotocol/server-fetch
/mcp add fs npx -y @modelcontextprotocol/server-filesystem ~/devCurrent limits
- stdio transport only; HTTP and SSE transports are not supported.
- Tool calls time out after 120 seconds.
- Initialization and tool discovery time out after 20 seconds.