Skip to content

MCP server (streamable HTTP)

POST
/api/mcp

Stateless JSON-RPC 2.0 over plain JSON, own CORS. Protocol subset: initialize, ping, tools/list, tools/call; notifications get 202; batches accepted. Versions 2025-06-18 / 2025-03-26 / 2024-11-05. Tools: denpa_whoami · denpa_featured_markets · denpa_market · denpa_push_signal · denpa_get_signal · denpa_clear_signal · denpa_bind_stream · denpa_unbind_stream · denpa_go_live · denpa_my_broadcasts. initialize and tools/list are open; authenticated tools act as the key’s owner and forward the caller’s Authorization to the operator REST routes, so validation and ownership rules stay in one place. Connect: claude mcp add --transport http denpa https://denpa.ai/api/mcp --header "Authorization: Bearer dk_…".

One of:
object
jsonrpc
required
string
Allowed value: 2.0
id

Omit for a notification (answered 202).

string | integer | null
method
required
string
Allowed values: initialize ping tools/list tools/call notifications/initialized
params
object
key
additional properties
any

JSON-RPC response (or a batch of them).

One of:
object
jsonrpc
required
string
Allowed value: 2.0
id
required
string | integer | null
result
object
key
additional properties
any
error
object
code
integer
message
string

Notification accepted (no body).

Parse error (-32700).

object
jsonrpc
required
string
Allowed value: 2.0
id
required
string | integer | null
result
object
key
additional properties
any
error
object
code
integer
message
string