About
Get your Agents communicate with each other
README
Turn an AI agent into a callable MCP tool — and let two agents have a real conversation through it.
Praetorium.Bridge is a .NET 10 server that publishes AI-agent-backed tools over the Model Context Protocol. You describe each tool in JSON — its inputs, its agent, its prompt — and the bridge spawns the agent, keeps its session alive across calls, and surfaces the whole thing in a live dashboard.
What sets it apart from a one-shot LLM call wrapped behind an MCP endpoint:
- Real-time agent-to-agent dialogue. A signaling tool inside the agent's session can park the caller, hand control back to the agent for follow-up, and resume — so an agent calling the bridge can ask clarifying questions, request more context, and respond, all in one logical exchange instead of a stateless request/response.
- Sessions that survive across calls. A code-review tool, for instance, holds the same agent through every clarification round of the same review (
per-referencemode) — the model keeps its context, you don't pay to re-prime it, and the conversation actually progresses instead of restarting.
The goal is to make it boring to expose an agent as a tool: no glue code, no per-tool wiring, no redeploys.
Status:
0.1.0— prerelease. Interfaces, schema, and UI are still moving.
How it works
flowchart LR
Caller[MCP caller<br/>e.g. another agent] -->|HTTP| Bridge[Praetorium.Bridge]
Bridge --> Session[Pooled agent session]
Session <-->|signaling tools| Bridge
A caller invokes a tool over HTTP. The bridge routes it to the right agent session — spawning a new one or reusing a pooled one based on the tool's session mode — and the agent runs until it hits a signaling tool. Non-blocking signaling tools stream a payload back and let the agent keep going; blocking ones park the agent's turn until the caller replies on the same MCP call, enabling a true back-and-forth without losing session state.
Everything that varies between tools — the agent backend, the prompt, the parameter schema, the session lifetime, the signaling contract — lives in praetorium-bridge.json and hot-reloads.
Quick start
dotnet run --project src/Praetorium.Bridge.Web
dotnet run will print the bound URL (the launch profile defaults to http://localhost:5067); the dashboard is served at /, the MCP endpoint at /mcp. Override with ASPNETCORE_URLS or by editing Properties/launchSettings.json.
On first launch the bridge reads praetorium-bridge.json from:
| OS | Path |
|---|---|
| Windows | %APPDATA%\PraetoriumBridge\ |
| Linux / macOS | ~/.config/PraetoriumBridge/ |
A working starter config lives in examples/PraetoriumBridge/ — copy it into the path above, then point any MCP client (Claude Desktop, Copilot, another bridge) at the endpoint.
Prerequisites: .NET 10 SDK, and access to a GitHub Copilot–compatible endpoint for the bundled provider.
What's in the box
Praetorium.Bridge— the core library: session lifecycle, signaling, tool dispatch, hot-reloadPraetorium.Bridge.CopilotProvider— agent provider backed by the GitHub Copilot SDKPraetorium.Bridge.Web— Blazor dashboard with a configuration editor, prompt editor, live session view, and a Config Agent that edits the JSON for you
The core library is built around replaceable abstractions (IAgentProvider, IAgentSession, ISessionStore, ISignalRegistry, IConfigurationProvider, IBridgeHooks) so you can swap in a different LLM backend, persistent session store, or alternate config source.
The schema for praetorium-bridge.json is in praetorium-bridge.schema.json (drop it into your editor's JSON schema settings for autocomplete). The full design — session modes, signaling contracts, prompt templating, the lot — is in praetorium-bridge-design.md.
Roadmap
For 0.2+:
- More
IAgentProviderimplementations (Anthropic, OpenAI, Azure OpenAI, local models) - Dashboard authentication
Contributions, bug reports, and design feedback are welcome.
License
See LICENSE.txt.
Installing Praetorium.Bridge
This server has no published package — it is built from source. Open the repository and follow its README.
▸ github.com/FelixKlakow/Praetorium.BridgeFAQ
Is Praetorium.Bridge MCP free?
Yes, Praetorium.Bridge MCP is free — one-click install via Unyly at no cost.
Does Praetorium.Bridge need an API key?
No, Praetorium.Bridge runs without API keys or environment variables.
Is Praetorium.Bridge hosted or self-hosted?
Self-hosted: the server runs locally on your machine via the install command above.
How do I install Praetorium.Bridge in Claude Desktop, Claude Code or Cursor?
Open Praetorium.Bridge on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.
Related MCPs
GitHub
PRs, issues, code search, CI status
by GitHubFilesystem
Secure file operations with configurable access controls.
Memory
Knowledge graph-based persistent memory system.
Template MCP Server
A CLI tool to create a new Model Context Protocol server project with TypeScript support, dual transport options, and an extensible structure
by mcpdotdirectCompare Praetorium.Bridge with
Not sure what to pick?
Find your stack in 60 seconds
Author?
Embed badge for your README
Browse similar
All development MCPs
