MCP Server Security Standard 标志

MCP Server Security Standard

组织
mcp-security-standard

MCP Server Security Standard (MSSS): an open, testable security control standard for certifying MCP servers, with levels, evidence requirements, and reporting schemas.

发布者mcp-security-standard
代码仓库mcp-server-security-standard
复刻数
14
星标数
74
可用工具
0
传输类型stdio
许可协议CC-BY-SA-4.0
链接
  • 将工具接入 AI 工作流

    MCP Server Security Standard 提供 MCP 功能,可供兼容的 AI 客户端和智能体使用。

  • 0 个可用工具

    浏览下方可调用的操作;如果服务器提供了名称和描述,也会一并显示。

  • 可直接复制的配置

    使用安装配置片段,在您首选的 MCP 客户端中配置此服务器。

  • 开源社区热度

    关联的代码仓库有 74 个星标和 14 个复刻。

MCP Server Security Standard (MSSS)

CC BY-SA 4.0 GitHub release Contributions Welcome

About MSSS

The Model Context Protocol enables AI models to interact with external systems through tools, resources, and prompts. As adoption accelerates, critical vulnerabilities have emerged: command injection, path traversal, SSRF attacks, and supply chain compromises.

MSSS provides:

  • 24 security controls across 8 domains
  • 4 compliance levels (L1-Essential, L2-Development, L3-Production, L4-Maximum Assurance)
  • Risk-based level selection framework inspired by NIST CSF, OWASP ASVS, and CIS Controls
  • 6 deployment profiles (Local Dev, Team Server, Internet-Facing, etc.)
  • Evidence-based verification with clear acceptance criteria
  • Machine-readable reporting through JSON schemas

Compliant Platforms

The following platforms have adopted the MCP Server Security Standard:

-PlatformDescriptionStatus
MCP-HubMCP server directory and marketplace — discover, publish, and manage MCP-compliant servers✅ Compliant

Are you implementing MSSS? Open an issue or submit a PR to be listed here.

Current Status - v0.1.0

Released: January 15, 2026 (Community Review Draft)

What's Included

  • Core standard framework (msss.md)
  • 6 deployment profiles defined
  • Comprehensive threat model
  • 23 fully documented security controls
  • JSON reporting schemas
  • i18n framework for translations

Areas for Community Contribution

  • Implementation examples for common frameworks
  • Automated verification tools
  • Reference assessment reports
  • Translations to other languages
  • Real-world testing and feedback

Quick Start

For Implementers

  1. Review deployment profiles to find your scenario
  2. Implement controls from control catalog
  3. Use reporting schemas for assessment
  4. Share your experience via issues or discussions

For Contributors

bash
# Fork and clone
git clone https://github.com/YOUR-USERNAME/mcp-server-security-standard
cd mcp-server-security-standard

# Start a translation
mkdir -p v0.1/i18n/es/standard

For Security Researchers

Compliance Levels

MSSS defines four compliance levels using a risk-based selection model (not maturity progression). Organizations select their target level based on deployment context, data sensitivity, and potential impact.

Level Selection Framework

LevelTarget AudienceControlsValidationTimeline
L1: EssentialPersonal/Hobby6 (25%)Self-assessment1-2 hours
L2: DevelopmentInternal/Team12 (50%)Self + scanning4-8 hours
L3: ProductionEnterprise/Customers18 (75%)Internal audit1-2 weeks
L4: Maximum AssuranceCritical/Regulated24 (100%)Third-party pentest4-8 weeks

Quick Decision Guide

Choose your level based on 4 key questions:

  1. Who uses it? Individual → L1 | Team → L2 | Organization/Customers → L3 | Public/Regulated → L4
  2. What data? Public → L1 | Internal → L2 | Business/PII → L3 | Regulated (PHI/PCI) → L4
  3. Impact if compromised? Inconvenience → L1 | Dev delays → L2 | Disruption → L3 | Severe harm → L4
  4. Threat model? Opportunistic → L1 | Semi-targeted → L2 | Targeted → L3 | APT → L4

Level Highlights

Level 1 (Essential)

  • Essential protection for personal tools and hobby projects
  • Prevents: Command injection, path traversal, SSRF, credential leaks
  • Key controls: No shell execution, path allowlisting, URL validation, schema validation, secret redaction

Level 2 (Development)

  • Security for development teams and internal tools
  • Adds: TLS enforcement, input bounds, timeouts, command allowlisting, trusted sources
  • Required for: Team projects, internal apps, pre-production environments

Level 3 (Production)

  • Comprehensive security for enterprise and customer-facing applications
  • Adds: OAuth authentication, RBAC, audit logging, container hardening
  • Required for: SaaS products, customer data, business-confidential information

Level 4 (Maximum Assurance)

  • Maximum hardening for critical infrastructure and regulated environments
  • Adds: Filesystem sandboxing, egress filtering, seccomp/AppArmor, runtime monitoring
  • Required for: HIPAA (healthcare), PCI DSS (payments), FedRAMP (government)

📖 Full documentation: See Compliance Levels and Control-Level Mapping

Regulatory Mappings

  • HIPAA (Healthcare): Level 4 minimum for PHI access
  • PCI DSS (Payments): Level 4 minimum for cardholder data
  • SOC 2 (SaaS): Level 3 minimum
  • ISO 27001: Level 3 minimum for certification
  • FedRAMP: Low→L3, Moderate/High→L4

Control Catalog

Filesystem (FS)

ControlLevelDescription
MCP-FS-01L1Path allowlisting to prevent unauthorized file access
MCP-FS-02L1Symlink resolution to prevent path traversal via symbolic links
MCP-FS-03L4Filesystem sandboxing for complete isolation

Execution (EXEC)

ControlLevelDescription
MCP-EXEC-01L1Avoid shell execution to prevent command injection
MCP-EXEC-02L2Command allowlisting for permitted executables
MCP-EXEC-03L2Argument separation to prevent injection attacks

Network (NET)

ControlLevelDescription
MCP-NET-01L1URL validation to prevent SSRF attacks
MCP-NET-02L4Egress traffic filtering with destination allowlists
MCP-NET-03L2TLS 1.2+ enforcement for all remote connections

Authorization (AUTHZ)

ControlLevelDescription
MCP-AUTHZ-01L3OAuth 2.1 delegation for secure authentication
MCP-AUTHZ-02L3Per-tool scope definition with granular permissions
MCP-AUTHZ-03L3Least privilege tool design principles
MCP-AUTHZ-04L3Resource-based access control (RBAC)

Input Validation (INPUT)

ControlLevelDescription
MCP-INPUT-01L1JSON Schema validation for all tool arguments
MCP-INPUT-02L2Input bounds checking to prevent DoS attacks
MCP-INPUT-03L2Timeout enforcement for resource exhaustion prevention

Logging (LOG)

ControlLevelDescription
MCP-LOG-01L3Comprehensive audit logging for all tool invocations
MCP-LOG-02L1Automatic secret redaction in logs

Supply Chain (SUPPLY)

ControlLevelDescription
MCP-SUPPLY-01L4Package integrity verification with checksums
MCP-SUPPLY-02L2Trusted package sources and registry verification

Deployment (DEPLOY)

ControlLevelDescription
MCP-DEPLOY-01L3Container hardening with security best practices
MCP-DEPLOY-02L4System call filtering via seccomp/AppArmor
MCP-DEPLOY-03L4Resource limits and rate limiting for DoS prevention

Total: 24 controls across 8 security domains

  • Level 1: 6 controls (25%) - Essential baseline
  • Level 2: 12 controls (50%) - Development protection
  • Level 3: 18 controls (75%) - Production security
  • Level 4: 24 controls (100%) - Maximum assurance

How to Contribute

We follow a simple process:

  1. Pick an area - Check issues labeled help-wanted or good-first-issue
  2. Discuss - Open an issue or join discussions before major work
  3. Submit - Create a PR with clear description
  4. Iterate - Address feedback from reviewers

Priority Contributions

HIGH PRIORITY

  • Add real-world implementation examples
  • Create reference implementations for common frameworks
  • Test controls against production deployments

MEDIUM PRIORITY

  • Add profile-specific guidance
  • Start Spanish, Portuguese, or other translations
  • Develop automated verification tools

ALWAYS WELCOME

  • Fix typos and improve clarity
  • Add references to new CVEs or research
  • Share implementation experiences

Community

Get Involved

Project Lead

  • Daniel García (cr0hn) - @cr0hn
  • Dr. Alfonso Múñoz (Mindcrypt) Mindcrypt

Looking for Co-Maintainers! If you're passionate about MCP security and want to help shape this standard, please reach out.

Recognition

All contributors will be recognized in:

  • CHANGELOG.md for significant contributions
  • Control documents you author or substantially improve

Roadmap

v0.1 (Current - Community Review)

  • Gather feedback on 23 controls
  • Validate against real-world deployments
  • Collect implementation experiences

v0.2 (Q2 2026)

  • Incorporate community feedback
  • Add controls for emerging threats
  • Publish reference implementations
  • Launch translation program

v1.0 (Q4 2026)

  • Stable specification
  • Automated verification tools
  • Certification program framework
  • Training materials

Related Standards

MSSS complements:

License

MSSS uses a multi-license approach:

ComponentLicensePurpose
Standard TextCC BY-SA 4.0Free sharing with attribution
JSON SchemasApache 2.0Commercial tool integration
Code ExamplesMITMaximum flexibility

See the full license text in the LICENSE file.

Support the Project

  • Star this repository - Help others discover MSSS
  • Share with your network - Spread awareness
  • Contribute - Your expertise makes MSSS better

Acknowledgments

MSSS builds upon:

  • Security researchers who disclosed MCP vulnerabilities
  • OWASP MCP Top 10 community
  • Early adopters providing feedback
  • Academic researchers (MCPLIB, Hou et al.)

The MCP Server Security Standard is an open community project. We provide this standard as-is without warranties. Use at your own discretion.

将 MCP Server Security Standard MCP 与多个 AI 模型配合使用

TypingMind 在工作区级别连接 MCP 工具,因此连接 MCP Server Security Standard 后,您就可以在 TypingMind 中搭配不同的 AI 模型使用,无需为每个模型单独设置。 此 MCP 通过您设备上的 TypingMind MCP 连接器在本地运行。

本地连接器设置指南

如果 MCP 服务器需要访问您电脑上的本地文件、应用或私有资源,请选择此方式。

1

打开 MCP 设置

在 TypingMind 中,依次前往“设置”、“高级设置”和“模型上下文协议”,然后选择“设置连接器”。

  1. 在您的浏览器中打开 TypingMind。
  2. 点击“设置”图标。
  3. 进入“高级设置”。
  4. 打开“模型上下文协议”部分。
  5. 点击“设置连接器”,然后选择“此设备”。
TypingMind MCP 连接器设置界面,已选择“此设备”
2

运行连接器命令

选择“此设备”,从 TypingMind 复制命令并在终端中运行。使用 MCP 时,请保持该进程运行。

  1. 复制 TypingMind 显示的设置命令。
  2. 在 macOS 上打开“终端”,或在 Windows 上打开 Windows Terminal。
  3. 粘贴并运行命令。
  4. 如果终端询问您是否继续,请确认安装软件包。
  5. 使用 MCP 工具时,请勿关闭终端窗口或停止其中的连接器进程。
3

将 MCP Server Security Standard 添加为服务器

当连接器状态为“就绪”时,点击“编辑服务器”,然后粘贴 MCP 服务器配置。

  1. 等待连接器状态显示为“就绪”。
  2. 点击“编辑服务器”。
  3. 粘贴 MCP Server Security Standard MCP 服务器配置。
  4. 保存服务器列表。
  5. 如需确认连接器是否仍处于就绪状态,请刷新。
TypingMind MCP 设置界面,显示正在运行的服务器和“编辑服务器”按钮
{
  "mcpServers": {
    "mcp-server-security-standard": {
      "command": "npx",
      "args": [
        "-y",
        "<mcp-server-package>"
      ]
    }
  }
}
4

在不同模型中使用同一连接

保存服务器列表,打开“插件”,启用 MCP Server Security Standard MCP 工具,然后在 TypingMind 中选择任意受支持的 AI 模型,即可在聊天中使用这些工具,或将其分配给智能体。

  1. 在 TypingMind 中打开“插件”页面。
  2. 启用 MCP Server Security Standard MCP 工具。
  3. 开始聊天并选择您想使用的 AI 模型。
  4. 在聊天中使用 MCP 工具,或将其分配给 AI 智能体。
  5. 根据需要随时切换到其他 AI 模型,无需重新连接 MCP。
在 TypingMind 聊天中使用已启用的 MCP 工具和选定的 AI 模型
您能使用 MCP Server Security Standard 帮我完成这项任务吗?
MCP Server Security Standard
当然,我看过了。
以下是我使用 MCP Server Security Standard 得到的结果。

常见问题

MCP Server Security Standard MCP 服务器有什么用途?

MCP Server Security Standard 是一个 MCP 服务器,可让兼容的 AI 客户端连接外部工具并获取上下文。在 TypingMind 中,只需添加一次此 MCP 服务器,即可在您的 AI 工作区中使用其工具。

可以在 TypingMind 中让多个 AI 模型使用 MCP Server Security Standard MCP 吗?

可以。TypingMind 在工作区层面连接 MCP 工具,因此您无需为每个模型单独配置 MCP 服务器,就能在 Claude、ChatGPT、Gemini 或您在 TypingMind 中配置的其他 AI 模型中使用 MCP Server Security Standard。

为什么在 TypingMind 中使用 MCP Server Security Standard MCP?

TypingMind 将多个 AI 模型、提示词、插件、AI 智能体、API 密钥和 MCP 工具整合到同一个工作区中,是最出色的大语言模型聊天前端之一。连接 MCP Server Security Standard 后,您可以在偏好的不同模型中使用其 MCP 工具,同时在 TypingMind 中井然有序地管理聊天工作流程。

如何将 MCP Server Security Standard MCP 连接到 TypingMind?

MCP Server Security Standard 通过 TypingMind 本地 MCP 连接器运行。当 MCP 服务器需要访问您计算机上的本地文件、桌面应用、命令行工具或私有资源时,这种方式最合适。

MCP Server Security Standard MCP 在 TypingMind 中提供哪些工具?

MCP Server Security Standard 提供 MCP 功能,您可以在 TypingMind 的插件页面启用这些功能,然后在聊天中使用,或将其分配给 AI 智能体。

使用 MCP Server Security Standard MCP 需要向 TypingMind 提供我的 API 密钥吗?

不需要。TypingMind 采用本地优先的设计,让您自行选择模型提供商,并自行管理 API 密钥、提示词和 MCP 配置。如果 MCP Server Security Standard 需要身份验证,请在创建连接时,为该 MCP 服务器添加所需的请求头、OAuth 设置或本地配置。

相关 MCP 服务器

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇