Vulnify MCP
OfficialVulnify MCP lets an AI agent obtain and inspect runtime authorization decisions for proposed actions and test/plan policies without approving reviews or applying changes.
Dry-run proposed actions with
check_actionagainst stored policies; no event, audit entry, PII scan, event id, orfinalDecision.Record real action decisions with
decide_action; returns authoritativefinalDecision(ALLOW,REVIEW, orBLOCK) and writes security/audit records.Read or poll recorded decisions with
get_decision; can wait up to 30 seconds for aREVIEWto resolve.List organization policies as code with
list_policies.Test up to 200 policy cases with
test_policies, optionally against unsaved proposed policies.Preview policy creates/updates/deletes with
plan_policy_changes; dry-run only, never applies changes.Check a downstream MCP tool call with
check_mcp_tool_call; records the decision but does not execute the tool.Hosted OAuth exposes five tools; API-key/local stdio exposes all seven, including
plan_policy_changesandcheck_mcp_tool_call.It cannot approve/deny reviews, apply policies, execute downstream tools, or forward HTTP calls.
This server has a remotely hosted endpoint. Open its connector listing for connection details, authentication requirements, and setup instructions:
@vulnify/mcp is the MCP server for Vulnify, a runtime authorization layer for AI agents. The agent asks first. This process proxies https://api.vulnify.io. It does not store events or API keys.
Sign in with Vulnify (OAuth 2.1) at https://mcp.vulnify.io/mcp. That hosted server speaks stateless Streamable HTTP. The local path is npx -y @vulnify/mcp with VULNIFY_API_KEY.
check_action is a dry run. It skips the PII scan and records nothing. decide_action records a real decision. A REVIEW waits for a person. This server cannot approve or deny one.
Application code that should decide inside your own process uses the Node SDK (@vulnify/sdk). This package does not depend on the SDK. The SDK turns some transport failures into a fail-closed decision. This server returns those failures as MCP tool errors, so a model does not read them as ALLOW.
Quickstart
The source of truth is docs.vulnify.io/mcp. The same steps are in docs/clients.md.
Sign in with Vulnify
Connect to https://mcp.vulnify.io/mcp. Leave API-key and OAuth client fields empty. The client receives HTTP 401 and:
WWW-Authenticate: Bearer realm="https://mcp.vulnify.io/mcp", resource_metadata="https://mcp.vulnify.io/.well-known/oauth-protected-resource/mcp", scope="decisions:read decisions:write policies:read policies:test"The body is {"error":"unauthorized","message":"Sign in with Vulnify, or send an API key as Authorization: Bearer or X-Vulnify-Key:."}. Protected-resource metadata lists the authorization server https://api.vulnify.io.
You choose an organization and allow the scopes the client requests:
Scope | Tools |
|
|
|
|
|
|
|
|
After you allow access, the hosted server offers those five tools. plan_policy_changes and check_mcp_tool_call are not in that list. They need an API key. A missing scope comes back as a tool error that names the scope. That error is not an ALLOW. Revoke the connection under Settings > Connected apps: app.vulnify.io/settings/connected-apps.
Claude
Vulnify is available in Claude's connector directory: Connect to Claude. Select Connect on the listing, then sign in with Vulnify. Walkthrough: human approval for Claude actions.
To add it by URL instead, open Settings > Connectors > Add custom connector. Set the URL to https://mcp.vulnify.io/mcp. Do not paste an API key. Add Vulnify in Claude opens that dialog with the name and URL filled in. Claude then starts Sign in with Vulnify.
Cursor
Install in Cursor adds the hosted server and starts sign-in.
The same server in .cursor/mcp.json, or in ~/.cursor/mcp.json, is the URL with no header:
{
"mcpServers": {
"vulnify": {
"url": "https://mcp.vulnify.io/mcp"
}
}
}Grok
Open grok.com/connectors, then New Connector > Custom. Name it Vulnify. Set the URL to https://mcp.vulnify.io/mcp. Leave the OAuth fields empty. Grok starts Sign in with Vulnify.
Claude Code
Add the Vulnify marketplace, then install the plugin. It connects to https://mcp.vulnify.io/mcp and signs in with Vulnify. A PreToolUse hook checks risky tool calls before they run. Claude Code asks for an API key for that hook when you enable the plugin. The hosted tools still use sign-in, not that key.
claude plugin marketplace add vulnify/vulnify-mcp
claude plugin install vulnify@vulnify-mcpInside a session:
/plugin marketplace add vulnify/vulnify-mcp
/plugin install vulnify@vulnify-mcpTo add only the hosted server, without the hook:
claude mcp add --transport http vulnify https://mcp.vulnify.io/mcpClaude Code then signs in. Do not pass an API key on this command.
API key or local npx
Use an API key when you need plan_policy_changes or check_mcp_tool_call, when the client cannot open a browser, or when the key has an IP allowlist. The local process needs Node.js 20 or newer and reads VULNIFY_API_KEY. It does not open the OAuth consent page.
npx -y @vulnify/mcpVULNIFY_API_KEY=vln_live_... npx -y @vulnify/mcpThe key is vln_live_... or vln_test_.... A TEST key stores sandbox events. Those stay out of the main dashboards.
On the hosted server, both headers still work. Send the key on every request:
Authorization: Bearer <key>
X-Vulnify-Key: <key>An API-key session lists all seven tools.
Cursor, hosted:
{
"mcpServers": {
"vulnify": {
"url": "https://mcp.vulnify.io/mcp",
"headers": {
"Authorization": "Bearer vln_live_..."
}
}
}
}Cursor, local:
{
"mcpServers": {
"vulnify": {
"command": "npx",
"args": ["-y", "@vulnify/mcp"],
"env": {
"VULNIFY_API_KEY": "vln_live_..."
}
}
}
}X-Vulnify-Key works in place of Authorization on the hosted server.
Claude Code with an API key:
claude mcp add --transport http vulnify https://mcp.vulnify.io/mcp --header "Authorization: Bearer vln_test_your_key"Prefer an environment variable over a key written into the shell history. For sign-in, use the Claude Code command with no header. The plugin hook asks for its own API key when you enable it. Do not put that key on claude mcp add.
Claude Desktop can run the local process. On macOS the file is ~/Library/Application Support/Claude/claude_desktop_config.json. On Windows it is %APPDATA%\Claude\claude_desktop_config.json. Restart the app after saving.
{
"mcpServers": {
"vulnify": {
"command": "npx",
"args": ["-y", "@vulnify/mcp"],
"env": {
"VULNIFY_API_KEY": "vln_live_..."
}
}
}
}VS Code, .vscode/mcp.json, hosted:
{
"servers": {
"vulnify": {
"type": "http",
"url": "https://mcp.vulnify.io/mcp",
"headers": {
"Authorization": "Bearer ${input:vulnify-api-key}"
}
}
}
}VS Code, local:
{
"servers": {
"vulnify": {
"type": "stdio",
"command": "npx",
"args": ["-y", "@vulnify/mcp"],
"env": {
"VULNIFY_API_KEY": "${input:vulnify-api-key}"
}
}
}
}Related MCP server: hejdar-mcp
How it works
The finalDecision field is the authoritative result. A tool error is not an ALLOW.
Tools
Every tool has a title and readOnlyHint, destructiveHint, idempotentHint, and openWorldHint. Hints tell the client how to present the tool. They do not change what the tool does.
Tool | API | Records? | readOnlyHint | Notes |
|
| No | true | Skips the PII scan and records nothing. No event id. |
|
| Yes | false | Writes a security event and an audit entry. |
|
| No | true | Reads a decision. Optional wait polls a |
|
| No | true | Policies as code, sorted by name. |
|
| No | true | Up to 200 cases. Skips the PII scan. Proposed |
|
| No | true |
|
|
| Yes | false | Maps a tool name to an action and records the decision. Does not run the tool. |
destructiveHint is false on every tool. openWorldHint is false on every tool, because each call stays inside the caller's own Vulnify organization. idempotentHint is true for the read-only tools and false for decide_action and check_mcp_tool_call. An idempotencyKey makes a retry of a recorded decision return the same event.
Policy list, test, and plan calls are limited to 60 requests per minute per key. Batch dry runs with test_policies. POST /v1/events has its own limit. The OpenAPI text says only that the limit was exceeded.
Safety
This server cannot change a review and cannot save a policy.
There is no approve tool and no deny tool. A human resolves a
REVIEWin Vulnify.There is no apply tool.
plan_policy_changescallsPOST /v1/policies/applywithdryRun: trueon every request. The tool input has nodryRunfield. The server setsdryRunlast, so a caller cannot turn the dry run off. The tool returns the diff.POST /v1/gateway/httpis not a tool. OnALLOW, that API endpoint forwards the HTTP call. This server does not.
plan_policy_changes needs an org-wide LIVE key. A TEST key or an agent-bound key gets 403. An OAuth session does not list plan_policy_changes or check_mcp_tool_call.
OAuth scopes
User login is the hosted HTTP server. The local stdio process still uses an API key. The hosted server maps tools to scopes:
Tool | Scope | OAuth route |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| API key and stdio only | Omitted from OAuth |
| API key and stdio only | Omitted from OAuth |
A token that is missing the scope gets a tool error that names the scope. That error is not an ALLOW. Active introspection results are reused for at most 60 seconds, and never past exp.
Distinct from the MCP gateway
https://mcp.vulnify.io/mcp (and the local stdio process) is the server an MCP client connects to. The client then calls the tools above.
check_mcp_tool_call is different. It sends one tool call to POST /v1/gateway/mcp on api.vulnify.io, records the decision, and stops. It does not execute the tool, and connecting a client to this server does not call that gateway.
IP allowlists
An API key can list allowed source IPs. Calls through https://mcp.vulnify.io/mcp with that key come from the hosted server's egress address, not from the machine where Cursor or VS Code is running. An allowlist that only contains an office or laptop address rejects the hosted server. Use npx -y @vulnify/mcp on a host whose address is on the list. Sign in with Vulnify does not send that API key.
Product
The screenshot is from a demo workspace. The agent is SupportBot.
Audit exports in the Vulnify app are a JSON or CSV download that includes a SHA-256 checksum. SIEM export is JSON or CEF lines.
Configuration
Variable | Where | Required | Purpose |
| stdio process | yes | API key ( |
| both | no | API base URL. Default |
| HTTP | for user login | Bearer secret for |
| HTTP | no | When set, |
| HTTP | no | Listen port. Default |
| HTTP | no | Bind address. Default |
Use an agent-bound LIVE key when a recorded decision should count for one agent. plan_policy_changes needs an org-wide LIVE key.
VULNIFY_TEST_API_KEY is only for npm run test:live. The server does not read it.
HTTP server
npx -y @vulnify/mcp --httpThe container runs the HTTP server as a non-root user:
docker build -t vulnify-mcp .
docker run --rm -p 8080:8080 -e PORT=8080 vulnify-mcpNo API key is required to start the container. Send the key on each request.
curl -sS localhost:8080/health
curl -sS -o /dev/null -w '%{http_code}\n' -X POST localhost:8080/mcp \
-H 'content-type: application/json' -d '{}'The health check prints JSON. The POST without a key prints 401.
GET /.well-known/mcp/server-card.json does not require a key. It lists the tools the server registers (names, descriptions, and input schemas), states that you can sign in with OAuth or send a Vulnify API key in a header, and links to the docs and this repository.
curl -sS https://mcp.vulnify.io/.well-known/mcp/server-card.jsonErrors
Tool failures are MCP tool errors (isError). The API key is not included.
Status | Meaning |
401 | The API key or access token is missing, invalid, revoked, or expired. |
403 | The key is bound to another agent, the caller IP is not allowlisted, the access token lacks a scope, or |
413 | The JSON body is over the API's 200 KB limit. |
429 | The key is rate limited. Policy calls are 60 per minute. Retry a recorded decision with the same |
Security
Report a vulnerability to security@vulnify.io. The disclosure policy is at vulnify.io/disclosure. See SECURITY.md.
Keys are not logged. Request logs are method, path, and status. content sent for a sensitive-data scan is forwarded to the API and is not written to this server's logs. The API scans that text in memory and does not store it.
This package does not run a shell and does not register hooks. Do not put a key in a tool argument or in a committed config file.
Network endpoints this process uses:
https://api.vulnify.io(orVULNIFY_BASE_URL) for every tool call, and forGET /v1/policieswhen an API key is checked. An API key is sent asAuthorization: Bearerto/v1/*. A user access token is sent asAuthorization: Bearerto/v1/mcp/*.POST /oauth/introspecton that same origin, withAuthorization: Bearerset toOAUTH_INTROSPECTION_SECRET, to validatevln_oat_...tokens. The secret is not sent to clients and is not logged.https://mcp.vulnify.io/mcpis the hosted HTTP transport. The server process does not call that URL.
Development
npm install
npm test
npm run lint
npm run buildnpm run test:live calls list_policies on https://api.vulnify.io when VULNIFY_TEST_API_KEY is set, and skips when it is not. It does not record an event.
Publishing is described in RELEASING.md.
License
MIT. Copyright 2026 Vulnify.
Available Tools
7 toolscheck_actionCheck actionARead-onlyIdempotentInspect
Use for what-if questions when you are not about to act. Dry-run a proposed action against the organization policies (POST /v1/policies/test, one case, stored policies). This skips the PII scan and records nothing: no security event and no audit entry. There is no content field and no DLP scan. The result has no event id and no finalDecision. decide_action is the call that records a decision. Dry runs are limited to 60 requests per minute per key. test_policies covers up to 200 cases in one call.
Inputs: agent (required), action (required), resource (required), destination, +2 more. Returns: results
check_mcp_tool_callCheck MCP tool callAInspect
Records a decision for a downstream MCP tool call (POST /v1/gateway/mcp). Vulnify maps the tool name to an action by substring and returns the same recorded decision as decide_action, including an id. This writes a security event and an audit entry. The tool arguments are not executed. The finalDecision field is the authoritative result. A REVIEW or BLOCK finalDecision means the downstream tool was not allowed. This server cannot approve the review. An idempotencyKey makes a retry return the same event.
Inputs: tool (required), agent, agentId, content, +7 more. Returns: id, finalDecision
decide_actionDecide actionAInspect
Call this before a consequential action with any tool or connector: sending an email or message, exporting or sharing data, deleting data, writing to production or financial records, payments, or external API writes. ALLOW: proceed. REVIEW: hold the action, tell the user it waits for approval in Vulnify, and check again with get_decision. BLOCK: skip the action and explain the reasons. Records a decision for a proposed action (POST /v1/events). This writes a security event and an audit entry, counts toward the organization quota, and may open a human review. The finalDecision field is the authoritative result. decision is what was stored and does not change when a review is resolved. finalDecision stays REVIEW until a human approves, denies, or the review expires. This tool does not approve the review. A REVIEW or BLOCK finalDecision means the action was not allowed. Optional content is scanned in memory and is not stored. An idempotencyKey makes a retry return the same event.
Inputs: action (required), agent, agentId, content, +5 more. Returns: id, finalDecision
get_decisionGet decisionARead-onlyIdempotentInspect
Read a recorded decision (GET /v1/events/{id}), including a REVIEW. finalDecision is REVIEW while the review is pending, then ALLOW after approval or BLOCK after denial or expiry. decision itself does not change. The finalDecision field is the authoritative result. waitMs polls until finalDecision is ALLOW or BLOCK, or until the bounded wait elapses (30 seconds maximum). waitTimedOut is true when the wait ended and finalDecision is still REVIEW. This does not approve or deny the review.
Inputs: id (required), waitMs, pollIntervalMs. Returns: id, waitTimedOut, finalDecision
list_policiesList policiesARead-onlyIdempotentInspect
List the organization policies as code (GET /v1/policies). Returns apiVersion vulnify.io/v1 and policies sorted by name. Read-only. Any non-revoked API key of the organization may call it. Limited to 60 requests per minute per key.
Inputs: no named parameters. Returns: policies, apiVersion
plan_policy_changesPlan policy changesARead-onlyIdempotentInspect
Diff policy creates, updates, and deletes without writing them (POST /v1/policies/apply). dryRun is forced to true and cannot be turned off. Nothing is stored and no audit entry is written. prune only marks missing policies for deletion in the plan. Requires an org-wide LIVE API key; a TEST key or an agent-bound key is refused with 403. This tool does not apply the plan.
Inputs: policies (required), prune. Returns: dryRun, changes
test_policiesTest policiesARead-onlyIdempotentInspect
Evaluate up to 200 policy cases without recording an event (POST /v1/policies/test). When policies is omitted, the enabled stored policies are used. When policies is set, those proposed policies are evaluated instead and nothing is written. This skips the PII scan: cases have no content field. pass is null when a case omits expect. One call covers up to 200 cases. Limited to 60 requests per minute per key.
Inputs: cases (required), policies. Returns: results
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 7 tools
Several tools share the same underlying endpoint and near-identical semantics: check_action and test_policies both hit POST /v1/policies/test as dry-runs, and check_mcp_tool_call vs decide_action both record decisions (one keyed to MCP tool names, one to general actions). The descriptions do a good job cross-referencing each other to steer selection, but the boundaries are genuinely blurry in places.
Names follow a mostly predictable verb_noun pattern (list_policies, test_policies, check_action, decide_action, get_decision). Minor deviations exist—plan_policy_changes uses a longer noun phrase and plural/singular usage is inconsistent (list_policies vs check_action)—but the convention is readable and consistent overall.
Seven tools is well-scoped for a policy governance and decision-recording server. Each tool maps to a distinct capability (list, test, plan, check, decide, get) without redundancy that would bloat the surface.
The read/test/decide/get lifecycle is covered, but there are notable gaps: plan_policy_changes only produces a plan with no corresponding apply tool, and no tool can approve or deny a review (explicitly noted as out of scope). Agents hitting a REVIEW have no resolution path within this server.
Maintenance
Related MCP Connectors
Test your AI agents for security and safety weaknesses, and re-verify the fixes.
Deterministic allow/require_approval/deny verdicts for agent actions, before they happen.
Security gateway for AI agents: policy, approval, and audited execution, no secrets shared.
Pay-per-call cybersecurity for AI agents: vuln scans, threat intel, compliance, code security.
Related MCP Servers
- AlicenseAqualityCmaintenanceSecurity co-pilot for AI agents. Scans for vulnerabilities like prompt injection, infinite loops, and token bombing in AI Agents, audits MCP servers, verifies AGENTS.md governance, and generates EU AI Act compliance reports.10159 npm3Apache 2.0
- AlicenseAqualityCmaintenanceRuntime policy enforcement for AI agents. Evaluate every agent action against your organization's policies before execution, with observe and enforce modes.11MIT
- AlicenseAqualityFmaintenanceEnables agentic coding clients to enforce portable policy guardrails by evaluating proposed shell, file write, git, and network actions and returning allow, deny, or ask decisions.2MIT
- AlicenseNot gradedqualityBmaintenanceEnforces configurable policies on AI agent tool calls, allowing, requesting review, or denying actions before they are executed.MIT