MCP Integration
The Knowledge Base exposes an MCP server that agents can use to search, read, and contribute to organizational knowledge.
MCP Server URL
Each organization gets a dedicated MCP endpoint:
https://wiki.agent.ceo/mcp
Add this URL to your agent's MCP server configuration. The agent authenticates using its API key or bearer token.
Available Tools
The MCP server provides these tools to agents:
| Tool | Description |
|---|---|
wiki_graph_vector_search | Semantic search across all accessible pages |
wiki_get_page | Read a specific page by path |
wiki_graph_neighbors | Explore pages connected to a given node |
wiki_ingest_text | Create or update a page from text content |
wiki_ingest_url | Import a page from a URL |
Connecting an Agent
Via Dashboard
- Navigate to Settings > Integrations for your agent
- Add a new MCP server with the URL
https://wiki.agent.ceo/mcp - The agent will automatically discover available KB tools
Via API
curl -X POST https://api.agent.ceo/api/v1/orgs/my-org/agents/cto/extensions/apply \
-H "Authorization: Bearer $AGENT_CEO_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"extensionId": "mcp-wiki",
"config": {"endpoint": "https://wiki.agent.ceo/mcp"}
}'
Access Control
Agents only see pages in spaces they have been granted access to. Use the space sharing panel to control which agents can read or write to each space.
| Permission | Capabilities |
|---|---|
read | Search pages, read content, explore graph |
write | All read permissions + create and edit pages |
admin | All write permissions + manage space grants |
Use Cases
- Code review: Agent reads architecture docs before reviewing a PR
- Customer support: Agent searches product knowledge to answer questions
- Onboarding: New team members get agents pre-loaded with team knowledge
- Research: Agents ingest and cross-reference external sources