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 Server

A custom Model Context Protocol (MCP) server for WebDNA documentation. This server scrapes and indexes WebDNA documentation from docs.webdna.us and provides API endpoints for searching and retrieving documentation.

Features

  • Scrapes and indexes WebDNA documentation
  • Provides MCP-compatible API endpoints for integration with AI assistants
  • Full-text search for WebDNA instructions and contexts
  • Categorized documentation browsing
  • Supabase PostgreSQL database for storage and retrieval

Getting Started

Prerequisites

  • Node.js (v14 or higher)
  • npm
  • Supabase account and project

Installation

  1. Clone the repository
  2. Install dependencies:
npm install
  1. Set up your environment variables by copying the example file and updating with your Supabase credentials:
cp .env.example .env # Edit .env with your Supabase URL and API key
  1. Apply the database migrations to your Supabase project:
# Use the Supabase SQL Editor to run the SQL in migrations/01_initial_setup.sql
  1. Run the documentation scraper to populate the database:
npm run scrape
  1. Start the server:
npm start

The server will run on port 3000 by default. You can change this by setting the PORT environment variable.

MCP Tools

This server provides the following MCP tools:

search-webdna-docs

Searches WebDNA documentation for specific instructions, contexts, or keywords.

Parameters:

  • query (string): The search query for WebDNA documentation

get-webdna-doc

Retrieves detailed documentation for a specific WebDNA instruction or context by its ID.

Parameters:

  • id (string): The ID of the WebDNA instruction or context

get-webdna-categories

Retrieves all WebDNA documentation categories with the count of instructions in each category.

API Endpoints

  • POST /mcp/search-webdna-docs: Search WebDNA documentation
  • POST /mcp/get-webdna-doc: Get documentation by ID
  • GET /mcp/get-webdna-categories: Get all categories
  • GET /health: Health check endpoint

Development

For development with auto-restart on file changes:

npm run dev

License

ISC

Acknowledgments

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

A custom server that integrates WebDNA documentation with AI assistants by scraping, indexing, and providing searchable documentation through MCP-compatible API endpoints.

  1. Features
    1. Getting Started
      1. Prerequisites
      2. Installation
    2. MCP Tools
      1. search-webdna-docs
      2. get-webdna-doc
      3. get-webdna-categories
    3. API Endpoints
      1. Development
        1. License
          1. Acknowledgments

            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