Pensar’s MCP server does not guarantee that coding agents won’t generate insecure code but will dramatically improve the security quality of the code generated.
We still recommend using Pensar’s full code security review features to ensure no vulnerabilities are being shipped to production.
We still recommend using Pensar’s full code security review features to ensure no vulnerabilities are being shipped to production.
Installation
1
Generate an API Key
Visit the Pensar Console to setup a workspace and generate an API key.
2
IDE Configuration
We currently support and have tested Cursor, Windsurf, Cline, VS Code Copilot, and Claude.Add the following to your IDE’s MCP config file:Replace <your-api-key> with your Pensar Console API key.Config file locations:Or, you can add the configuration to the
- Cursor:
~/.cursor/mcp.json
- Windsurf:
~/.codeium/windsurf/mcp_config.json
- Cline:
~/.cline/mcp_config.json
- Claude:
~/.claude/mcp_config.json
Ctrl + Shift + P
and running the Preferences: Open User Settings (JSON)
command..vscode/mcp.json
file in your VS Code workspace: