Skip to main content
POST
/
api
/
mcp
MCP JSON-RPC endpoint
curl --request POST \
  --url https://btca.dev/api/mcp \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "jsonrpc": "<unknown>",
  "id": 123,
  "method": "<string>",
  "params": {
    "name": "<string>",
    "arguments": {},
    "project": "<string>"
  }
}
'
{
  "result": {
    "content": [
      {
        "type": "<string>",
        "text": "<string>"
      }
    ],
    "isError": true
  }
}
Invokes MCP tools such as listResources, ask, addResource, and sync.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
jsonrpc
any
required
id
required
method
string
required
params
object
required

Response

Tool call response

result
object
required