Skip to content

Protocol overview

Tesseron speaks JSON-RPC 2.0 over WebSocket between your app and the MCP gateway, then the gateway bridges that to MCP over stdio for the agent. One action round-trip crosses both protocols.

The protocol is at version 1.0.0.

A first-use session, start to finish: from WebSocket open to the first tool-call result returned to the agent. WEB APP MCP GATEWAY USER AGENT 1 tesseron/hello { app, actions, caps } 2 tesseron/welcome { sessionId, claimCode } 3 claim code (stdout / web UI) 4 connect AB3X-7K 5 tools/call tesseron__claim_session 6 notifications/tools/list_changed 7 tools/call shop__searchProducts 8 actions/invoke { invocationId, input } 9 result 10 tools/call result
A first-use session, start to finish: from WebSocket open to the first tool-call result returned to the agent.
NameValue
Protocol version1.0.0
Default gateway URLws://127.0.0.1:7475
Default action timeout60_000 ms
Max sampling depth3
Tool name pattern<app_id>__<action_name>
Resource URI patterntesseron://<app_id>/<resource_name>
app.id validator/^[a-z][a-z0-9_]*$/

All of these are observable from the wire - they're not SDK-specific. A Python or Go SDK implementing Tesseron MUST match them exactly.