Onboarding Agents & Tools
Onboard all AI agents, MCP servers, and tool bindings in your repository into Forgebench in a single guided chat session.
The onboarding steps
Step 1: Start onboarding
In your coding assistant, enter:
Onboard this repo to Forgebench(Or run the slash prompt /forgebench:onboard_repo)
Your assistant runs a local scanner script that inspects your repository for agent frameworks (LangGraph, CrewAI, OpenAI Agents SDK, AutoGen, Mastra, Vercel AI SDK) and MCP configuration files (.mcp.json, .cursor/mcp.json).
Step 2: Approve MCP server tool discovery
The scanner detects MCP servers declared in your project, but never starts or contacts them without your consent.
Your assistant displays the servers found and asks for approval:
Found 2 MCP servers:
1. postgres [stdio: python -m postgres_mcp]
2. github [http: api.github.com]
May I dial postgres to discover its tools?You respond with which servers to inspect:
Yes, dial postgres. Skip github for now.The scanner connects to postgres, queries its tool list (postgres_query, postgres_list_tables, postgres_drop_table), and catalogs them.
Step 3: Review the catalog diff & customize
Your assistant displays a summary of what will be added to your Forgebench workspace:
Reviewing scan findings:
New Agents:
+ researcher-agent (LangGraph, src/agents/researcher.py)
+ analyst-agent (CrewAI, src/agents/analyst.py)
+ test-fixture-bot (LangGraph, tests/agents/test_bot.py)
MCP Servers & Tools:
+ postgres (3 tools: postgres_query, postgres_list_tables, postgres_drop_table)
⚠️ Warning: postgres_drop_table is classified as a DESTRUCTIVE tool.
Proposed Policies:
- Default monthly budget: $50.00 USD per agent
- Default daily key limit: $20.00 USD per agent
What would you like to include, exclude, or customize?You can customize the plan directly in conversation:
Exclude test-fixture-bot.
Set researcher-agent monthly budget to $30.
Proceed with analyst-agent at default.Step 4: Confirm and apply
Your assistant presents the final change plan:
Change Plan [plan_id: plan_883fc2]:
- Register agent 'researcher-agent' [Monthly Budget: $30.00 USD]
- Register agent 'analyst-agent' [Monthly Budget: $50.00 USD]
- Catalog MCP Server 'postgres' [3 tools]
- Bind 'analyst-agent' -> ['postgres_query', 'postgres_list_tables', 'postgres_drop_table']
Shall I apply this plan?Confirm by saying:
Yes, apply.Your agents are registered in the workspace catalog in a sealed state.
Next
Budgets & Agent KeysLearn how to claim API credentials for your newly onboarded agents and manage spend limits.

