
A modular FastMCP server for interacting with Microsoft Graph API, supporting advanced queries for users, sign-in logs, MFA status, and privileged users.

An MCP server that connects Contrast Security to AI coding agents, offered both as a hosted remote server and as an open-source local server.
Contrast MCP Server is cataloged as an MCP server attributed to contrast-security-oss. An MCP server that connects Contrast Security to AI coding agents, offered both as a hosted remote server and as an open-source local server. It is categorized under auth security. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.
Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.
Catalog license label: Not specified. Check the source repository's current license and terms before using, modifying or distributing this software.
Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.
No reviewed records to display. This does not establish that upstream lacks this capability.
No reviewed records to display. This does not establish that upstream lacks this capability.
No reviewed records to display. This does not establish that upstream lacks this capability.
Email delivery is not connected. This page does not collect email addresses or create subscriptions.
Browse the registry for current listings instead.
Reviews for Contrast MCP Server are not available yet
Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.
The hosted server is a remote, read-only server operated by Contrast for SaaS customers, while the local server is open-source, runs as a local process with API keys, and supports on-premises and EOP instances.
No; every hosted tool is read-only, so data cannot be modified, updated, or deleted through the hosted server.
README.md · 109602b47ebf · Fetched 2026-11-13 09:56:05 UTC
Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.
Showing the last retrieved documentation snapshot; check the source for current changes.
The Contrast MCP Server connects Contrast Security to your AI coding agent so you can remediate vulnerabilities, update insecure libraries, and analyze security coverage through natural language.
It comes in two forms.
[!WARNING] CRITICAL SECURITY WARNING: Exposing Contrast vulnerability data to an AI service that trains on your prompts can leak sensitive information. Only use the Contrast MCP Server with environments that contractually guarantee data isolation and prohibit model training on your inputs.
Verify AI Data Privacy: Confirm that your service agreement prevents model training on your prompts and consult your security team before sharing Contrast data.
UNSAFE: Public consumer LLM sites (e.g., free ChatGPT, Gemini, Claude) that use prompts for training.
POTENTIALLY SAFE: Enterprise services with contractual privacy guarantees (e.g., Google Cloud AI, AWS Bedrock, Azure OpenAI).
The Hosted MCP Server, a remote MCP server that Contrast operates for you, is the easiest way to connect an AI agent to Contrast. You point your client at one URL, sign in through your browser, and your agent can start asking questions about your security data. There are no API keys to copy around, no container or JAR to keep updated, and no local process to run.
The hosted server is read-only and is available now for Contrast SaaS.
Add the server to Claude Code by pointing it at your Contrast host followed by /mcp.
claude mcp add --transport http contrast-hosted-mcp https://app.contrastsecurity.com/mcp
Replace app.contrastsecurity.com with your organization's Contrast URL if you use a dedicated instance. The first time your agent calls a tool, your browser opens for sign-in. If sign-in does not start automatically, run /mcp in Claude Code and choose Authenticate for contrast-hosted-mcp. You log in with your existing Contrast credentials, choose an organization, and approve read access. Your session refreshes on its own, so you typically sign in once and keep working.
For step-by-step setup for Claude Code, Claude Desktop, the Codex CLI, the GitHub Copilot CLI, and opencode, see the Hosted MCP Server installation guide.
Any MCP client that supports Streamable HTTP transport and OAuth 2.0 with PKCE can connect.
| Setting | Value |
|---|---|
| Endpoint URL | https://<your-contrast-host>/mcp (for example https://app.contrastsecurity.com/mcp) |
| Transport | Streamable HTTP (stateless) |
| HTTP method | POST |
| Authentication | OAuth 2.0 with PKCE (S256) |
| OAuth scopes | openid, profile, offline_access |
Your client discovers the OAuth configuration automatically through the WWW-Authenticate response header, which points to the standard /.well-known/oauth-protected-resource metadata document. Clients that support Dynamic Client Registration can register at /oauth2/connect/register on the Contrast origin.
These OAuth scopes cover identity only, and that is deliberate. The token grants no data permissions of its own. Authorization is decided by the Contrast platform on every request, using the signed-in user's existing role-based access control. This means there is no broadly-scoped token for an agent to hold or leak, and no authorization scope to get wrong at connection time. See Security and privacy for the full model.
| Client | Status |
|---|---|
| Claude Code CLI | Working |
| Codex CLI | Working |
| GitHub Copilot CLI | Working |
| opencode | Working |
| Claude Desktop | Working |
| Gemini CLI | Not yet supported, OAuth compatibility issue |
| VS Code Copilot plugin | Not yet supported, OAuth compatibility issue |
Support for more clients is in progress as their OAuth handling matures. If your client fails during OAuth registration before the login page appears, that is usually a client compatibility issue rather than a problem with your account.
The hosted server changes how access works without changing what you are allowed to see.
The shared warning above still applies. Tool results become part of your AI conversation, so follow your organization's policy on what security data can be sent to your chosen AI client and model.
Both servers share the same core tools, so the table below covers them together. The Hosted and Local columns show which server provides each tool. Your agent calls the tools automatically based on your questions.
| Tool | Description | Hosted | Local |
|---|---|---|---|
get_user_info | Show who you are signed in as and which organization is active | ✅ | — |
| Tool | Description | Hosted | Local |
|---|---|---|---|
search_vulnerabilities | Search vulnerabilities across all applications (org-level) | ✅ | ✅ |
search_app_vulnerabilities | Search vulnerabilities within a specific application with session filtering | ✅ | ✅ |
get_vulnerability | Get detailed vulnerability info including stack trace and remediation guidance | ✅ | ✅ |
list_vulnerability_types | List all available vulnerability types for filtering | ✅ | ✅ |
| Tool | Description | Hosted | Local |
|---|---|---|---|
search_applications | Search applications by name, tag, or metadata filters | ✅ | ✅ |
get_session_metadata | Get session metadata fields available for an application | ✅ | ✅ |
| Tool | Description | Hosted | Local |
|---|---|---|---|
search_servers | Search the server inventory for agent health and Protect coverage | ✅ | ✅ |
| Tool | Description | Hosted | Local |
|---|---|---|---|
list_application_libraries | List libraries used by an application with class usage statistics and vulnerability counts | ✅ | ✅ |
list_applications_by_cve | Find applications affected by a specific CVE | ✅ | ✅ |
| Tool | Description | Hosted | Local |
|---|---|---|---|
search_attacks | Search attack events with filtering by status, type, and rules | ✅ | ✅ |
get_protect_rules | Get protection rules configured for an application | ✅ | ✅ |
| Tool | Description | Hosted | Local |
|---|---|---|---|
get_route_coverage | Get route coverage data showing exercised vs discovered routes | ✅ | ✅ |
| Tool | Description | Hosted | Local |
|---|---|---|---|
get_scan_project | Get SAST project details and vulnerability counts | ✅ | ✅ |
get_scan_results | Get SAST scan results in SARIF format | — | ✅ |
These tools are available only on the hosted server and require the Contrast unified data platform (NorthStar) to be enabled for your organization.
| Tool | Description | Hosted | Local |
|---|---|---|---|
search_cves | Search CVEs across your organization for CVE Shield exposure and risk | ✅ | — |
list_cve_issues | List affected applications and libraries for a CVE, one issue per pair | ✅ | — |
get_cve_impact | Get CVE risk, exposure, and shield protection posture across your organization | ✅ | — |
search_issues | Search and filter security issues across your organization | ✅ | — |
get_issue | Get full details for a specific issue | ✅ | — |
list_issue_incidents | List incidents linked to an issue | ✅ | — |
list_issues_by_library | List open issues associated with an application library | ✅ | — |
search_incidents | Search and filter incidents | ✅ | — |
get_incident | Get full details for a specific incident | ✅ | — |
list_incident_issues | List issues linked to an incident | ✅ | — |
get_observation | Get full details for a specific observation | ✅ | — |
list_issue_observations | List observations linked to an issue (cursor-paginated) | ✅ | — |
list_incident_observations | List observations linked to an incident (cursor-paginated) | ✅ | — |
The Local MCP Server is the open-source server in this repository. Your MCP client launches it as a local process over stdio, it authenticates with Contrast API and service keys, and it connects to your own Contrast instance, including on-premises and EOP. Use it when you cannot use the hosted server, or when you need raw SARIF scan output.
The local server provides the tools marked Local in Available tools above.
Click the button above to automatically install in VS Code. For manual setup, see the VS Code (GitHub Copilot) Installation Guide.
Add this to your mcp.json configuration file and replace the placeholder values with your Contrast credentials:
{
"servers": {
"contrast": {
"command": "docker",
"args": [
"run",
"-e",
"CONTRAST_HOST_NAME",
"-e",
"CONTRAST_API_KEY",
"-e",
"CONTRAST_SERVICE_KEY",
"-e",
"CONTRAST_USERNAME",
"-e",
"CONTRAST_ORG_ID",
"-i",
"--rm",
"contrast/mcp-contrast:latest",
"-t",
"stdio"
],
"env": {
"CONTRAST_HOST_NAME": "example.contrastsecurity.com",
"CONTRAST_API_KEY": "example",
"CONTRAST_SERVICE_KEY": "example",
"CONTRAST_USERNAME": "example@example.com",
"CONTRAST_ORG_ID": "example"
}
}
}
}
📖 Full IntelliJ (GitHub Copilot) Installation Guide - Includes step-by-step setup and JAR deployment option
Getting the JAR file (download, attestation verification, and build from source), proxy configuration, and troubleshooting have moved to the Local MCP Server guide.
These prompts work with either server, except where a section says otherwise.
These prompts require the hosted server and the Contrast unified data platform (NorthStar) to be enabled for your organization.
The Contrast MCP Server provides a bridge between your Contrast Data and the AI Agent/LLM of your choice. By using Contrast's MCP server you will be providing your Contrast Data to your AI Agent/LLM, it is your responsibility to ensure that the AI Agent/LLM you use complies with your data privacy policy. Depending on what questions you ask the following information will be provided to your AI Agent/LLM.
See CHANGELOG.md for the complete release history, including breaking changes and new features.
Claim this server with your GitHub account to request manual ownership verification.
Link to the catalog listing for Contrast MCP Server from your README. This badge does not certify ownership, compatibility or security.
[](https://awesome-mcp.com/servers/mcp-contrast)Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.
Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.
No reviewed package or image identity; download statistics are not listed yet.
Alternative and complementary servers in the same category

A modular FastMCP server for interacting with Microsoft Graph API, supporting advanced queries for users, sign-in logs, MFA status, and privileged users.

A Model Context Protocol (MCP) server that provides programmatic access to Keycloak administration functionality.

An MCP server for LLM-driven penetration testing that wraps Kali tools and adds scope enforcement, engagement tracking, and structured output.