> For the complete documentation index, see [llms.txt](https://whitepaper.aitech.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://whitepaper.aitech.io/agentforge/tools/mcp.md).

# mcp

[Model Context Protocol](https://modelcontextprotocol.io/) is a standard for exposing tools and data sources to AI systems. MCP servers can provide custom tools for databases, services, internal systems, local resources, and third-party APIs.

In Agent Forge, the MCP Tool block allows workflows to execute tools from MCP servers configured in workspace settings. This makes MCP a bridge between Agent Forge workflows and external tool ecosystems without requiring every tool to be built as a native Agent Forge integration.

### Usage Instructions

Configure an MCP server in workspace settings, then add the MCP Tool block to a workflow. Select the server, choose a tool exposed by that server, and fill in the dynamically generated arguments for that tool.

For a broader MCP setup guide, see the main [MCP documentation](file:///mcp).

### Configuration

| Parameter   | Type   | Required      | Description                                  |
| ----------- | ------ | ------------- | -------------------------------------------- |
| `server`    | string | Yes           | MCP server ID                                |
| `tool`      | string | Yes           | Tool name exposed by the selected MCP server |
| `arguments` | json   | Tool-specific | Arguments passed to the selected MCP tool    |

### Output

| Parameter | Type  | Description                                     |
| --------- | ----- | ----------------------------------------------- |
| `content` | array | Standard MCP content array returned by the tool |

### Notes

* Category: `tools`
* Type: `mcp`
* Available tools are resolved dynamically from the selected MCP server.
