curl --request POST \
--url 'https://api.sync.stateset.com/v1/tenants/{tenant_id}/mcp' \
--header "x-stateset-api-key: $STATESET_SYNC_API_KEY" \
--header 'Content-Type: application/json' \
--data '{
"id": null,
"jsonrpc": "string",
"method": "string",
"params": null
}'
{
"error": {
"code": 1,
"data": null,
"message": "Two-person tent, green — replacement for damaged pole set."
},
"id": null,
"jsonrpc": "string",
"result": null
}
Handle a JSON-RPC 2.0 request against the MCP surface for a tenant.
JSON-RPC response
POST
/
v1
/
tenants
/
{tenant_id}
/
mcp
curl --request POST \
--url 'https://api.sync.stateset.com/v1/tenants/{tenant_id}/mcp' \
--header "x-stateset-api-key: $STATESET_SYNC_API_KEY" \
--header 'Content-Type: application/json' \
--data '{
"id": null,
"jsonrpc": "string",
"method": "string",
"params": null
}'
{
"error": {
"code": 1,
"data": null,
"message": "Two-person tent, green — replacement for damaged pole set."
},
"id": null,
"jsonrpc": "string",
"result": null
}
Path parameters
string
required
Tenant identifier
Request body
McpRequest
object
string
string
required
any
Response
McpResponse
object
string
required
object
Status codes
| Code | Meaning |
|---|---|
200 | JSON-RPC response |
204 | Notification accepted |
401 | Unauthorized |
curl --request POST \
--url 'https://api.sync.stateset.com/v1/tenants/{tenant_id}/mcp' \
--header "x-stateset-api-key: $STATESET_SYNC_API_KEY" \
--header 'Content-Type: application/json' \
--data '{
"id": null,
"jsonrpc": "string",
"method": "string",
"params": null
}'
{
"error": {
"code": 1,
"data": null,
"message": "Two-person tent, green — replacement for damaged pole set."
},
"id": null,
"jsonrpc": "string",
"result": null
}
Last modified on August 31, 2026