Record MCP Run
Record a new MCP tool execution.
This endpoint is typically called automatically when tools are invoked,
but can be used manually for:
- Custom tool integrations
- Testing and debugging
- Simulating tool calls
- Recording manual operations
The run record captures the complete interaction for audit and analysis.
Authentication
AuthorizationBearer
Bearer token authentication using JWT tokens from Ory Kratos/Hydra
Path Parameters
mcp_server_id
The UUID of the MCP server
org_id
The unique identifier of the organization.
project_id
The unique identifier of the project.
Request
This endpoint expects an object.
method
MCP method name
request
Request data
response
Response data
mcp_server_id
MCP server ID
request_id
JSON-RPC request ID
protocol_version
MCP protocol version
duration_ms
Duration in milliseconds
sse_event
Whether this is a server-sent event
Response
Successful Response
method
MCP method name
request
Request data
response
Response data
id
Unique identifier for the MCP run
mcp_server_id
MCP server ID
created
Timestamp when the MCP run was created
modified
Timestamp when the MCP run was last modified
request_id
JSON-RPC request ID
protocol_version
MCP protocol version
duration_ms
Duration in milliseconds
sse_event
Whether this is a server-sent event
