New Your team’s decisions, in one playbook every coding agent works from. Never answer your agent twice

scan_repository

Trigger a Level 1 + Level 2 security scan on a GitHub pull request. Returns SAST findings, taint flows, entropy-detected secrets, and (for PRO users) LLM-triaged results. Requires Graneth authentication.

SERVERMcp Server SOURCE@graneth/mcp-server
High RISK CLASS
Category Execute
Parameters 44 required
Recommended Rate-limitedsee the rule below
Registry record Grade D, identity unverified Pull the record →

This record as markdown: /tools/com-graneth-mcp-server/scan-repository.md

What scan_repository does on Mcp Server

AI agents invoke scan_repository to trigger actions in Mcp Server. What it does depends on the arguments the agent supplies, and its effects often reach beyond the immediate call: builds kicked off, notifications sent, workflows started.

ParameterTypeRequiredDescription
repo string Yes GitHub repository name
owner string Yes GitHub repository owner
token string Yes GitHub access token with repo read permissions
pull_number integer Yes Pull request number to scan

Parameters from the server's own tool schema.

Why scan_repository is rated High

Triggers external security scan operations on a repository, executing analysis workflows with side effects.

From the tool's definition Trigger a Level 1 + Level 2 security scan on a GitHub pull request

Risk signalsHandles credentials or secrets (token)

Questions about scan_repository

What does the scan_repository tool do? +

Trigger a Level 1 + Level 2 security scan on a GitHub pull request. Returns SAST findings, taint flows, entropy-detected secrets, and (for PRO users) LLM-triaged results. Requires Graneth authentication. It is categorised as a Execute tool in the Mcp Server MCP Server, which means it can trigger actions or run processes. Use rate limits and argument validation.

What parameters does scan_repository accept? +

scan_repository accepts 4 parameters: repo, owner, token, pull_number. Required: repo, owner, token, pull_number. The full parameter table on this page comes from the server's own tool schema.

How do I enforce a policy on scan_repository? +

Register the Mcp Server MCP server in PolicyLayer and add a rule for scan_repository: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches Mcp Server. Nothing to install.

What risk level is scan_repository? +

scan_repository is a Execute tool with high risk. Execute tools should be rate-limited and have argument validation enabled.

Can I rate-limit scan_repository? +

Yes. Add a rate_limit block to the scan_repository rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.

How do I block scan_repository completely? +

Set action: deny in the PolicyLayer policy for scan_repository. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.

What MCP server provides scan_repository? +

scan_repository is provided by the Mcp Server MCP server (@graneth/mcp-server). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.

More on Mcp Server, and thousands of servers like it.

// THE MCP REGISTRY

PolicyLayer tracks 44,603 MCP servers and 515,000+ tools.

Every server has a live record: who publishes it, whether it answers without auth, its risk grade, every tool classified, the recommended policy. This page is one line of Mcp Server's. Pull the full record:

Teams ship this data inside their own products. See what a licence covers →

// GET IN TOUCH

Have a question or want to learn more? Send us a message.

Message sent.

We'll get back to you soon.