Skip to content
Cursor

Agent Security Contract for Cursor

io.github.justrunme/agent-security-contract

Fail-closed security contract for AI agents and MCP tool calls with pre-execution enforcement.

client:Cursor transport:stdio runtime:pypi

Install Agent Security Contract in Cursor

~/.cursor/mcp.json · windows: %USERPROFILE%\.cursor\mcp.json

{
  "mcpServers": {
    "agent-security-contract": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "agent-security-contract"
      ]
    }
  }
}

Use .cursor/mcp.json in a project root instead to scope it to that project. Cursor merges both. Cursor docs

Agent Security Contract in other clients