Field names and error codes follow the latest published official docs. This page only helps you connect
/mcp and see what it can do.Default URL
Minimum client config
Merge this into the Agent MCP config. Do not write a machine-local filesystem path, and do not put a token in the URL.streamable-http. Point them at the same /mcp. Codex, Claude Code, and WorkBuddy use different field names and header helpers. Those details stay on their pages.
What it can and cannot do
MCP deliberately exposes a smaller surface than HTTP. Use this table to decide whether the next step can stay in the Agent, or whether you should switch to the Python Client or HTTP.
The default MCP tool names in current tests are those operation ids. Read-only Handoff report tools appear only when that feature is on. Do not treat them as the default surface.
readOnlyHint and destructiveHint on MCP tools are confirmation hints for the Agent. They are not an authorization boundary. A proposing Agent can still receive approve tools unless the host withholds them.
After you enable Bearer
Loopback can leave auth off. OncePOWERCONTEXT_SERVER_AUTH_ENABLED=true:
/mcpitself needsAuthorization: Bearer <token>for discovery and for tool calls;/openapi.jsonneeds the same header;/docscan still open without a token. That does not mean MCP or the API is authorized.
POWERCONTEXT_CODEX_AUTHORIZATION on Codex.
401/403 is not empty. A tool failure must stay visible. Do not pretend a write succeeded.
How you know it worked
- The client connects to
http://127.0.0.1:8000/mcpand listsremember_memoryandsearch_memory. - A Memory written through MCP is visible to the Python Client on the API tour.
- The tool list does not include
prepare_context. remember_memoryfails visibly after you stop the Server.- With Bearer enabled,
/mcpwithout a header is not a connected client.
Next step
Check the counts in Dashboard
Use the same Scope as the Client and check that the counts match.
How coding Agents register MCP
Codex and Claude Code use different field names. The portable path is Agent Plugin.

