maiife-toolkit
Maiife Toolkit
开源 AI 治理工具。每个工具既可作为独立的 MCP 服务器运行,也可作为 CLI 使用 — 它们共同构成了一个治理网格。
由 Maiife 构建 — 企业级 AI 控制平面。
要求
Node.js >= 18
npm 或 pnpm
安装
# Install individual tools via npm
npm install -g @maiife-ai-pub/probe
npm install -g @maiife-ai-pub/mcp-audit
# Or run directly with npx (no install needed)
npx @maiife-ai-pub/probe scan
npx @maiife-ai-pub/mcp-audit scan工具
包 | 描述 | 已发布 |
| 所有工具包共享的类型和格式化程序 | ✅ |
| AI 环境扫描器 — 发现 IDE 扩展、MCP 服务器、代理框架、API 密钥、本地模型 | ✅ |
| MCP 服务器安全扫描器 — 对权限、数据敏感度、影响范围进行配置评分 | ✅ |
| “你的 AI 技术栈是什么?” — 可分享的 AI 工具包个人资料卡 | ✅ |
| MCP 健康检查与自动修复工具 — 你的 MCP 设置的“家庭医生” | ✅ |
| 个人 AI 使用日记 — 追踪你的 AI 使用情况,获取反思性见解 | ✅ |
| 跨工具 AI 记忆同步 — 一个 context.json,同步至 Cursor、Claude、MCP | ✅ |
| 提示词质量分析器 — 对你的 AI 提示词进行评分、改进和 lint 检查 | ✅ |
| LLM-as-judge 评估引擎 — 使用结构化准则对代理输出进行评分 | ✅ |
| 代理工作流追踪器 — 追踪、查看和分析执行跨度 | ✅ |
| AI 支出计算器 + 优化器 — 跨供应商的统一成本报告 | ✅ |
| 游戏化提示词教练 — 通过等级、连胜、徽章来提升提示词水平 | ✅ |
| 个人 AI 订阅审计工具 — 发现 AI 支出中的浪费 | ✅ |
| 个人模型推荐器 — 为你的任务找到最佳模型 | ✅ |
| AI 周度回顾 — 你的 AI 使用情况的“Spotify 年度总结”,每周更新 | ✅ |
快速开始
# Scan your AI environment
npx @maiife-ai-pub/probe scan
# Audit your MCP server security
npx @maiife-ai-pub/mcp-audit scan
# Generate your AI Stack profile card
npx @maiife-ai-pub/ai-stack --format svg --output my-stack.svg
# Health check your MCP servers
npx @maiife-ai-pub/mcp-doctor check
# Log an AI interaction
npx @maiife-ai-pub/ai-journal log --tool claude --task coding --duration 30
# Sync AI context across tools
npx @maiife-ai-pub/context-sync push
# Score your AI prompts
npx @maiife-ai-pub/prompt-score analyze --input prompt.txt
# Evaluate agent outputs with rubrics
npx @maiife-ai-pub/eval score --rubric code-review --input review.txt
# Trace agent workflows
npx @maiife-ai-pub/trace list --days 7
# Track AI spend across vendors
npx @maiife-ai-pub/cost report --period last-30d
# Gamified prompt coaching
npx @maiife-ai-pub/prompt-craft score --input prompt.txt
# Audit AI subscriptions for waste
npx @maiife-ai-pub/sub-audit
# Find the best model for your tasks
npx @maiife-ai-pub/model-match recommend --task coding
# Generate your AI week in review
npx @maiife-ai-pub/weekly-ai-report generate作为 MCP 服务器使用
每个工具都通过 Model Context Protocol 公开一个 MCP 服务器。你可以将它们添加到 Claude Desktop、Cursor 或任何兼容 MCP 的客户端中。
配置文件位置:
macOS:
~/Library/Application Support/Claude/claude_desktop_config.jsonWindows:
%APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"maiife-probe": {
"command": "npx",
"args": ["@maiife-ai-pub/probe", "mcp"]
},
"maiife-mcp-audit": {
"command": "npx",
"args": ["@maiife-ai-pub/mcp-audit", "serve"]
},
"maiife-mcp-doctor": {
"command": "npx",
"args": ["@maiife-ai-pub/mcp-doctor", "serve"]
},
"maiife-ai-stack": {
"command": "npx",
"args": ["@maiife-ai-pub/ai-stack", "serve"]
},
"maiife-prompt-score": {
"command": "npx",
"args": ["@maiife-ai-pub/prompt-score", "serve"]
},
"maiife-eval": {
"command": "npx",
"args": ["@maiife-ai-pub/eval", "serve"]
},
"maiife-trace": {
"command": "npx",
"args": ["@maiife-ai-pub/trace", "serve"]
},
"maiife-cost": {
"command": "npx",
"args": ["@maiife-ai-pub/cost", "serve"]
},
"maiife-context-sync": {
"command": "npx",
"args": ["@maiife-ai-pub/context-sync", "serve"]
},
"maiife-prompt-craft": {
"command": "npx",
"args": ["@maiife-ai-pub/prompt-craft", "serve"]
},
"maiife-sub-audit": {
"command": "npx",
"args": ["@maiife-ai-pub/sub-audit", "serve"]
},
"maiife-model-match": {
"command": "npx",
"args": ["@maiife-ai-pub/model-match", "serve"]
}
}
}MCP 工具摘要
服务器 | 工具 | 描述 |
|
| 扫描 AI 环境 |
|
| 审计 MCP 安全性 |
|
| 诊断并修复 MCP 配置 |
|
| 生成 AI 技术栈概况 |
|
| 评分并改进提示词 |
|
| 评估 LLM 输出 |
|
| 追踪代理工作流 |
|
| 追踪并优化 AI 支出 |
|
| 同步 AI 上下文 |
|
| 游戏化提示词教练 |
|
| 审计 AI 订阅 |
|
| 推荐模型 |
贡献
欢迎贡献!以下是入门方法:
Fork GitHub 上的仓库
创建分支:
git checkout -b feat/my-improvement进行更改 — 每个包都位于
packages/<name>/中运行测试:
pnpm test向
main分支提交 PR — 描述你更改的内容及原因
请遵循现有的代码风格(TypeScript, ESM, Vitest 用于测试)。每个包在适用时都应作为 CLI 和 MCP 服务器工作。
许可证
Apache 2.0 — 可自由使用、修改和分发。
Maiife 平台的一部分 — 企业级 AI 控制平面。
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
Related MCP Connectors
AI governance MCP server for EU AI Act compliance and jurisdiction verification
7 free tools: MCP health scans, AI-readiness scores, llms.txt generator, glossary, indexes.
AgentGuard — 20-tool AI safety MCP: policy preflight, risk scoring, audit logging, rate limits.
MCP gateway: one connection for your AI apps, with tool policies, PII redaction and audit logs.