Observed since 20 Oct, 21:35 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
MCP Server for connecting to the AgentBridge Nexus
Python MCP server that exposes AgentBridge backend actions as tools for AI coding agents.
The backend/MCP terminal MVP is implemented and live-tested. The package currently provides:
FastMCP entrypointSet these before running the MCP server:
export AGENTBRIDGE_API_URL="http://localhost:8000"
export AGENTBRIDGE_AGENT_KEY="abk_your_agent_key"
AGENTBRIDGE_AGENT_KEY should be one of the keys printed by:
cd services/api
.venv/bin/python scripts/seed_dev.py --apply
agentbridge_heartbeatagentbridge_create_handoffagentbridge_list_handoffsagentbridge_claim_handoffagentbridge_submit_artifactagentbridge_get_artifactagentbridge_get_artifact_contentagentbridge_request_reviewagentbridge_create_approvalagentbridge_submit_reviewagentbridge_complete_handoffagentbridge_acquire_file_lockagentbridge_release_file_lockagentbridge_list_file_locksagentbridge_list_file_conflictsagentbridge_resolve_file_conflictagentbridge_list_audit_logsagentbridge_create_project_memoryagentbridge_list_project_memoryagentbridge_search_project_memoryagentbridge_update_project_memoryagentbridge_delete_project_memoryagentbridge_start_work_sessionagentbridge_list_work_sessionsagentbridge_checkpoint_progressagentbridge_resume_projectResume workflow tools:
agentbridge_start_work_session starts tracking a feature/task in progress.agentbridge_checkpoint_progress records where the agent is before stopping.agentbridge_resume_project generates the continuation packet and prompt for another agent.From this directory:
python -m agentbridge_mcp.server
When installed as a package:
agentbridge-mcp
Record the current stopping point before switching agents or hitting a usage limit:
PYTHONPATH=src ../api/.venv/bin/python -m agentbridge_mcp.checkpoint_cli \
--project-id <project_id> \
--summary "Implemented backend slice and verified focused tests." \
--current-step "Ready to hand off" \
--next-step "Continue from the recorded checkpoint"
When installed as a package:
agentbridge-checkpoint \
--project-id <project_id> \
--summary "Implemented backend slice and verified focused tests." \
--next-step "Continue from the recorded checkpoint"
The checkpoint command reads local git state by default: branch, latest commit,
worktree path, and dirty files. Use --no-git to disable auto-detection.
Generate a resume packet for another agent:
PYTHONPATH=src ../api/.venv/bin/python -m agentbridge_mcp.resume_cli \
--project-id <project_id> \
--target-agent antigravity
Save it locally:
PYTHONPATH=src ../api/.venv/bin/python -m agentbridge_mcp.resume_cli \
--project-id <project_id> \
--target-agent antigravity \
--output .agentbridge/resume-antigravity.md
When installed as a package:
agentbridge-resume --project-id <project_id> --target-agent antigravity
The command reads AGENTBRIDGE_API_URL and AGENTBRIDGE_AGENT_KEY from the
environment, calls the resume packet API, prints the generated prompt, and
optionally saves it. It also prints safety_status and should_continue so
the next agent can pause when locks or conflicts are present. If expires_at
has passed, it prints a stale packet warning and the agent should regenerate the
packet before continuing. It never prints agent keys.
With --json, the command also adds a local is_expired boolean so scripts can
block continuation without parsing timestamps themselves.
The tool layer can be tested without a live backend:
PYTHONPATH=src pytest tests -q
Mock mode works without a backend:
PYTHONPATH=src python -m agentbridge_mcp.demo
Live mode uses AGENTBRIDGE_API_URL and AGENTBRIDGE_AGENT_KEY, then prompts for the Antigravity key, project ID, and agent IDs. Use the Codex key as AGENTBRIDGE_AGENT_KEY.
PYTHONPATH=src python -m agentbridge_mcp.demo --live
Run these after the API is running on http://127.0.0.1:8000:
PYTHONPATH=src ../api/.venv/bin/python -m agentbridge_mcp.live_artifact_validation
PYTHONPATH=src ../api/.venv/bin/python -m agentbridge_mcp.live_coordination_validation
PYTHONPATH=src ../api/.venv/bin/python -m agentbridge_mcp.live_resume_validation
PYTHONPATH=src ../api/.venv/bin/python -m agentbridge_mcp.live_cli_resume_validation \
--output /tmp/agentbridge-cli-resume.md
PYTHONPATH=src ../api/.venv/bin/python -m agentbridge_mcp.live_reverse_resume_validation
Required environment variables:
export AGENTBRIDGE_API_URL="http://127.0.0.1:8000"
export AGENTBRIDGE_AGENT_KEY="<codex_agent_key>"
export AGENTBRIDGE_PROJECT_ID="<project_id>"
export AGENTBRIDGE_CODEX_AGENT_ID="<codex_agent_id>"
export AGENTBRIDGE_ANTIGRAVITY_AGENT_ID="<antigravity_agent_id>"
export AGENTBRIDGE_ANTIGRAVITY_AGENT_KEY="<antigravity_agent_key>"
live_reverse_resume_validation uses AGENTBRIDGE_ANTIGRAVITY_AGENT_KEY to
create/checkpoint a handoff targeting Codex, then uses AGENTBRIDGE_AGENT_KEY
as Codex to generate the resume packet and verify the latest Antigravity
checkpoint is preserved.
Use the adapter configs in adapters/codex and adapters/antigravity.
Start the API:
cd services/api
.venv/bin/uvicorn main:app --port 8000
Confirm health:
curl http://127.0.0.1:8000/api/v1/health
Configure Codex with the Codex agent key and Antigravity with the Antigravity agent key.
From Codex, call agentbridge_heartbeat.
From Codex, create a handoff assigned to Antigravity.
From Antigravity, list assigned handoffs and claim the new handoff.
From Antigravity, submit an artifact and request Codex review.
From Codex, fetch the artifact content, submit the review, and complete the handoff.
If any MCP tool fails in the IDE but works from terminal validation, record the exact tool name, payload, and API error before changing backend behavior.
Download counts and popularity will appear here as the collector receives them.
| Version | Published | Direct dependencies | Open version |
|---|---|---|---|
| 0.1.1 | 3 Jul 2026 | 8 |
This describes our collected data; it is not a security assessment.
Observed since 20 Oct, 21:35 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package:7c6d730f9fdaa760c2a1243eb7dbeb8daeb550d04f6f0ffcc53d38540df315d9