Skip to content

Connect an agent with the MCP server

Documentation Index

Fetch the complete documentation index at: https://docs.sourcery.ai/llms.txt

Use this file to discover all available pages before exploring further.

Connect your coding agent to the Sourcery MCP server at https://mcp.sourcery.ai/mcp so it can request reviews and fix Sourcery’s review comments and security findings.

Terminal window
claude mcp add --transport http -s user sourcery https://mcp.sourcery.ai/mcp

Then run /mcp in Claude Code, select sourcery and choose Authenticate. Your client opens Sourcery in the browser to sign in.

Ask your agent:

  • Request a Sourcery review of this pull request.
  • Get Sourcery’s review of this pull request and fix the comments that are still open.
  • Fix the critical and high security issues Sourcery found in this repository.

Every endpoint in the API reference is also a tool. The security tools need security scanning on the account.