
Mcp Server Scf
app.scfcontrolsplatform由 scfcontrolsplatform.app 發布v3.4.2更新於 Oct 27, 2026
MCP server for the SCF Controls Platform — 187 tools for controls, evidence, risk, and TPRM.
概覽
將 AI 助理連接到自架的 SCF Controls Platform,用於安全控制項、框架對應、證據、風險與供應商風險管理。
- 可以做什麼
- 瀏覽 SCF 控制項目錄,將控制項對應到 NIST 800-53、ISO 27001、SOC 2、FedRAMP、GDPR 等框架,並追蹤導入進度與評鑑。管理證據蒐集、證據檔案與證據任務,並執行證據複核。處理風險登錄表、自訂風險與風險矩陣,評估第三方供應商及其風險分數。管理資訊系統、能力主題、組織設定、使用者與通知。依需求載入更多工具群組,涵蓋團隊、協作、文件、專案、保證、目錄對帳、Webhook、旅程與目標。
- 適用情境
- 當你的組織執行自架的 SCF Controls Platform,並想從 AI 用戶端而非網頁介面查詢或更新合規工作時使用。適合控制項對應、稽核證據準備、風險評估與供應商盡職調查。
- 執行需求
- 需要本機 Node.js 執行環境來執行 npm 套件(也可用 Docker 或 Claude Desktop 擴充套件),以及一個正在執行的自架 SCF Controls Platform 執行個體。將 SCF_API_URL 設為該執行個體的基礎網址,SCF_API_KEY 設為平台中建立的 API 金鑰。沒有託管預設位址。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Mcp Server Scf,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
mcp-server-scf
[CI] [Security] [OpenSSF Scorecard] [Socket.dev]
[npm version] [npm downloads] [install size] [License: MIT] [MCP]
Security compliance controls, frameworks, and risk management for AI agents.
Give your AI assistant access to 1,451 SCF security controls, 354+ framework mappings (NIST 800-53, ISO 27001, SOC 2, FedRAMP, GDPR), evidence tracking, risk registers, and vendor risk management — all through the Model Context Protocol.
Built for the SCF Controls Platform. Maintained by ComplianceGenie.io.
🆕 The platform is now open-source, self-hosted software. The SCF Controls Platform — SCF-native GRC tooling for the free Secure Controls Framework content — is published under AGPL-3.0 at scf-controls-platform-oss. Companies download and host it themselves via Docker Compose.
Having trouble? → docs/troubleshooting.md · API key setup → docs/authentication.md · How it works → docs/architecture.md
Overview
mcp-server-scf connects AI assistants to the SCF Controls Platform via MCP, enabling natural language interaction with your compliance program. Your AI can browse the full SCF control catalog, track implementation progress, manage evidence collection, assess risks, and monitor third-party vendors — all without leaving your editor or chat.
47 tools over 254 platform operations, in 18 groups. Each tool is one noun and direction — scf_vendor_read, scf_vendor_write — and its method argument picks the operation; the method description explains each one. Read tools are readOnlyHint: true, so a client can allow them all at once.
Only the core groups are in the tool list at startup (26 tools, about 27k tokens of schema instead of 71k). Call scf_load_tools with the groups you need — or all — and the rest appear; the server sends notifications/tools/list_changed. A client that ignores that notification can set SCF_LOAD_ALL_TOOLS=true to get everything up front. Per-group docs list every method with its parameters; docs/migration-consolidation.md maps each pre-v4 tool name to its tool and method.
| Group | Loaded | Operations | Tools |
|---|---|---|---|
| catalog | core | 10 | scf_catalog_read |
| controls | core | 15 | scf_control_read, scf_control_write |
| evidence | core | 25 | scf_evidence_read, scf_evidence_write, scf_evidence_file_read, scf_evidence_file_write, scf_list_evidence_tasks, scf_evidence_task_write |
| assessments | core | 17 | scf_assessment_read, scf_assessment_write |
| risk | core | 19 | scf_risk_read, scf_risk_write, scf_custom_risk_read, scf_custom_risk_write |
| vendors | core | 23 | scf_vendor_read, scf_vendor_write, scf_vendor_record_write |
| systems | core | 19 | scf_system_read, scf_system_write, scf_capability_theme_read |
| organization | core | 12 | scf_org_read, scf_update_org_settings, scf_user_read, scf_mark_notifications_read |
| teams | on demand | 11 | scf_team_read, scf_team_write |
| collaboration | on demand | 7 | scf_collaboration_read, scf_collaboration_write |
| documents | on demand | 20 | scf_document_read, scf_document_profile_read, scf_document_write |
| engagements | on demand | 17 | scf_engagement_read, scf_engagement_write |
| engagement-reviews | on demand | 10 | scf_evidence_review_read, scf_evidence_review_write |
| assurance | on demand | 19 | scf_assurance_read, scf_assurance_write |
| catalog-reconciliation | on demand | 9 | scf_catalog_reconciliation_read, scf_catalog_reconciliation_write |
| webhooks | on demand | 6 | scf_webhook_read, scf_webhook_write |
| journey | on demand | 4 | scf_journey_read, scf_journey_write |
| objectives | on demand | 11 | scf_objective_read, scf_objective_write |
Try it with MCP Inspector
Kick the tires without adding the server to a client — MCP Inspector launches a local UI that introspects every tool, its schema, and its description:
npx @modelcontextprotocol/inspector npx -y mcp-server-scf
Inspector opens on http://localhost:6274 and connects to mcp-server-scf over stdio. You'll see the 26 core tools (set SCF_LOAD_ALL_TOOLS=true for all 47), each with a method picker and its Zod schema rendered as a live form.
Live tool calls need your instance's URL and an API key — export SCF_API_URL and SCF_API_KEY in the same shell before launching Inspector, or set them under the "Environment Variables" tab inside the Inspector UI. Without them, you can still browse schemas and descriptions; tool calls return a configuration error.
Quick Start
1. Self-host the platform & get an API key
The SCF Controls Platform is open-source software you host yourself — there is no sign-up. Deploy it from scf-controls-platform-oss (a Docker Compose stack with bundled PostgreSQL, Redis, and MinIO), then:
- Set an
API_KEYin the platform's.env(generate one withopenssl rand -hex 32), or create a key in Settings → API Keys once the app is running. - Note your instance's API URL —
http://localhost:8000by default, or your deployed host.
Use that key as SCF_API_KEY and the instance URL as SCF_API_URL (see Configuration).
2. Install — one-click
Pick the route for your client.
Claude Desktop — the one-click path is the signed .mcpb Desktop Extension below. Claude Desktop does not register a custom URL scheme, so there is no clickable deeplink; instead you drag the .mcpb onto Settings → Extensions and paste your API key once. See anthropics/claude-code#26952 for the upstream tracking issue.
Cursor — click the badge below. Cursor registers the cursor:// scheme, so the deeplink opens the IDE with the server config pre-filled:
After install, edit the pre-filled SCF_API_URL to point at your instance — there is no hosted default.
Prefer to edit config by hand, or on a client without a deeplink (Windsurf, Docker)? See 3. Manual config below.
Claude Desktop Extension (.mcpb)
For Claude Desktop ≥ 0.11.0, the easiest install is a signed .mcpb bundle — no JSON editing, no npx runtime, no Node required on the host:
- Download
mcp-server-scf-<version>.mcpbfrom the latest GitHub release. - Double-click the file (or drag it onto Claude Desktop → Settings → Extensions).
- When prompted, paste your
scf_…API key. It's stored in your OS keychain, not in a config file. - Claude Desktop restarts the server and the core tools are available; ask for more with
scf_load_tools.
To uninstall or update the API key later: Settings → Extensions → SCF Controls Platform → Configure.
3. Manual config
Claude Desktop — edit ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):
{
"mcpServers": {
"scf": {
"command": "npx",
"args": ["-y", "mcp-server-scf"],
"env": {
"SCF_API_KEY": "your_api_key_here",
"SCF_API_URL": "http://localhost:8000"
}
}
}
}
Claude Code:
claude mcp add scf -- npx -y mcp-server-scf
export SCF_API_KEY="your_api_key_here"
export SCF_API_URL="http://localhost:8000"
Cursor / Windsurf — same JSON shape as Claude Desktop in .cursor/mcp.json (or the equivalent Windsurf path).
Docker:
{
"mcpServers": {
"scf": {
"command": "docker",
"args": ["run", "-i", "--rm", "-e", "SCF_API_KEY", "-e", "SCF_API_URL", "markac007/mcp-server-scf"],
"env": {
"SCF_API_KEY": "scf_your_api_key_here",
"SCF_API_URL": "https://scf.your-domain.example"
}
}
}
}
Configuration
| Variable | Required | Default | Description |
|---|---|---|---|
SCF_API_KEY | Yes | — | API key from your self-hosted platform instance |
SCF_API_URL | Yes | — | Base URL of your self-hosted platform (e.g. http://localhost:8000). The former hosted default is decommissioned. |
SCF_LOAD_ALL_TOOLS=true lists every tool at startup instead of the core groups — for a client that does not act on notifications/tools/list_changed after scf_load_tools.
Remote (Streamable HTTP): mcp-server-scf-http serves the same tools by URL for a hosted, multi-user deployment. No server-side key: each caller sends their own Authorization: Bearer scf_…, forwarded to the one platform in SCF_API_URL. Connect with claude mcp add --transport http scf https://<host>/mcp --header "Authorization: Bearer scf_…". Details and a hardened Compose example in docs/authentication.md.
Example Prompts
Once connected, try asking your AI assistant:
- "What NIST 800-53 controls apply to access control?"
- "Show me my organization's control implementation progress."
- "List all critical vendors and their risk scores."
- "Create a risk assessment for our cloud migration."
- "What evidence do I need to collect for SOC 2 audit?"
- "Show the 5x5 risk matrix for my organization."
- "Run a DPSIA on our cloud provider vendor."
More examples live in each per-domain doc under docs/tools/.
Documentation
- docs/authentication.md — API key setup, rotation, self-hosted URL configuration, scopes.
- docs/architecture.md — request flow, error model, rate limiting, what the server does and does not do.
- docs/troubleshooting.md — symptom/cause/fix for the common failure modes.
- docs/tools/ — per-domain reference with full parameter tables.
Security
- API keys are never logged or included in error messages.
- Keys are SHA-256 hashed server-side. Use HTTPS for any instance reachable beyond localhost.
- Rate limiting: 100 req/min read, 20 req/min write.
- Multi-tenant — all operations scoped to your organization.
- npm package published with provenance attestation via OIDC trusted publishing.
- CI includes Gitleaks secret detection, CodeQL analysis, and Semgrep SAST.
See SECURITY.md to report a vulnerability.
Privacy Policy
mcp-server-scf is a stateless connector — it stores no user data itself. All data flows directly between your MCP client and your own SCF Controls Platform instance, authenticated with your API key; nothing is sent to, or retained by, any third party. See the full privacy policy for details.
Development
git clone https://github.com/MarkAC007/mcp-server-scf.git
cd mcp-server-scf
npm install
npm run build
npm run dev # Watch mode
npm run lint # ESLint
npm test # Vitest
Testing with MCP Inspector
SCF_API_KEY=scf_your_key npx @modelcontextprotocol/inspector node build/index.js
Contributing
Contributions welcome! Please read CONTRIBUTING.md before submitting PRs.
This project follows the Contributor Covenant — see CODE_OF_CONDUCT.md. By participating, you are expected to uphold this code.
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
License
MIT — see LICENSE.
Links
- scf-controls-platform-oss — the open-source, self-hosted platform (AGPL-3.0)
- ComplianceGenie.io — maintainer
- Model Context Protocol — MCP specification
- SCF Framework — Secure Controls Framework
- npm Package — npm registry
- Changelog — release history
來源:README.md,提交 3842367
工具
0版本歷史
1- v3.4.2最新Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分