Integrations
Cursor
Cursor mcp.json configuration for SecureMCP-Lite.
Cursor
Fit
Cursor is a strong current fit for SecureMCP-Lite.
Cursor documents MCP support with mcp.json, including stdio-based local servers.
Recommended setup
Create either:
~/.cursor/mcp.json.cursor/mcp.json
Example:
{
"mcpServers": {
"repo-guard": {
"command": "npx",
"args": [
"securemcp-lite",
"start",
"--target",
"npx -y @modelcontextprotocol/server-filesystem .",
"--target-cwd",
"/absolute/path/to/project",
"--config",
"/absolute/path/to/project/secure-mcp.yml"
]
}
}
}
See also:
Rollout steps
- save
secure-mcp.ymlin the repo - add the
repo-guardentry to.cursor/mcp.jsonor~/.cursor/mcp.json - restart or refresh MCP servers in Cursor
- verify allowed and blocked behavior
Suggested rollout
- keep the config project-local first
- commit the YAML policy
- document the expected tools in
AGENTS.mdor repo docs
What to test first
- ask Cursor to read a file inside the repo
- ask Cursor to inspect a directory inside the repo
- attempt a path traversal or non-allowlisted tool
Expected result:
- normal read-only work still works
- risky calls are blocked before they reach the target
Documentation source
- Cursor MCP docs: https://docs.cursor.com/advanced/model-context-protocolExternal