other
Cursor MCP Integration for OpenAI Agents SDK
Connect Cursor to OpenAI Agents SDK through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.
Connect Cursor to OpenAI Agents SDK
Attach KosmoKrator integration tools to OpenAI Agents SDK workflows through a local MCP gateway.
Start the KosmoKrator MCP gateway locally and point the OpenAI Agents SDK MCP tool at that process or wrapper. The gateway is local, scoped to this integration, and starts with
--write=deny so OpenAI Agents can inspect read-capable tools without receiving write access by default.
Cursor MCP Config for OpenAI Agents SDK
Use headless JSON commands for CI-style execution and MCP for agent tool discovery.
{
"mcpServers": {
"kosmokrator-cursor": {
"type": "stdio",
"command": "kosmo",
"args": [
"mcp:serve",
"--integration=cursor",
"--write=deny"
]
}
}
} Run the Gateway Manually
kosmokrator mcp:serve --integration=cursor --write=deny Why Use KosmoKrator Here
Expose only Cursor instead of a broad multi-service tool list.
Reuse credentials already configured for the KosmoKrator CLI and Lua runtime.
Start read-only, then opt into ask or allow for trusted workspaces.
Cursor Tools Visible to OpenAI Agents
OpenAI Agents sees stable MCP tool names generated from the Cursor integration catalog.
| MCP tool | Source function | Type | Description |
|---|---|---|---|
integration__cursor__cursor_list_workspaces | cursor.cursor_list_workspaces | Read | List all Cursor workspaces accessible to the authenticated user. Returns workspace IDs you can use with other Cursor tools. |
integration__cursor__cursor_get_workspace | cursor.cursor_get_workspace | Read | Get details for a specific Cursor workspace by its ID. |
integration__cursor__cursor_list_team_members | cursor.cursor_list_team_members | Read | List all team members in a Cursor workspace. Returns member names, emails, and roles. |
integration__cursor__cursor_list_extensions | cursor.cursor_list_extensions | Read | List all extensions installed in a Cursor workspace. Returns extension names, identifiers, and versions. |