Secureframe MCP Server
Provides AI assistants with read-only access to Secureframe's compliance data, enabling querying of security controls, tests, users, vendors, and more across frameworks like SOC 2 and ISO 27001.
README
Secureframe MCP Server
This Model Context Protocol server provides read-only access to Secureframe's compliance automation platform for AI assistants like Claude and Cursor. Query security controls, monitor compliance tests, and access audit data across SOC 2, ISO 27001, CMMC, FedRAMP, and other frameworks.
β οΈ Disclaimer: This MCP server is currently in public beta and grants AI assistants read-only access to your Secureframe compliance data. While the server only performs read operations, always review and validate AI-generated insights before making any compliance or security decisions. You are responsible for ensuring all AI outputs align with your organization's compliance policies and security standards.
π Quick Start
Prerequisites
- Python 3.7 or higher
- Secureframe API credentials (Get them here)
- Claude Desktop, Cursor IDE, or any MCP-compatible tool
Installation
# Clone and setup
git clone https://github.com/secureframe/secureframe-mcp-server.git
cd secureframe-mcp-server
# Create virtual environment (recommended)
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
# Install dependencies
pip install -r requirements.txt
# Configure credentials
cp env.example .env
# Edit .env with your API credentials
π§ Configuration
Claude Desktop
Add to ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"secureframe": {
"command": "python",
"args": ["/absolute/path/to/secureframe-mcp-server/main.py"],
"env": {
"SECUREFRAME_API_KEY": "your_api_key",
"SECUREFRAME_API_SECRET": "your_api_secret",
"SECUREFRAME_API_URL": "https://api.secureframe.com"
}
}
}
}
Cursor IDE
Configure in Cursor's MCP settings:
{
"mcpServers": {
"Secureframe": {
"command": "python",
"args": ["/absolute/path/to/secureframe-mcp-server/main.py"],
"env": {
"SECUREFRAME_API_KEY": "your_api_key",
"SECUREFRAME_API_SECRET": "your_api_secret",
"SECUREFRAME_API_URL": "https://api.secureframe.com"
}
}
}
}
Environment Variables
| Variable | Description | Required |
|---|---|---|
SECUREFRAME_API_KEY |
Your Secureframe API key | β |
SECUREFRAME_API_SECRET |
Your Secureframe API secret | β |
SECUREFRAME_API_URL |
API endpoint (defaults to US region) | β |
Regional Endpoints:
- πΊπΈ US:
https://api.secureframe.com(default) - π¬π§ UK:
https://api-uk.secureframe.com
π Available Tools (11 Read-Only Operations)
| Tool | Purpose |
|---|---|
| list_controls | List security controls across frameworks with filtering |
| list_tests | List compliance tests with pass/fail status |
| list_users | List personnel and their compliance status |
| list_devices | List managed devices and security compliance |
| list_user_accounts | List user accounts from integrations |
| list_tprm_vendors | List third-party risk management vendors |
| list_vendors | List vendors (legacy API) |
| list_frameworks | List available compliance frameworks |
| list_repositories | List code repositories and audit scope |
| list_integration_connections | List integration status and connections |
| list_repository_framework_scopes | List framework scopes for specific repositories |
π‘ Usage Examples
Monitor Failing Controls
# Find controls that need attention for SOC 2
list_controls(
search_query="health_status:unhealthy AND frameworks:soc2_alpha",
per_page=50
)
Find Failing Tests
# Get top 5 failing tests
list_tests(
search_query="health_status:fail",
per_page=5
)
Review High-Risk Vendors
# Find high-risk vendors
list_tprm_vendors(
search_query="risk_level:High",
per_page=20
)
Check User Compliance
# Find inactive contractors
list_users(
search_query="employee_type:contractor AND active:false",
per_page=100
)
π Search Capabilities
The server supports powerful Lucene query syntax for filtering:
Example Queries
Find critical failing tests:
health_status:fail AND frameworks:soc2_alpha
Locate inactive users:
active:false AND employee_type:contractor
Search high-risk vendors:
risk_level:High AND archived:false
Common Search Fields
<details> <summary><strong>Controls & Tests</strong></summary>
health_status- For controls: healthy, unhealthy, draft. For tests: pass, fail, disabledenabled- true/falsetest_type- integration, upload
</details>
<details> <summary><strong>Personnel</strong></summary>
active- true/falseemail- User email addressemployee_type- employee, contractor, non_employee, auditor, externalin_audit_scope- true/false
</details>
<details> <summary><strong>Vendors (TPRM)</strong></summary>
risk_level- Low, Medium, Highstatus- draft, completedarchived- true/false
</details>
<details> <summary><strong>Repositories</strong></summary>
private- true/falsein_audit_scope- true/false
</details>
π οΈ Development
Debug with MCP Inspector
npx @modelcontextprotocol/inspector python main.py
π Resources
π― Obtaining API Credentials
- Log into Secureframe
- Navigate to Profile Picture β Company Settings β API Keys
- Click Create API Key
- Save your credentials securely (secret shown only once)
βοΈ License
This project is licensed under the MIT License. See LICENSE for details.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.