flowforge-mcp
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@flowforge-mcp Call my support agent and ask about pricing"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
FlowForge for coding agents
Give Claude Code, Codex or Claude Desktop full control of the Realbotics FlowForge voice-agent platform: build and test AI phone agents, place calls, run campaigns, manage numbers and knowledge bases, and read usage, from a chat with your agent.
Install
Paste this into your coding agent:
The agent follows INSTALL.md. (Coding agents: read and follow INSTALL.md step by step.) It will ask for your FlowForge API key (dashboard → Settings → API Keys). Prefer to do it yourself:
git clone https://github.com/RealboticsCorp/flowforge-mcp.git ~/.flowforge-mcp/src
~/.flowforge-mcp/src/install.shNeeds macOS or Linux with uv or Python 3.10+. Restart your agent afterwards.
Related MCP server: CallCenter.js MCP
What you get
MCP server (
flowforge-mcp, 48 tools). Curated tools cover daily work, andflowforge_api_reference+flowforge_api_requestreach all 160 External API endpoints using the API spec bundled with the server.flowforgeskill teaches the agent the platform's rules and traps: which actions ring real phones or spend money, branch-then-test before publishing, campaign start requirements, knowledge-base flags, webhook-tool shapes, and how to write code against the REST API.goal-based-voice-agentskill designs a voice agent from an idea, call script or SOP using the SCRIPT framework, then deploys it to FlowForge (or VAPI): prompt, tools, voice and test plan. It can also build straight from an approved agent spec.agent-market-researchskill guides you from an industry, a city and a job (e.g. med spas, Los Angeles, receptionist) to a demo agent: it finds 3-4 real example businesses, writes a dossier on each including review analysis, turns the reviews into a playbook for the job, writes an agent spec with the apps that industry actually uses, and hands it togoal-based-voice-agentto build and test in FlowForge. Everything is saved as Markdown, one folder per industry and city. Reads Google reviews in the browser for free, or through an optional paid review service.Slash commands for Claude Code:
/ff-call,/ff-batch,/ff-call-review,/ff-campaign,/ff-campaign-status,/ff-assistant,/ff-test,/ff-tool,/ff-usage,/ff-status.
Tool areas
Assistants: list, get (prompt variables, flow, knowledge base, stats, export), create, update, delete, clone/publish, import, branches, pronunciations.
Voice: TTS/STT catalog, presets, voice cloning.
Calls: start, batch (≤100), list, get (transcript, metrics, events, recordings), active calls, end.
Campaigns: create, control, settings, leads, dispositions and outcomes, campaign calls.
Phone numbers: list, search, assign, purchase/release, pools.
Knowledge: semantic and full-text search, document upload/URL import, knowledge bases.
Tests: run, manage, read results.
Org and spend: organization settings, MCP servers attached to agents, usage reports, balance.
Safety
Deletes and actions that dial, spend money or replace org-wide config return a
dry_runpreview until the agent repeats the call withconfirm=true. The skill tells the agent to show you the preview and wait for your go-ahead.Requests other than GET are never retried automatically: FlowForge has no idempotency keys, so a retried call request would dial the person twice.
Path IDs are validated, the API key never follows a redirect to another host, and file uploads refuse hidden paths such as
~/.sshor.env.Your key is stored only in each client's own MCP config.
Several organizations
Each API key belongs to one organization. Install the first key as flowforge
and add more with:
FLOWFORGE_API_KEY=ff_live_… ~/.flowforge-mcp/src/install.sh --name flowforge-acme --server-onlyThe installer records which server belongs to which organization in
~/.config/flowforge/servers.md, and the skill reads that file.
Configuration
Variable | Required | Default |
| yes | — |
| no |
|
Development
uv run python -c "import asyncio; from flowforge_mcp.server import mcp; print(len(asyncio.run(mcp.list_tools())))"
FLOWFORGE_API_KEY=… uv run flowforge-mcp --check
uv run --with httpx python scripts/refresh_spec.py # pull the latest API specflowforge_mcp/
app.py # FastMCP instance + constants
client.py # authenticated async HTTP client + error translation
formatting.py # JSON/Markdown rendering, truncation, pagination
models.py # shared Pydantic input mixins
server.py # entry point (--check verifies the install)
spec.py # index over data/openapi.json (bundled API spec)
tools/ # one module per resource group; _dispatch.py = confirm gate
skills/ # agent skills: flowforge/, goal-based-voice-agent/, agent-market-research/
commands/ # Claude Code /ff-* slash commands
install.sh # installer (see INSTALL.md)Contributor rules: AGENTS.md.
License
MIT, see LICENSE.
Available Tools
48 toolsflowforge_add_campaign_leadsB
Bulk-add leads (contacts) to a campaign.
Args:
params: campaign_id and a leads array of contact objects.
Returns: The API result summarizing how many leads were added.
Error Handling: Returns "Error: ..." on failure.
Inputs: params (required). Returns: result
flowforge_api_referenceARead-onlyIdempotent
Search the FlowForge External API (all 160 endpoints) or read one endpoint's exact contract. Offline - reads the bundled OpenAPI spec.
Use before flowforge_api_request and before writing code that calls
FlowForge, so field names and required params are right the first time.
Modes:
no args -> resource-group index with endpoint counts.
queryand/orgroup-> matching endpoints (method, path, summary).method+path-> full description: path/query params and the $ref-resolved request body. In schemas a trailing*on a property name means required.
Returns: JSON. Base URL and auth are included in the index for code generation.
Inputs: params (required). Returns: result
flowforge_api_requestADestructive
Call any documented FlowForge External API endpoint directly.
Use for operations without a curated tool (characters, roles, vapi-import, voice preview, MCP-server attachment, analytics variants, ...) or when you need exact control of the body. Auth, host, HTTPS-safe redirects and read retries are handled for you.
Safety: unknown endpoints are refused (unless allow_undocumented), and
DELETEs plus side-effect operations return a dry-run preview until called
again with confirm=true. Never auto-confirm calls that dial real
phones or spend money without the user's go-ahead.
Returns:
JSON {"status", "request_id", "endpoint", "body"}. Non-2xx responses
are returned the same way with an error summary (not raised), so
you can read the 422 field errors and fix the request.
Inputs: params (required). Returns: result
flowforge_assign_phone_numberAIdempotent
Assign an assistant to a phone number (so it answers inbound calls), or unassign the current one.
Provide agent_id to assign, or set unassign=true to detach.
Args:
params: phone_number_id, plus either agent_id or unassign.
Returns: The API result, or a confirmation message.
Error Handling: Returns "Error: ..." if neither agent_id nor unassign is supplied, or on an API failure.
Inputs: params (required). Returns: result
flowforge_assistant_lifecycleA
Run a lifecycle action on an assistant: clone it or publish it live.
'clone' creates an independent copy (useful for safe iteration); 'publish' deploys the current configuration so it answers real calls.
Args:
params: assistant_id and action ('clone' or 'publish').
Returns: The API result (e.g. the new clone's object, or publish status).
Error Handling: Returns "Error: ..." with the cause on failure.
Inputs: params (required). Returns: result
flowforge_clone_voiceBDestructive
Create a cloned voice from a local reference-audio file, or delete one.
Only clone a voice the user has the right to use. The new voice appears
in flowforge_voice_catalog catalog='cloned'.
Inputs: params (required). Returns: result
flowforge_control_campaignA
Change a campaign's run state: start, stop, pause, resume, or clone it.
Args:
params: campaign_id and action.
Returns: The API result (e.g. updated status, or the clone object).
Error Handling: Returns "Error: ..." on failure (e.g. resuming a non-paused campaign).
Inputs: params (required). Returns: result
flowforge_create_assistantA
Create a new voice assistant (agent).
Only name is required. Provide system_prompt for a simple agent, or
pass extra_config={'flow_data': {...}} for a flow-based agent. Voice and
transcription are configured via tts_settings / stt_settings.
Args:
params: See field descriptions. extra_config accepts any additional
AssistantCreateRequest field verbatim.
Returns: The created assistant object (including its new ID) as JSON or Markdown.
Error Handling: Returns "Error: Validation failed..." (422) if fields are malformed.
Inputs: params (required). Returns: result
flowforge_create_campaignA
Create an outbound campaign.
Provide an agent_id to bind an assistant, a dialing source
(phone_number_id or phone_pool_id), and optionally seed
recipients. Use extra_config for any other campaign setting.
Args: params: See field descriptions.
Returns: The created campaign object (with its ID) as JSON or Markdown.
Error Handling: Returns "Error: Validation failed..." if fields are malformed.
Inputs: params (required). Returns: result
flowforge_delete_assistantADestructiveIdempotent
Permanently delete an assistant. This cannot be undone.
Args:
params: assistant_id of the assistant to delete.
Returns: A confirmation message on success.
Error Handling: Returns "Error: Resource not found..." if the ID is wrong.
Inputs: params (required). Returns: result
flowforge_delete_campaignADestructiveIdempotent
Permanently delete a campaign. This cannot be undone.
Args:
params: campaign_id to delete.
Returns: A confirmation message on success.
Error Handling: Returns "Error: Resource not found..." if the ID is wrong.
Inputs: params (required). Returns: result
flowforge_end_callADestructiveIdempotent
End an in-progress call, or end every active call at once.
Provide call_id to end one call, or set all_calls=true to terminate
all running calls. This immediately hangs up; it cannot be undone.
Args:
params: call_id (optional) and all_calls (default false).
Returns: A confirmation message or the API result.
Error Handling: Returns "Error: ..." if neither call_id nor all_calls is provided, or on an API failure.
Inputs: params (required). Returns: result
flowforge_get_assistantARead-onlyIdempotent
Retrieve a single assistant's configuration by ID, optionally with its prompt variables, flow, knowledge base, stats, or export bundle.
Args:
params: assistant_id (required), detailed (full config when
true), include (sub-resources), response_format.
Returns:
The assistant object; with include, an object keyed assistant
plus one key per sub-resource (a failed sub-fetch holds its error).
Error Handling: Returns "Error: Resource not found..." if the ID is wrong.
Inputs: params (required). Returns: result
flowforge_get_balanceBRead-onlyIdempotent
Get the current account balance.
Args:
params: response_format only.
Returns: JSON/Markdown with the account balance.
Error Handling: Returns "Error: ..." on failure.
Inputs: params (required). Returns: result
flowforge_get_callARead-onlyIdempotent
Fetch one call and, in the same step, any of its transcript, recordings, metrics, or events.
This consolidates what would otherwise be several API calls: pass
include=['transcript','metrics'] to get the call status plus those
sub-resources together.
Args:
params: call_id and optional include list.
Returns:
JSON/Markdown with a call object and one key per requested include
(e.g. transcript, recordings, metrics, events). If an
include fails, its key holds an {"error": ...} note instead of
failing the whole request.
Error Handling: Returns "Error: Resource not found..." if the call_id is wrong.
Inputs: params (required). Returns: result
flowforge_get_campaignARead-onlyIdempotent
Fetch a campaign and, in one step, any of its analytics, status, leads, or calls.
Args:
params: campaign_id and optional include list.
Returns:
JSON/Markdown with a campaign object plus one key per requested
include. A failed include yields an {"error": ...} note rather than
failing the whole request.
Error Handling: Returns "Error: Resource not found..." if the ID is wrong.
Inputs: params (required). Returns: result
flowforge_get_organizationARead-onlyIdempotent
Get your FlowForge organization's settings, optionally with concurrency limits.
Args:
params: include_concurrency flag, response_format.
Returns:
JSON/Markdown with an organisation object and, if requested, a
concurrency object.
Error Handling: Returns "Error: ..." on failure.
Inputs: params (required). Returns: result
flowforge_get_test_runA
Read a test run's status (and per-iteration results), or retry it.
Poll this after flowforge_run_test until the status is terminal
(completed/failed); results include scores and failure reasons.
Inputs: params (required). Returns: result
flowforge_get_usageARead-onlyIdempotent
Get a billing report: current-month usage (total or broken down by component/resource/disposition), forecast, insights, per-assistant efficiency, idle phone numbers, or the ledger.
Args:
params: breakdown (report name), optional date_from/date_to,
period_days, threshold_days, limit, response_format.
Returns: JSON/Markdown with the usage report for the selected breakdown.
Error Handling: Returns "Error: ..." on failure.
Inputs: params (required). Returns: result
flowforge_healthARead-onlyIdempotent
Check the FlowForge host is up (unauthenticated GET /health) and report which base URL this server targets and which spec version it bundles.
Use first when other tools return connection errors.
Inputs: params (required). Returns: result
flowforge_import_assistantA
Create a new assistant from an exported bundle (with its character,
role and flow). Pair with flowforge_get_assistant include=['export']
to copy an assistant - including across orgs, using a different server
(e.g. export from flowforge, import via flowforge-acme).
Returns: The created assistant (with its new ID).
Inputs: params (required). Returns: result
flowforge_list_active_callsARead-onlyIdempotent
List calls that are live right now (in progress).
Args:
params: response_format only.
Returns: JSON/Markdown listing the currently active calls.
Error Handling: Returns "Error: ..." on failure.
Inputs: params (required). Returns: result
flowforge_list_assistantsARead-onlyIdempotent
List the voice assistants (agents) in your FlowForge organization.
Use this to discover assistant IDs before starting calls, creating campaigns, or assigning phone numbers. Returns a page of assistants plus pagination metadata.
Args:
params: limit (1-100, default 50), offset (default 0),
response_format ('json' or 'markdown').
Returns:
JSON (or Markdown) with total, count, offset, has_more,
next_offset and an assistants array. Each assistant object's
exact fields are defined by the API but include at least an id and name.
Error Handling: Returns "Error: ..." with the cause (e.g. 401 invalid key) on failure.
Inputs: params (required). Returns: result
flowforge_list_callsARead-onlyIdempotent
List and filter call history with rich filters and sorting.
Filter by status, direction, agent, campaign, date range, disposition, or a freeform search across numbers/IDs. Use this to audit outcomes or find a specific call_id.
Args: params: pagination plus optional filters (see field descriptions).
Returns:
JSON/Markdown with total, count, offset, has_more,
next_offset and a calls array.
Error Handling: Returns "Error: ..." on failure.
Inputs: params (required). Returns: result
flowforge_list_campaign_callsARead-onlyIdempotent
List one campaign's calls with status/disposition/date/search filters.
Use flowforge_get_call on a result for transcript and metrics.
If the campaign-scoped endpoint fails server-side (it has returned 500 on
some campaigns), falls back to the org call list filtered by
campaign_id and says so in source; disposition_id is not
applied on the fallback.
Inputs: params (required). Returns: result
flowforge_list_campaignsCRead-onlyIdempotent
List outbound campaigns in your organization.
Args:
params: limit (1-100), offset, response_format.
Returns:
JSON/Markdown with pagination metadata and a campaigns array.
Error Handling: Returns "Error: ..." on failure.
Inputs: params (required). Returns: result
flowforge_list_documentsARead-onlyIdempotent
List documents in the knowledge base.
Args:
params: optional knowledge_base_id, limit (1-100), offset
(rounded down to a multiple of limit; the API pages by page
number), response_format.
Returns:
JSON/Markdown with pagination metadata and a documents array.
Error Handling: Returns "Error: ..." on failure.
Inputs: params (required). Returns: result
flowforge_list_phone_numbersARead-onlyIdempotent
List the phone numbers your organization owns.
Use this to find a phone_number_id for assigning an assistant or for
use as a campaign caller ID.
Args:
params: limit (1-100), offset, response_format.
Returns:
JSON/Markdown with pagination metadata and a phone_numbers array.
Error Handling: Returns "Error: ..." on failure.
Inputs: params (required). Returns: result
flowforge_list_testsBRead-onlyIdempotent
List the agent tests defined in your organization.
Agent tests are LLM-scored scenarios used to evaluate assistant behavior.
Args:
params: limit (1-100), offset, response_format.
Returns:
JSON/Markdown with pagination metadata and a tests array.
Error Handling: Returns "Error: ..." on failure.
Inputs: params (required). Returns: result
flowforge_manage_branchesA
List, read, create (fork) or update an assistant's branches.
Use a branch to change prompt/voice/model without touching Main, then run
tests against it (flowforge_run_test with branch_id) before
promoting. Updating a branch creates a new version on it.
Inputs: params (required). Returns: result
flowforge_manage_dispositionsB
Manage per-campaign dispositions (labels classifying how calls ended) and the outcomes decision a never-run campaign needs before it can start.
Inputs: params (required). Returns: result
flowforge_manage_documentsADestructive
Upload, import, read, delete, link and reindex knowledge documents.
Typical flow: flowforge_manage_knowledge_bases create -> upload or
import_url into it -> set the assistant's knowledge_base_id and
enable_rag_tool=true -> verify with flowforge_search_knowledge.
Inputs: params (required). Returns: result
flowforge_manage_knowledge_basesBDestructive
List, read, create, rename or delete knowledge bases (named groups of
documents an assistant points at via knowledge_base_id).
Inputs: params (required). Returns: result
flowforge_manage_mcp_serversBDestructive
Manage the MCP servers FlowForge assistants can call mid-conversation.
Attach a server to an assistant by adding its ID to the assistant's
mcp_servers (flowforge_update_assistant). Use custom_test and
custom_call to verify a custom server before attaching it.
Inputs: params (required). Returns: result
flowforge_manage_phone_numberADestructive
Read, rename, buy or release one phone number; list supported countries
and area codes. Buying and releasing return a dry run until
confirm=true - confirm the number and cost with the user first.
Inputs: params (required). Returns: result
flowforge_manage_phone_poolsBDestructive
List/create/update/delete phone pools, add or remove member numbers, peek the next number the pool would dial from, or read pool statistics.
Attach a pool to a campaign via flowforge_update_campaign_settings
(phone_pool_id) to rotate caller ID.
Inputs: params (required). Returns: result
flowforge_manage_pronunciationsADestructive
List, create, update or delete an assistant's pronunciation entries (how TTS should say a written word - brand names, acronyms, surnames).
Returns:
The API result; delete without confirm=true returns a dry run.
Inputs: params (required). Returns: result
flowforge_manage_testsADestructive
Create/read/update/delete agent tests, attach them to assistants, list a test's runs, run every attached test for an assistant, and manage test folders. Tests are the regression suite for prompt/flow changes - run them on a branch before publishing.
Inputs: params (required). Returns: result
flowforge_remove_campaign_leadsADestructiveIdempotent
Bulk soft-delete a campaign's leads, optionally only those in given
statuses. Dry run until confirm=true; pause/stop the campaign first.
Inputs: params (required). Returns: result
flowforge_run_testA
Start an agent test run against an assistant.
Runs are asynchronous: this returns the run row (status queued). Poll
flowforge_get_test_run with the returned run id for status and
per-iteration results.
Args:
params: test_id, assistant_id, optional branch_id,
n_iterations, draft, response_format.
Returns: JSON/Markdown with the queued run (including its id).
Error Handling: Returns "Error: Resource not found..." if the test_id is wrong.
Inputs: params (required). Returns: result
flowforge_search_knowledgeARead-onlyIdempotent
Search the knowledge base by meaning (semantic) or exact text.
Use semantic search (default) to find conceptually relevant passages, or
set full_text=true for literal keyword matches. Optionally scope to one
assistant's linked documents.
Args:
params: query (required), optional agent_id, full_text flag,
and limit.
Returns: JSON/Markdown with the matching passages/documents.
Error Handling: Returns "Error: ..." on failure.
Inputs: params (required). Returns: result
flowforge_search_phone_numbersARead-onlyIdempotent
Search for available phone numbers that can be purchased.
Args:
params: country_code, optional area_code and contains, limit.
Returns: JSON/Markdown listing candidate numbers available to buy.
Error Handling: Returns "Error: ..." on failure.
Inputs: params (required). Returns: result
flowforge_start_batch_callsA
Place up to 100 outbound calls in a single batch with one assistant.
Each recipient may carry its own template_variables and a
reference_id you can match against the results.
Args:
params: assistant_id, calls (1-100 BatchCallItem objects),
optional caller_phone_number and delay_between_calls_ms.
Returns:
JSON/Markdown with total_requested, successful, failed and a
results array (each item has phone_number, success, call_id, error,
reference_id).
Error Handling: Returns "Error: Validation failed..." if any recipient is malformed.
Inputs: params (required). Returns: result
flowforge_start_callA
Place a single outbound phone call using a FlowForge assistant.
Args:
params: phone_number (E.164), assistant_id, optional
caller_phone_number and template_variables.
Returns:
JSON/Markdown with call_id (use it with flowforge_get_call),
room_name, job_id and SIP identifiers.
Examples: - "Call +14155551234 with assistant abc" -> phone_number + assistant_id. - To personalize: template_variables={'customer_name': 'Alex'}.
Error Handling: Returns "Error: ..." (e.g. 404 if the assistant_id is unknown).
Inputs: params (required). Returns: result
flowforge_update_assistantBIdempotent
Update an existing assistant. Only the fields you supply are changed.
Args:
params: assistant_id and a fields object of changes.
Returns: The updated assistant object as JSON or Markdown.
Error Handling: Returns "Error: Resource not found..." if the ID is wrong.
Inputs: params (required). Returns: result
flowforge_update_campaign_settingsBIdempotent
Patch a campaign's settings: assistant, caller number/pool, schedule, dialer and compliance rules, voicemail drop, webhook, pacing, branch. Only the keys you pass change.
Inputs: params (required). Returns: result
flowforge_update_organizationAIdempotent
Change organization settings and concurrency caps, or read/set the org
test phone number (the number test calls ring). Read current values first
with flowforge_get_organization include_concurrency=true.
Inputs: params (required). Returns: result
flowforge_voice_catalogARead-onlyIdempotent
Read the TTS/STT provider catalog, voice presets, or your cloned voices.
Use it to pick valid tts_settings/stt_settings values for
flowforge_create_assistant / flowforge_update_assistant. To hear a
voice, POST /voice/preview via flowforge_api_request.
Inputs: params (required). Returns: result
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 48 tools
Most tools target distinct resources or actions, so many choices are clear. However, multi-action manage_* tools (phone pools, documents, knowledge bases, tests, MCP servers) overlap with more specific list/get/search/run tools, and flowforge_api_request can duplicate almost any curated operation. Descriptions often clarify the intended use, but selecting the right tool still requires careful reading.
All tool names use snake_case with a consistent flowforge_ prefix, and most follow a verb_noun pattern such as list_calls or create_campaign. The main deviations are multi-action manage_/control_ verbs and a few noun-first names like voice_catalog and health, but these remain readable and predictable.
At 48 tools, the server is substantially above a comfortable MCP tool set size, which increases selection cost and context burden. The domain is broad and some consolidation exists through manage_* tools, but many related operations remain split across separate tools, making the surface feel heavy rather than tightly scoped.
The tool surface covers assistant lifecycle, campaigns and leads, dispositions, calls, phone numbers and pools, knowledge bases/documents, tests and runs, branches, voices, organization settings, usage/billing, health, and MCP server management. A documented generic API request tool plus offline API reference provides an escape hatch for specialty endpoints, so there are no obvious dead ends.
Maintenance
Related MCP Connectors
Build and deploy voice AI agents, make calls, and run call campaigns, workflows and WhatsApp.
Build and manage voice AI agents for real phone lines: assistants, calls, numbers and campaigns.
Run EchoCall AI phone and chat agents from ChatGPT or Claude: calls, agents, knowledge and numbers.
Build, test, deploy and run AI phone agents: agents, numbers, calls, tests, knowledge, campaigns.
Related MCP Servers
FlicenseBqualityFmaintenanceEnables interaction with Telnyx's telephony, messaging, and AI assistant APIs to manage phone numbers, send messages, make calls, and create AI assistants. Includes webhook support for real-time event handling and comprehensive tools for voice, SMS, cloud storage, and embeddings.4625-- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to make real phone calls on your behalf using VoIP, handling conversations automatically through OpenAI's Real-Time Voice API. Simply tell Claude what you want to accomplish and it will call and manage the entire conversation for you.25MIT
- AlicenseBqualityDmaintenanceEnables interaction with Retell AI's voice and chat agent platform. Build, deploy, and manage AI phone agents, configure conversation flows, handle calls/chats, and manage phone numbers through natural language.52MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to make real-world phone calls with AI voice technology and provides tools to track call status, transcripts, and summaries. It supports automated communication with both live numbers and simulated businesses for testing and demonstration purposes.MIT