{
"id": "agent-runtime-impl:cursor.runtime@current",
"_kind": "AgentRuntimeImpl",
"_file": "agent-stack/runtime-impls/cursor-runtime-current.yaml",
"_cluster": "agent-stack",
"attributes": {
"displayName": "Cursor Runtime (current)",
"agentVersionId": "agent-version:cursor@current",
"subagentDispatchMechanism": "none",
"subagentChildSessionPolicy": "inline-no-child-session",
"subagentToolScopePolicy": "inherit-parent",
"packageRef": "source-ref:cursor-binary",
"builtInTools": [
"tool-descriptor:read",
"tool-descriptor:write",
"tool-descriptor:edit",
"tool-descriptor:bash",
"tool-descriptor:grep",
"tool-descriptor:web-search"
],
"toolRegistryDiscovery": "static-bundled",
"hookSockets": [
"hook-surface:cursor.pre-tool",
"hook-surface:cursor.post-tool",
"hook-surface:cursor.user-prompt-submit",
"hook-surface:cursor.stop",
"hook-surface:cursor.session-start",
"hook-surface:cursor.session-end"
],
"internalSessionStateLocation": "~/.cursor/sessions/",
"sessionFileFormat": "jsonl",
"sessionFilePathConvention": "~/.cursor/sessions/<session-id>.jsonl",
"approvalGatingPrimitive": "per-call",
"subprocessSandboxStrategy": "platform-deferred",
"runtimeIdentity": "api-key",
"supportedMCPTransports": [
"mcp-transport:stdio",
"mcp-transport:http-sse"
],
"supportsStreaming": true
},
"outgoingEdges": [
{
"from": "agent-runtime-impl:cursor.runtime@current",
"to": "layer:5-agent-runtime",
"kind": "realizes",
"attributes": {}
},
{
"from": "agent-runtime-impl:cursor.runtime@current",
"to": "agent:cursor",
"kind": "composes",
"attributes": {
"role": "runtime"
}
},
{
"from": "agent-runtime-impl:cursor.runtime@current",
"to": "hook-surface:cursor.pre-tool",
"kind": "exposes",
"attributes": {}
},
{
"from": "agent-runtime-impl:cursor.runtime@current",
"to": "hook-surface:cursor.post-tool",
"kind": "exposes",
"attributes": {}
},
{
"from": "agent-runtime-impl:cursor.runtime@current",
"to": "hook-surface:cursor.user-prompt-submit",
"kind": "exposes",
"attributes": {}
},
{
"from": "agent-runtime-impl:cursor.runtime@current",
"to": "hook-surface:cursor.stop",
"kind": "exposes",
"attributes": {}
},
{
"from": "agent-runtime-impl:cursor.runtime@current",
"to": "hook-surface:cursor.session-start",
"kind": "exposes",
"attributes": {}
},
{
"from": "agent-runtime-impl:cursor.runtime@current",
"to": "hook-surface:cursor.session-end",
"kind": "exposes",
"attributes": {}
},
{
"from": "agent-runtime-impl:cursor.runtime@current",
"to": "tool-descriptor:read",
"kind": "bundles",
"attributes": {}
},
{
"from": "agent-runtime-impl:cursor.runtime@current",
"to": "tool-descriptor:write",
"kind": "bundles",
"attributes": {}
},
{
"from": "agent-runtime-impl:cursor.runtime@current",
"to": "tool-descriptor:edit",
"kind": "bundles",
"attributes": {}
},
{
"from": "agent-runtime-impl:cursor.runtime@current",
"to": "tool-descriptor:bash",
"kind": "bundles",
"attributes": {}
},
{
"from": "agent-runtime-impl:cursor.runtime@current",
"to": "tool-descriptor:grep",
"kind": "bundles",
"attributes": {}
},
{
"from": "agent-runtime-impl:cursor.runtime@current",
"to": "tool-descriptor:web-search",
"kind": "bundles",
"attributes": {}
},
{
"from": "agent-runtime-impl:cursor.runtime@current",
"to": "mcp-transport:stdio",
"kind": "connects",
"attributes": {}
},
{
"from": "agent-runtime-impl:cursor.runtime@current",
"to": "capability:mcp-elicitation",
"kind": "supports",
"attributes": {
"versionRange": ">=0.40.0",
"level": "partial",
"notes": "TODO: verify Cursor's elicitation support level; as of cataloguing Cursor's MCP client speaks the 2025-03-26 baseline plus selective 2025-06-18 features. Marked partial pending confirmation from https://docs.cursor.com/context/model-context-protocol "
}
},
{
"from": "agent-runtime-impl:cursor.runtime@current",
"to": "capability:mcp-resource-links",
"kind": "supports",
"attributes": {
"versionRange": ">=0.40.0",
"level": "partial",
"notes": "TODO: confirm Cursor's handling of resource link payloads from MCP tool results (introduced in MCP 2025-06-18). Marked partial pending review of https://docs.cursor.com/context/model-context-protocol "
}
},
{
"from": "agent-runtime-impl:cursor.runtime@current",
"to": "capability:mcp-stdio",
"kind": "supports",
"attributes": {
"versionRange": "*",
"level": "full",
"notes": "Cursor's MCP integration brokers stdio-transport servers configured in the project or user MCP settings. "
}
},
{
"from": "agent-runtime-impl:cursor.runtime@current",
"to": "capability:mcp-structured-tool-output",
"kind": "supports",
"attributes": {
"versionRange": ">=0.40.0",
"level": "partial",
"notes": "TODO: confirm whether Cursor's MCP client consumes `structuredContent` payloads or only flattens them to text. "
}
},
{
"from": "agent-runtime-impl:cursor.runtime@current",
"to": "capability:supports-mcp",
"kind": "supports",
"attributes": {
"versionRange": ">=0.40.0",
"level": "full",
"notes": "Cursor connects MCP servers via stdio transport. Configured per-project or globally. "
}
},
{
"from": "agent-runtime-impl:cursor.runtime@current",
"to": "env-var:cursor-config-dir",
"kind": "has_env_var",
"attributes": {}
},
{
"from": "agent-runtime-impl:cursor.runtime@current",
"to": "mcp-transport:stdio",
"kind": "speaks",
"attributes": {}
},
{
"from": "agent-runtime-impl:cursor.runtime@current",
"to": "mcp-transport:http-sse",
"kind": "speaks",
"attributes": {}
}
],
"incomingEdges": [
{
"from": "agent-version:cursor@current",
"to": "agent-runtime-impl:cursor.runtime@current",
"kind": "composed_of",
"attributes": {
"role": "runtime"
}
},
{
"from": "mcp-transport:http-sse",
"to": "agent-runtime-impl:cursor.runtime@current",
"kind": "spoken_by",
"attributes": {}
},
{
"from": "mcp-transport:stdio",
"to": "agent-runtime-impl:cursor.runtime@current",
"kind": "spoken_by",
"attributes": {}
}
]
}