Skip to main content

MCP server

AgentDesk runs a built-in Model Context Protocol server that exposes a project's shared memory to any AI client. This is how Claude Code, Codex, Gemini and web clients read and write the same project brain.

Transports

TransportForHow
Stdio (local)Claude Code, Codex CLI, Gemini CLIpython {AgentDesk}/backend/agents/mcp/server.py --project {name}
HTTP / SSE (remote)claude.ai, ChatGPT, web clientsGET /mcp/sse?project={name} and POST /mcp/messages

AgentDesk registers MCP servers per project in a .mcp.json file, so each project exposes its own memory.

Tools

The server exposes tools across memory, history, work items, code and git. Read-only tools fetch context; mutating tools (marked ) change state.

Memory & context

ToolPurpose
search_memorySemantic search across work items + events
record_eventWrite a structured fact into memory
bootstrap_sessionLoad conventions, policies and components for a session
get_session_tags / set_session_tagsRead / update the current session's phase, feature, bug ref

History

ToolPurpose
get_recent_historyLast N prompt/response pairs
get_commitsCommits tagged by phase / feature / bug
get_work_item_historyLinked prompts + commits for a work item
get_file_historySymbol-level changes for a file

Work items

ToolPurpose
create_entityCreate a draft work item
list_work_itemsFilter by type / status / due date
get_item_by_numberResolve BU0001 / FE0002 to full detail
update_work_itemChange status or score
run_work_item_pipelineAI-summarise an approved item

Code & git

ToolPurpose
get_code_symbolsCyclomatic complexity + hotspot scores
get_db_schemaFull database schema dump
commit_pushStage, commit and push from any IDE

Skills

ToolPurpose
get_skillSkill definition + project context
run_skillExecute a skill (same flow as the web UI)

Example: Claude Code

Point Claude Code at the project's stdio server and it can search memory, read history and commit — all sharing the same brain as your other tools. A common first call is bootstrap_session (to load project conventions) followed by search_memory for whatever you're working on.

Not the same as AgentData's MCP

This server exposes a codebase's project memory. AgentData's MCP server exposes a database's semantic model. Different tools, same protocol.

Next: Shared prompts →