Agent Cockpit — Claude Code MCP server: what it does, how to install
Agent Cockpit — an MCP server for Claude Code and other agents that tracks evidence chains in research projects. It runs in your repository to verify data and code integrity after changes.
AGPL-3.0 ★ 520 updated 2026-11-06
claude mcp add agent-cockpit -- npx -y @tingyen/agent-cockpitWhat Agent Cockpit does
Agent Cockpit functions as a local whiteboard and MCP server that links agent research results to the code. It builds a dependency graph and calculates hashes for every experiment, file, and function. If the code changes, the server flags dependent claims as stale and blocks commits until they are verified.
It requires Node.js 22.13+, git, and python3 installed. The server binds to 127.0.0.1 and performs deterministic checks without LLM calls.
What it helps with
- Track data integrity when code changes
- Prevent silent errors in research results
- Visualize evidence chains for agents
- Block commits containing unverified hypotheses
Example prompts for the agent
- Start the server for this repository
- Run an experiment using
cockpit run - Check the status of the evidence chain
How to install Agent Cockpit
Platform CLI
claude mcp add agent-cockpit -- npx -y @tingyen/agent-cockpitPlatform CLI
codex mcp add agent-cockpit -- npx -y @tingyen/agent-cockpitConfig file
{
"mcpServers": {
"agent-cockpit": {
"command": "npx",
"args": [
"-y",
"@tingyen/agent-cockpit"
]
}
}
}Config file
{
"servers": {
"agent-cockpit": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@tingyen/agent-cockpit"
]
}
}
}Platform CLI
gemini mcp add agent-cockpit npx -y @tingyen/agent-cockpitStep by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more
Questions about Agent Cockpit
How do I install Agent Cockpit in Claude Code?
Run claude mcp add agent-cockpit -- npx -y @tingyen/agent-cockpit.
What does Agent Cockpit do?
It tracks dependencies between code and research results, flagging stale data whenever files change.
What is required to run Agent Cockpit?
You need Node.js 22.13+, git, and python3 installed.