# Pi Security MCP server

> Ask about Pi Security findings, threat models, Gatekeeper PRs and remediation plans in plain English.

## Server URL

`https://mcp.pi.security/mcp` (Streamable HTTP)

- Sign-in: Sign in with Pi Security
- Connect in RevampKey: https://revampkey.com/marketplace/pi-security

## Agent skills (6)

- [Pi Security essentials for safe, focused use with AI](https://revampkey.com/marketplace/pi-security/skills/essentials.md): Confirms which Pi tenant you are querying, picks the right lookup tool, keeps results narrow, and asks before changing anything in Pi.
- [Ingest Markdown Security Reports into Pi Security with AI](https://revampkey.com/marketplace/pi-security/skills/ingest-markdown-report.md): Submits a security report pasted as Markdown or plain text to Pi Security for ingestion. It confirms the tenant and report name, screens the content for secrets, and asks for your explicit yes before the one hosted upload.
- [Pi Security Finding Investigation with AI: Explain and Compare Findings](https://revampkey.com/marketplace/pi-security/skills/investigate-finding.md): Reads one Pi Security finding by display id, UUID or URL, explains it, and shows any existing remediation plan. It only reads: it never changes anything in Pi.
- [Pi Security remediation guidance with AI: find or prepare fix plans](https://revampkey.com/marketplace/pi-security/skills/remediation-guidance.md): Looks up existing remediation plans for a Pi finding or vulnerable package first, and only prepares a missing package plan after you confirm. It does not change code.
- [Pi Security posture review with AI: threat model and Gatekeeper](https://revampkey.com/marketplace/pi-security/skills/review-security-posture.md): Combines an application's threat model with Gatekeeper pull request and issue state to show where open risk concentrates and which boundary-touching changes have not been reviewed. Read-only, so it asks nothing before running.
- [Pi Security design review with AI: start a hosted review from a doc or Markdown](https://revampkey.com/marketplace/pi-security/skills/security-design-review.md): Creates a hosted Pi design review from a Confluence or Notion URL or inline Markdown. It checks the input, confirms the tenant and target, and asks before submitting anything.

All skills: https://revampkey.com/marketplace/pi-security/skills.md

Pi Security is an agentic product security platform. It ingests your codebase, past incidents, pentest reports and tickets, and builds an inventory of your organization's security history. Security teams use it to triage findings, trace vulnerabilities to their root causes, and stop the same bugs from coming back. Engineers use its guardrails during design, coding and pull requests.

When you connect Pi Security to RevampKey, you can ask about findings by display ID, like FND-1042, or by finding URL. You can list threat-model apps and read their sections. You can check Gatekeeper pull requests and issues, read design reviews, and fetch remediation plans for a finding or a package. With your yes, the agent can start a design review, submit a Markdown report, prepare a package remediation plan, or post feedback on the secure-development playbook.

## What you can do

### Compare two findings before you fix either

A developer has FND-1042 open and thinks it may match FND-977. They ask the agent to explain both. The agent looks up each finding by its display ID, summarizes them, and explains how they compare. If a remediation plan exists for either one, the agent fetches it and shows it to the developer.

### Check the threat model before a payments change

An engineer asks what the threat model says about the payments service. The agent lists the threat-model apps, finds the payments app by its slug, and reads the sections the engineer needs. It then checks Gatekeeper issues for that service. It reports what it found and changes nothing in Pi.

### Get a remediation plan for a risky package

A team asks whether lodash has a remediation plan in their storefront repo. The agent looks for an existing package plan. If none exists, it asks you to confirm before it asks Pi to prepare one. Pi builds the plan on its side, and your local code stays unchanged.

## Things to ask

- Explain FND-1042 and how it compares to FND-977.
- What does our threat model say about the payments service?
- List the Gatekeeper PRs and issues for the storefront repo.
- Is there a remediation plan for lodash@4.17.20? If not, ask me before preparing one.
- What does our secure-development playbook say about adding a webhook endpoint?

## What the agent can do

### Findings

List findings and open one by its FND display ID, finding UUID or Pi finding URL. Read the details of two or more findings and compare them side by side.

`pi_findings_list`, `pi_finding_get`

### Remediation plans

Fetch existing remediation plans for a finding or for a package reference such as name@version. With your yes, ask Pi to prepare a package remediation plan when none exists.

`pi_remediation_plan_fetch`, `pi_package_remediation_plan_fetch`, `pi_package_remediation_plan_prepare`

### Design reviews and reports

List design reviews and read one in full. With your yes, start a new review from a Confluence or Notion URL or from Markdown text. You can also submit a security report written in Markdown.

`pi_design_reviews_list`, `pi_design_review_get`, `pi_design_review_url_create`, `pi_design_review_markdown_create`, `pi_report_markdown_upload`

### Threat models and Gatekeeper

List threat-model apps, read a whole app, or read one section by its slug. List Gatekeeper pull requests and issues, then open one record by its UUID to read its details.

`pi_threat_model_apps_list`, `pi_threat_model_app_get`, `pi_threat_model_app_section_get`, `pi_gatekeeper_prs_list`, `pi_gatekeeper_pr_get`, `pi_gatekeeper_issues_list`, `pi_gatekeeper_issue_get`

### Playbook and knowledge

Ask for secure-development guidance for a task in a repo you name. Query the knowledge base for threat-model context. With your yes, post targeted feedback on the playbook.

`pi_playbook_task_query`, `pi_knowledgebase_query`, `pi_playbook_comment_create`

### Account check

Ask which Pi identity you are signed in as. This confirms that the connection points at the Pi tenant you expect.

`whoami`

## FAQ

### What do I need to connect Pi Security to RevampKey?

You need access to a Pi Security tenant. Click Connect in RevampKey, then approve access on Pi Security's own sign-in page using OAuth. Your tenant comes from your signed-in session. You can ask the agent to run whoami to confirm which identity you are using.

### What can the agent do in Pi Security, and what can't it do?

It can list and read findings, threat models, Gatekeeper records, design reviews and remediation plans. It can also search the playbook and knowledge base. Five tools create or submit items in Pi. None of the tools edit or delete existing Pi records. Pi runs hosted work only, so the agent never edits your local code.

### Does the agent change anything in Pi without asking?

No. Before any of the five write tools runs, the agent shows the exact target and asks for your explicit yes in that turn. It calls each tool once and does not retry on its own after an unclear failure. Check the agent's answers against Pi before you act on them.

### How do I refer to findings and repos in Pi Security?

Use FND-XXX display IDs, finding UUIDs or Pi finding URLs for findings. Threat-model apps and sections use slugs. For repositories, use the slug or ID you give the agent. The agent does not guess repo names from your prompt, so name the repo you mean.

### What is the Pi Security MCP server URL?

The Pi Security MCP server URL is https://mcp.pi.security/mcp. It uses the Streamable HTTP transport, so any client that supports remote MCP servers can connect to it.

### How does the Pi Security MCP server authenticate?

With Pi Security's own sign-in (OAuth). You approve access in your browser; no password is shared with the client.

### What can an AI agent do with the Pi Security MCP server?

It exposes 21 tools: 17 that read and 4 that create or change things. In RevampKey the agent asks before it runs any tool that changes data.

### Are there agent skills for Pi Security?

Yes. 6 SKILL.md playbooks teach an agent how to do real Pi Security work step by step. RevampKey installs them when you connect Pi Security; for Claude Code, Cursor or Codex you can copy them into your project.

## Tools (21)

- `pi_design_review_get`
- `pi_design_review_markdown_create` (changes data)
- `pi_design_review_url_create` (changes data)
- `pi_design_reviews_list`
- `pi_finding_get`
- `pi_findings_list`
- `pi_gatekeeper_issue_get`
- `pi_gatekeeper_issues_list`
- `pi_gatekeeper_pr_get`
- `pi_gatekeeper_prs_list`
- `pi_knowledgebase_query`
- `pi_package_remediation_plan_fetch`
- `pi_package_remediation_plan_prepare`
- `pi_playbook_comment_create` (changes data)
- `pi_playbook_task_query`
- `pi_remediation_plan_fetch`
- `pi_report_markdown_upload` (changes data)
- `pi_threat_model_app_get`
- `pi_threat_model_app_section_get`
- `pi_threat_model_apps_list`
- `whoami`

## Details

- Maker: Pi Security
- Setup: Sign in with your account
- Category: Developer tools, Productivity
- Documentation: https://github.com/pi-sloane/claude-plugin

Page: https://revampkey.com/marketplace/pi-security
