bridgectl_mcp
bridgectl mcpโ
Serve ERPBridge management operations over MCP stdio
Synopsisโ
Serve a fixed set of ERPBridge management operations to an MCP client.
This command is for AI coding agents. It is separate from the ERPBridge runtime, which serves published ERP tools. Management tools cover the local API registry, tool, plugin, binding, token, cache, and context operations that already exist in this CLI.
The session is pinned to the selected context. Changing the saved default context does not retarget a running session; restart this process to adopt changed endpoints or credentials.
Stdout carries the MCP protocol stream. Diagnostics are written to stderr.
By default only inspection, local validation, and generation are available. Repeat --allow-write to approve specific write groups.
bridgectl mcp [flags]
Examplesโ
bridgectl mcp --stdio
bridgectl mcp --stdio --context staging
bridgectl mcp --stdio --context staging --allow-write registry,resources
Optionsโ
--allow-write stringArray Approve a write group (repeatable, comma-separated): context, destructive, probe, registry, resources
-h, --help help for mcp
--stdio Serve the MCP protocol on stdin/stdout (required)
Options inherited from parent commandsโ
-c, --context string Override active context
-o, --output string Output format: table, json, yaml (default "table")
--token string API token for the ERPBridge server
-v, --verbose Show full HTTP request/response detail
SEE ALSOโ
- bridgectl - Middleware for Bridging Legacy ERP and Agentic AI