WebDNA MCP 服务器
用于 WebDNA 文档的自定义模型上下文协议 (MCP) 服务器。该服务器从docs.webdna.us抓取并索引 WebDNA 文档,并提供用于搜索和检索文档的 API 端点。
特征
抓取并索引 WebDNA 文档
提供与 MCP 兼容的 API 端点,以便与 AI 助手集成
WebDNA 指令和上下文的全文搜索
分类文档浏览
Supabase PostgreSQL 数据库用于存储和检索
入门
先决条件
Node.js(v14 或更高版本)
npm
Supabase 帐户和项目
安装
克隆存储库
安装依赖项:
通过复制示例文件并使用 Supabase 凭据进行更新来设置您的环境变量:
将数据库迁移应用到您的 Supabase 项目:
运行文档抓取工具来填充数据库:
启动服务器:
服务器默认在 3000 端口运行。您可以通过设置PORT环境变量来更改此设置。
MCP 工具
该服务器提供以下 MCP 工具:
搜索-webdna-文档
在 WebDNA 文档中搜索特定的说明、上下文或关键字。
参数:
query(字符串):WebDNA 文档的搜索查询
获取网络DNA文档
通过 ID 检索特定 WebDNA 指令或上下文的详细文档。
参数:
id(字符串):WebDNA 指令或上下文的 ID
获取网络DNA类别
检索所有 WebDNA 文档类别以及每个类别中的指令数。
API 端点
POST /mcp/search-webdna-docs: 搜索 WebDNA 文档POST /mcp/get-webdna-doc: 通过 ID 获取文档GET /mcp/get-webdna-categories:获取所有类别GET /health:健康检查端点
发展
对于文件更改时自动重启的开发:
执照
国际学习中心
致谢
This server cannot be installed
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
自定义服务器,通过 MCP 兼容 API 端点抓取、索引和提供可搜索的文档,将 WebDNA 文档与 AI 助手集成在一起。
Related MCP Servers
- Asecurity-licenseAqualityAn MCP server implementation that provides tools for retrieving and processing documentation through vector search, enabling AI assistants to augment their responses with relevant documentation contextLast updated -22229MIT License
- -security-license-qualityAn MCP server implementation that provides tools for retrieving and processing documentation through vector search, enabling AI assistants to augment their responses with relevant documentation context. Uses Ollama or OpenAI to generate embeddings. Docker files includedLast updated -2223MIT License
- -security-license-qualityAn MCP server that crawls API documentation websites and exposes their content to AI models, enabling them to search, browse, and reference API specifications.Last updated -
- -security-license-qualityHigh-performance server enabling AI assistants to access web scraping, crawling, and deep research capabilities through Model Context Protocol.Last updated -18