mxcp
by raw-labs·★ 67·综合分 47
MXCP 是一个构建生产级 MCP 服务器的企业级框架,提供数据建模、安全策略和全面测试功能。
概述
MXCP (模型执行与上下文协议) 是一个构建生产级 MCP 服务器的综合框架,强调企业级功能。它提供了一种结构化方法,将 dbt 数据建模、OAuth 认证和基于角色的安全控制、验证和测试的质量保证,以及通过漂移检测和 OpenTelemetry 集成的操作功能相结合。MXCP 支持 SQL 和 Python 实现,允许开发人员为每个任务选择合适的工具,同时在整个系统中保持一致的安全性和治理。
试试问 AI
装完之后,这里有 5 个你可以让 AI 做的事:
什么时候选它
当需要构建具有企业级安全性、合规审计和稳健数据质量验证的生产级 AI 应用时,选择 MXCP。
什么时候不要选它
对于简单或实验性的 AI 工具,避免使用 MXCP,因为其企业功能和 BSL 许可会引入显著的复杂性。
此 server 暴露的工具
从 README 抽取出 5 个工具analyze_salesanalyze_sales(region: string) -> dictAnalyze sales data with automatic caching
get_customerget_customer(customer_id: string) -> dictRetrieve customer information with security policies
analyze_textanalyze_text(text: string) -> dictAnalyze text sentiment and extract entities
analyze_performanceanalyze_performance(department: string, threshold: float) -> dictAnalyze employee performance metrics with complex calculations
batch_processbatch_process(items: list) -> dictProcess multiple items concurrently with async operations
说明:Tool names were inferred from YAML configuration examples and Python code snippets in the README. The server is a framework that allows users to define custom tools, but these are the representative examples provided in the documentation.
可对比工具
安装
安装
# 安装 MXCP
pip install mxcp
# 初始化新项目
mkdir my-ai-tools && cd my-ai-tools
mxcp init --bootstrap
# 启动工具服务
mxcp serveClaude Desktop 配置
将以下内容添加到 Claude Desktop 配置中:
{
"mcpServers": {
"my-tools": {
"command": "mxcp",
"args": ["serve", "--transport", "stdio"],
"cwd": "/path/to/my-ai-tools"
}
}
}FAQ
- MXCP 与其他 MCP 实现有什么不同?
- MXCP 提供了生产级 MCP 服务器的完整方法论,专注于数据建模优先、使用 OAuth 和基于角色的安全控制、全面测试以及漂移检测和监控等操作功能。
- MXCP 能否处理数据查询和复杂逻辑?
- 是的,MXCP 支持 SQL 查询 dbt 模型和 Python 处理复杂逻辑、ML 模型和集成,允许开发人员为每个任务选择合适的工具。
mxcp 对比
最后更新于 · 由 README + GitHub 公开数据自动生成。