What's wrong with this entry?
Anonymous. No account, no email.
What: HTTP REST API server for external tools to interact with Claude Code's MCP servers programmatically. How to use:
# Enable the endpoint (enabled by default when Claude Code is running)
# External tools can make requests to localhost with bearer token auth
# Example: List available MCP servers
curl -X POST http://127.0.0.1:<port>/mcp \
-H "Authorization: Bearer <secret>" \
-H "Content-Type: application/json" \
-d '{"command": "servers"}'
# Example: Call an MCP tool
curl -X POST http://127.0.0.1:<port>/mcp \
-H "Authorization: Bearer <secret>" \
-d '{"command": "call", "params": {"server": "myserver", "tool": "mytool", "args": {}}}'
Details:
- Supports commands:
servers,tools,info,call,grep,resources,read - Bearer token authentication with 32-byte random secret
- Localhost-only binding for security
- Endpoint info stored in
~/.claude/<workspace>.endpoint - Can be disabled via
ENABLE_MCP_CLI_ENDPOINT=falseenvironment variable - Evidence:
class hX0at line 515880 in v2.0.50