Skip to main content
Model Context Protocol (MCP) is an open standard that lets AI agents discover and call external tools through a lightweight JSON-RPC interface. MIRA implements the MCP client side — any MCP-compatible server can expose tools that both reasoning engines can invoke automatically.

Why MCP matters

Without MCP, every new tool requires a custom integration. With MCP, any tool that speaks the protocol is immediately available to MIRA:
  • No custom code — add a server URL or command, and the tools appear automatically
  • Namespaced — each server’s tools are prefixed to avoid collisions
  • Safe — MIRA prompts you before executing any tool the first time

How it works

  1. MIRA connects to the server and calls list_tools to discover available tools.
  2. Tool definitions (name, description, JSON schema for inputs) are injected into the engine’s context.
  3. When the engine decides to use a tool it calls call_tool with validated arguments.
  4. The server executes the tool and returns the result as text or structured data.

Transport types

MIRA supports two MCP transports:

MCP tool namespacing

Tools are prefixed with the server name to prevent collisions:
The engine sees the full namespaced name and uses it when calling the tool.

Next steps

Add a stdio server

Connect a local CLI-based MCP server

Add an SSE server

Connect a remote HTTP-based MCP server
Edit this page — Open a pull request