KosmoKrator

other

Cursor MCP Integration for Codex

Connect Cursor to Codex through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.

4 functions 4 read 0 write API key auth

Connect Cursor to Codex

Use KosmoKrator as a local MCP proxy for Codex so coding sessions can reach selected integrations with explicit write policy.

Register kosmo mcp:serve as a local stdio server and choose the integration allowlist. The gateway is local, scoped to this integration, and starts with --write=deny so Codex can inspect read-capable tools without receiving write access by default.

Cursor MCP Config for Codex

Keep write access denied or ask-based unless the workspace is trusted.

{
  "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

Scoped tools

Expose only Cursor instead of a broad multi-service tool list.

Local credentials

Reuse credentials already configured for the KosmoKrator CLI and Lua runtime.

Write policy

Start read-only, then opt into ask or allow for trusted workspaces.

Cursor Tools Visible to Codex

Codex sees stable MCP tool names generated from the Cursor integration catalog.

MCP toolSource functionTypeDescription
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.

Related Cursor Pages