MCP Tools Reference
The Hubify MCP server exposes 48 tools across two categories:
All tools work without authentication for both read and write operations when the MCP server is configured with
CONVEX_URL and HUBIFY_LAB_SLUG.
Platform Tools
Lab Navigation
lab_create
Create a new lab and automatically provision a matching GitHub repository. If the user has a connected GitHub account, the repo is created in their own account. Otherwise it is created in the Hubify-Projects org.
Returns:
{ labId, repoUrl } — repoUrl is null if GitHub repo creation failed (lab is still created).
lab_status
Get a snapshot of the current lab: experiment count, paper count, agent count, pod count, anomaly count.
No parameters.
lab_list
List every lab on this Convex deployment with slug, name, status, and which is currently active.
No parameters.
lab_switch
Hot-swap the active lab for the current MCP session without restarting.
Experiments
experiment_list
List experiments with status, title, and runtime.
experiment_create
Create and queue a new experiment (auto-generates EXP-NNN ID).
experiment_run
Dispatch a queued experiment to a GPU pod. Accepts EXP-* ID or Convex document _id.
experiment_queue
List queued and running experiments.
No parameters.
Papers
paper_list
List all papers with readiness percentages and status.
No parameters.
paper_create
Create a new paper draft.
paper_review
Trigger a cross-model peer review on a paper via the orchestrator.
Tasks
task_list
List tasks with status and priority.
task_create
Create a new task.
task_update
Update task status or priority.
Memory & Knowledge
memory_search
Search across all 4 memory layers: user messages, agent learnings, knowledge wiki, and lab decisions.
memory_save
Save to the lab memory system.
knowledge_search
Full-text search across the lab’s knowledge base: experiments, papers, agents, surveys, knowledge entries.
knowledge_add
Add an entry to the lab’s knowledge wiki.
agent_learning_save
Save an operational or scientific learning to agent memory.
Contributions
contribution_list
List scientific contributions with novelty scores.
contribution_create
Log a scientific contribution.
Agents & Communication
agent_list
List all agents with roles, status, and models.
No parameters.
chat
Send a message to the lab orchestrator and wait for its response. Shares history with the web chat and CLI surfaces.
Compute & Costs
pod_list
List GPU pods with status, GPU type, and cost.
No parameters.
pod_create
Create a new GPU pod via RunPod API.
cost_summary
Get daily/weekly/monthly/all-time cost breakdown vs budget.
No parameters.
Misc
notification_list
List recent notifications (alerts, experiment completions, agent messages).
survey_list
List astronomical surveys with anomaly counts and source statistics.
No parameters.
figure_list
List all figures with titles, types, and image URLs.
standup_trigger
Trigger an agent standup.
activity_list
List recent lab activity (experiment completions, agent actions, alerts).
Phase E Ledger Tools (hubify_*)
These tools write to the agentEvents ledger. Events appear in real time in the Hubify web app’s Captain View and activity feed. Use these when Claude Code is acting as a local lab operator.
Context & Session
hubify_get_context
Full lab snapshot as structured JSON: lab metadata, stats, recent events, contributions, papers. Use at session start.
hubify_get_context_pack
Token-budgeted plain-text context pack for agent system prompts (lab state + in-flight experiments + recent events).
hubify_create_session_summary
Persist a session summary to the ledger. Use at the end of every Claude Code session.
Event Logging
hubify_log_event
Append a typed event to the agentEvents ledger. Idempotent on clientEventId.
Common event types: paper.section.drafted, experiment.completed, discovery.proposed, run.recorded, agent.woke, agent.sleeping.
hubify_log_finding
Log a scientific finding. When noveltyScore >= 6, also creates a contributions row visible in the Contributions UI.
hubify_sync_events
Batch-flush locally-buffered events in one round-trip. Idempotent on clientEventId.
Each event in the array accepts:
type, clientEventId, actorKind, actorLabel, entityType, entityId, payload, severity, correlationId, occurredAt.
Run & Claims
hubify_record_run
Record a new run directory, tying paths to the originating experiment. Emits run.recorded.
hubify_create_claim
Create a scientific claim. Emits claim.proposed and creates a contributions row.
hubify_update_claim
Update a claim’s status. Emits claim.upserted, claim.supported, or claim.refuted.
Status
hubify_compute_status
Current pod and compute status, cost totals, monthly budget, and budget headroom.
No parameters.
hubify_repo_status
Lab GitHub repo wiring: URL, default branch, manifest schema version, auto-push state.
No parameters.
Paper Pipeline
hubify_get_paper_pipeline_status
Return pipeline state for a paper: title, status, readiness %, target venue, last-updated.
hubify_update_paper_stage
Move a paper to a new pipeline stage. Emits paper.stage.changed and updates the paper row.
hubify_update_paper_section
Record that a paper section was drafted, edited, or completed. Emits paper.section.drafted, paper.section.edited, or paper.section.completed.
Note: does not write .tex content directly — the round-trip GitHub sync owns the file content.
Adversarial Review
hubify_start_adversarial_review
Kick off a multi-model adversarial peer review for a paper. Emits adversarial_review.started and triggers parallel reviewer roles.
hubify_log_model_review
Record one model’s verdict in an in-flight adversarial review. Creates a paperReviews row visible in the reviews UI.
hubify_create_review_consensus
Synthesize an adversarial review verdict. Emits consensus.created and triggers the synthesis action.