Agent MCP
Add Pharos to any MCP-compatible agent, no code changes required.
What it is
The Pharos MCP Server bridges any MCP-compatible agent to the Pharos registry. Users add it once and their agent can search, install, connect, and call MCP tools. No agent modification needed. The server speaks the MCP protocol natively, so any client that supports MCP servers (Claude Desktop, LibreChat, Cursor, and more) works out of the box.
Key features
Zero Agent Changes
Works with any agent that supports MCP servers. No SDK integration needed.
5 MCP Tools
pharos_search, pharos_install, pharos_connect, pharos_list_tools, pharos_call_tool.
MCP Apps UI
Returns inline HTML for auth, install approval, and OAuth flows directly in chat.
Built on Agent SDK
Uses PharosClient for all operations. Same security layer, same approval engine.
CLI Delegation
Install operations delegate to the pharos CLI binary when available.
Proven End-to-End
Tested with GLM-5.2 through LibreChat. The agent called pharos_search and got 8 real results.
How it works
- 1
Add the Pharos MCP server to your agent's config
One JSON block in your agent's MCP config. The server starts automatically.
- 2
The agent discovers Pharos tools automatically
MCP negotiation exposes all 5 Pharos tools. The agent sees them on next launch.
- 3
User asks for a capability, the agent searches, installs, and connects
Natural language in, tools called out. The agent handles the full flow with MCP Apps UI for approvals.
Architecture
The MCP server imports PharosClient from the SDK for search and connect operations. Install operations delegate to the pharos CLI binary. This means the MCP server is a bridge: it uses the SDK for discovery and the CLI for local installation.