MCP Client
RadarOS includes a built-in MCP client that lets your agents connect to any Model Context Protocol server and use its tools natively — no glue code required.MCP is an open protocol that standardizes how LLM applications integrate with external tools, resources, and prompts. RadarOS acts as an MCP client, consuming tools from external MCP servers.
Installation
The MCP SDK is an optional peer dependency:Quick Start
Transports
stdio
Spawns the MCP server as a child process and communicates via stdin/stdout. Best for local MCP servers.The command to spawn (e.g.
"npx", "node", "python").Arguments for the command.
Environment variables passed to the spawned process.
HTTP (Streamable HTTP)
Connects to a remote MCP server over HTTP. Falls back to SSE transport if Streamable HTTP is not available.The MCP server URL.
Custom HTTP headers (e.g. for authentication).
Mixing MCP and Local Tools
MCP tools are returned as standardToolDef[] and can be combined with local tools:
Multiple MCP Servers
Connect to multiple servers simultaneously. Tool names are namespaced as{serverName}__{toolName} to avoid collisions:
API Reference
MCPToolProvider
A unique name for this MCP server connection. Used to namespace tool names.
The transport protocol to use.
| Method | Description |
|---|---|
connect() | Connect to the MCP server and discover tools. |
getTools() | Returns ToolDef[] — all discovered tools. |
refresh() | Re-discover tools from the server. |
close() | Disconnect from the server and clean up. |
Popular MCP Servers
| Server | Install |
|---|---|
| GitHub | npx -y @modelcontextprotocol/server-github |
| Filesystem | npx -y @modelcontextprotocol/server-filesystem |
| PostgreSQL | npx -y @modelcontextprotocol/server-postgres |
| Brave Search | npx -y @modelcontextprotocol/server-brave-search |
| Slack | npx -y @modelcontextprotocol/server-slack |