Back to MCP directory
publicPublicdnsLocal runtime

specifai-mcp-server

Specifai MCP Server是一个模型上下文协议服务器,用于与支持MCP协议的AI工具集成和自动化,提供读取Specifai项目生成文档的工具。

article

README

🚀 Specifai MCP 服务器

Specifai MCP 服务器是为 Specifai 项目量身打造的,它集成并自动化了与任何支持 MCP 协议的 AI 工具的交互。该服务器具有工具中立性,能与所有支持 MCP 协议的工具协同工作。目前,它可提供工具来读取 Specifai 项目生成的所有文档。

⚠️ 重要提示

此服务器目前处于实验阶段。随着我们持续开发和改进,其功能和可用工具可能会发生变化并不断扩展。

MIT 许可证 npm 版本

🚀 快速开始

安装

# 最新版本
npx --yes @presidio-dev/specifai-mcp-server@latest

# 特定版本
npx --yes @presidio-dev/specifai-mcp-server@1.2.3

我们推荐使用 npx 来安装服务器,但您也可以使用任何喜欢的包管理器,如 yarnpnpmbun 等。

配置

{
  "example": {
    "configuration": "示例配置"
  }
}

准备项目

建议创建 .specifai-path 文件以指定项目路径,确保服务器能够正确读取和处理文档。

✨ 主要特性

  • 工具中立性:可与任何支持 MCP 协议的工具一起使用。
  • 文档读取:能够提供工具读取 Specifai 项目生成的所有文档。
  • IDE 集成:支持与流行 IDE 和扩展集成,方便开发和调试。

💻 使用示例

基础用法

# 安装最新版本服务器
npx --yes @presidio-dev/specifai-mcp-server@latest

高级用法

# 安装特定版本服务器
npx --yes @presidio-dev/specifai-mcp-server@1.2.3

📦 可用工具

  • get-brds:获取业务需求文档
  • get-requirements:获取需求文档
  • analyze-context:分析上下文信息
  • generate-report:生成报告
  • export-data:导出数据
  • import-data:导入数据
  • validate-schema:验证架构

📚 详细文档

IDE 集成

与流行 IDE 和扩展的集成,包括 Hai Build 和 Cursor,方便用户进行开发和调试。

要求

请参考 Development Setup 了解详细开发环境配置指南。

贡献

我们欢迎对 Specifai MCP Server 的贡献!请参阅我们的 Contributing Guide 了解如何开始。

开发设置

有关详细开发环境设置,请参阅我们的 Development Setup Guide

架构

要了解项目架构,请查阅我们的 Architecture Guide

安全

有关安全政策和报告安全漏洞的信息,请参阅我们的 Security Policy

📄 许可证

本项目在 MIT License 下许可,详情请见 LICENSE 文件。

help

Runtime guide

cloud

Hosted runtime

Hosted servers run from a provider-managed environment. You usually connect the MCP client to the hosted endpoint or follow the provider's authorization flow, without keeping a local process alive

  1. Open provider connection page
  2. Authorize or copy endpoint
  3. Connect from your MCP client
terminal

Local runtime / other methods

Local servers run on your own machine or infrastructure. You normally copy the server_config into your MCP client, install the required package, and provide env variables from env_schema when needed

  1. Copy server_config
  2. Install required package
  3. Fill env variables and restart client