Skip to content
sentrasec

Connect Claude Code

Add the Sentrasec MCP server to Claude Code so you can scan and reason over findings from your terminal.

Add the server

Register the server once. Claude Code stores it and starts it automatically in future sessions:

Terminal
$ claude mcp add sentrasec --env SENTRASEC_APP_ID=app_... --env SENTRASEC_APP_KEY=sk_prod_... -- sentrasec mcp serve

Replace sk_prod_... with your API key. See Authentication for how to create one.

Use it

Confirm it registered with claude mcp list, then ask Claude something like:

Scan this project for security issues and suggest fixes for anything high severity.

See the tools reference for everything the agent can call.