Skip to content

CLI: MCP and A2A

Generated from deedglass help --json (CLI 0.15.1). Global flags and exit codes are on the CLI reference page.

Run an MCP server behind Deedglass.

Terminal window
deedglass mcp wrap --connector <name> [--connector-type mcp] [--hide-denied=false] [--call-timeout 2m] [--result-mode full|digest] [--log-file <path>] -- <command> [args…]

Add --json for machine-readable output.

Serve Deedglass’s native MCP tools.

Terminal window
deedglass mcp serve [--connector native|<name>]
Flag Type Default What it does
--client string the Connect item this client was added from in deedglass app (claude-desktop, cursor, vscode, terminal, openai); its key comes from the app
--connector string native native, or the name of an upstream MCP server (mcp.upstreams)
--tool-names string how tools/list spells tools: safe (postgres_query, default) or dotted (postgres.query, deprecated)

Add --json for machine-readable output.

Print client config for an MCP client.

Terminal window
deedglass mcp snippet --client <claude-desktop|claude-code|cursor|windsurf|vscode> --connector <name> [--connector-type postgres] [--api-key-from-env] -- <command> [args…] · --transport http --client <…> [--connector native|<name>]

Add --json for machine-readable output.

Print every one-click install link.

Terminal window
deedglass mcp install-links [--json]

Add --json for machine-readable output.

Run a remote A2A agent behind Deedglass.

Terminal window
deedglass a2a proxy --connector <name> --peer <url> [--card-url <url>] [--listen 127.0.0.1:7420] [--peer-header-env H=VAR] [--on-behalf-of <ref>] [--approval-wait 10s] [--call-timeout 5m] [--result-mode full|digest]
Flag Type Default What it does
--approval-wait duration 10s how long a call waits for a person’s decision
--call-timeout duration 5m0s give up on the peer after this long
--card-url string the remote agent’s Agent Card (default /.well-known/agent-card.json)
--connector string the connector name calls are matched as (.), for example researcher
--insecure-http bool allow http to a Deedglass server that isn’t loopback (DEEDGLASS_ENV=dev only)
--listen string 127.0.0.1:7420 the loopback address to listen on
--on-behalf-of string the person the agent acts for, when a request’s delegation chain names none
--peer string the remote agent’s A2A JSON-RPC endpoint
--peer-header-env string Header=VAR: send this header to the peer with VAR’s value (repeatable)
--result-mode string full report answers in full (up to 256 KiB) or as a digest only

Add --json for machine-readable output.