AgentFlow

Mcp Serve · AgentFlow CLI

Démarrer MCP stdio

CLI path: agentflow mcp serve

When to use

Use mcp serve whenever an IDE expects a bundled Model Context Protocol stdio shim that mirrors .agentflow configuration.

Original CLI synopsis: Démarrer MCP stdio

Usage

agentflow mcp serve [flags]

Options

FlagScopeDefaultDescription
--dry-runInheritedfalseSimuler les exécutions sans lancer d'agent ni commandes externes

Examples

agentflow mcp serve

Wire richer samples through cobra.Command.Example when the happy path warrants copy/paste-friendly automation beyond this scaffold.

What happens internally

  • Validates configuration guards before multiplexing MCP stdio traffic through internal/mcp adapters rooted at the resolved repository path.

Failure modes

  • Cobra rejects unknown flags or arity mismatches before any repository side effects occur.
  • AgentFlow cannot resolve scaffolding when the command is invoked outside an initialised checkout.
  • Disabled MCP integrations stop early with guidance drawn from .agentflow configuration diagnostics.

No sibling commands at this depth (Mcp Serve).