Documentation Index
Fetch the complete documentation index at: https://docs.crewform.tech/llms.txt
Use this file to discover all available pages before exploring further.
Overview
CrewForm is a full MCP participant — both as a client (consuming external tools) and as a server (exposing agents as tools). Your agents can discover and autonomously invoke tools from any MCP-compatible server during task execution, giving them access to databases, APIs, file systems, code execution environments, and thousands of third-party services.Architecture
CrewForm implements the full MCP client lifecycle using the official@modelcontextprotocol/sdk:
Runtime Execution
When a task runs, CrewForm’s task runner automatically connects to configured MCP servers and makes their tools available to the agent. This happens transparently — the agent’s LLM sees MCP tools alongside built-in tools and can invoke them as part of its reasoning.What Happens During a Task Run
- Tool Detection — The executor checks if the agent has any
mcp:tools enabled - Server Connection — For each configured MCP server, the task runner establishes a connection using the appropriate transport (HTTP, SSE, or stdio)
- Tool Discovery — Calls
tools/liston each connected server to get available tool definitions (name, description, input schema) - Schema Injection — Discovered MCP tool definitions are merged into the LLM’s function calling schema alongside built-in tools
- Autonomous Execution — When the LLM decides to call an MCP tool, the task runner routes the call through
callMcpTool()with the tool name and arguments - Result Processing — Tool results flow back into the agent’s context, informing the next reasoning step
- Cleanup — All MCP client connections are disconnected after the task completes
Example: Agent Using GitHub MCP Tools
Supported Transports
| Transport | Description | Use Case |
|---|---|---|
streamable-http | HTTP-based streaming (default) | Cloud-hosted MCP servers |
sse | Server-Sent Events | Real-time streaming servers |
stdio | Standard I/O | Local process-based servers |
Adding an MCP Server
- Go to Settings → MCP Servers
- Click Add Server
- Fill in:
- Name — Display name (e.g. “GitHub Tools”)
- URL — Server URL or command (e.g.
https://mcp.example.com) - Transport —
streamable-http,sse, orstdio - Config (optional) — JSON object with auth headers, env vars, or command arguments
- Click Save — CrewForm discovers and caches available tools
Config Examples
HTTP server with auth:Enabling MCP Tools on Agents
- Open the agent’s configuration
- In the Tools section, you’ll see discovered MCP tools listed as
mcp:server-name/tool-name - Toggle the tools you want the agent to use
- Save — the agent can now use those tools autonomously during task execution
Tool Discovery
When you add or refresh an MCP server, CrewForm:- Connects to the server using the configured transport
- Calls the
tools/listmethod to discover available tools - Caches the tool definitions (name, description, input schema)
- Makes them available in the agent configuration UI
Popular MCP Servers
| Server | Description |
|---|---|
@modelcontextprotocol/server-github | GitHub repos, issues, PRs |
@modelcontextprotocol/server-filesystem | Local file system access |
@modelcontextprotocol/server-postgres | PostgreSQL queries |
@modelcontextprotocol/server-brave-search | Brave web search |
@modelcontextprotocol/server-slack | Slack messaging |
Database
MCP servers are stored in themcp_servers table with workspace-scoped RLS. Each server record includes:
- Connection config (URL, transport, auth)
- Cached tool definitions
- Enabled/disabled status
MCP Server Publishing
CrewForm can also act as an MCP Server — exposing your agents as tools that Claude Desktop, Cursor, and other MCP clients can call. This makes CrewForm a full bidirectional MCP participant: consuming external tools and publishing agents as tools.MCP Server Publishing
Learn how to expose your agents as MCP tools for external clients.

