Skip to content

af mcp

Serve the forge's agent tools over MCP on standard input and output

Runs a Model Context Protocol server for an AI agent. It acts as the credential’s actor, with the agent’s workspace in WORKSPACE.

Usage

af mcp [OPTIONS] <WORKSPACE>

Arguments

  • <WORKSPACE>

    Directory for the agent’s workspace; created if missing

    The workspace’s files are kept in its files subdirectory, next to its state.

Global options

Every af command also takes the global options.

Examples

af mcp ~/agent-workspace

Type to search…

↑↓ navigate↵ selectEsc close