WebDNA MCP Server

by jacgood

Integrations

  • Leverages PostgreSQL (via Supabase) for storing and querying WebDNA documentation with full-text search capabilities

  • Uses Supabase PostgreSQL database for storage and retrieval of WebDNA documentation, with support for migrations and full-text search

WebDNA MCP 服务器

用于 WebDNA 文档的自定义模型上下文协议 (MCP) 服务器。该服务器从docs.webdna.us抓取并索引 WebDNA 文档,并提供用于搜索和检索文档的 API 端点。

特征

  • 抓取并索引 WebDNA 文档
  • 提供与 MCP 兼容的 API 端点,以便与 AI 助手集成
  • WebDNA 指令和上下文的全文搜索
  • 分类文档浏览
  • Supabase PostgreSQL 数据库用于存储和检索

入门

先决条件

  • Node.js(v14 或更高版本)
  • npm
  • Supabase 帐户和项目

安装

  1. 克隆存储库
  2. 安装依赖项:
npm install
  1. 通过复制示例文件并使用 Supabase 凭据进行更新来设置您的环境变量:
cp .env.example .env # Edit .env with your Supabase URL and API key
  1. 将数据库迁移应用到您的 Supabase 项目:
# Use the Supabase SQL Editor to run the SQL in migrations/01_initial_setup.sql
  1. 运行文档抓取工具来填充数据库:
npm run scrape
  1. 启动服务器:
npm start

服务器默认在 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 :健康检查端点

发展

对于文件更改时自动重启的开发:

npm run dev

执照

国际学习中心

致谢

-
security - not tested
F
license - not found
-
quality - not tested

自定义服务器,通过 MCP 兼容 API 端点抓取、索引和提供可搜索的文档,将 WebDNA 文档与 AI 助手集成在一起。

  1. 特征
    1. 入门
      1. 先决条件
      2. 安装
    2. MCP 工具
      1. 搜索-webdna-文档
      2. 获取网络DNA文档
      3. 获取网络DNA类别
    3. API 端点
      1. 发展
        1. 执照
          1. 致谢

            Related MCP Servers

            • A
              security
              A
              license
              A
              quality
              An 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
              Last updated -
              7
              62
              81
              TypeScript
              MIT License
            • -
              security
              A
              license
              -
              quality
              An 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 included
              Last updated -
              19
              14
              TypeScript
              MIT License
              • Apple
              • Linux
            • -
              security
              F
              license
              -
              quality
              An MCP server that integrates real-time web search capabilities into AI assistants using the Exa API, providing both basic and advanced search functionality with formatted markdown results.
              Last updated -
              119
              Python
              • Linux
              • Apple
            • -
              security
              F
              license
              -
              quality
              An MCP server that integrates with Claude to provide smart documentation search capabilities across multiple AI/ML libraries, allowing users to retrieve and process technical information through natural language queries.
              Last updated -
              Python

            View all related MCP servers

            ID: 7ntq5dy7ku