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
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@WebDNA MCP Serversearch for how to use the [database] instruction"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
WebDNA MCP Server
A state-of-the-art 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
High-Performance Documentation Access: Efficient caching and retrieval of WebDNA documentation
Advanced Search Capabilities: Full-text search with relevance scoring for WebDNA instructions
Dual Protocol Support: Works with both stdin/stdout (for AI assistants) and HTTP interfaces
Comprehensive MCP Tools: Rich set of tools for exploring the WebDNA framework
Robust Error Handling: Graceful error recovery and detailed logging
Optimized Database Layer: Efficient Supabase PostgreSQL queries with caching
Containerized Deployment: Docker support with health checks and security best practices
Low Resource Utilization: Optimized for cloud deployment with minimal resource footprint
Related MCP server: @sanderkooger/mcp-server-ragdocs
Getting Started
Prerequisites
Docker and Docker Compose
Supabase account and project
Installation with Docker (Recommended)
Clone the repository
Run the setup script:
The MCP server will be available at http://localhost:3002
Manual Installation
If you prefer not to use Docker, you can install and run the server directly:
Install dependencies:
Apply the database migrations to your Supabase project:
Run the documentation scraper to populate the database:
Start the server:
Using with Continue.dev
To use this MCP server with Continue.dev, add the following to your .continue/config.yaml file:
MCP Tools
This server provides the following enhanced MCP tools:
search-webdna-docs
Searches WebDNA documentation with advanced filtering and relevance scoring. Parameters:
query(string, required): Search query for WebDNA documentationcategory(string, optional): Filter results by categorylimit(number, optional): Maximum results to return (default: 20)offset(number, optional): Offset for pagination (default: 0)
get-webdna-doc
Retrieves detailed documentation for a specific WebDNA instruction or context.
Parameters:
id(string, required): ID, WebDNA ID, or instruction name
get-webdna-categories
Retrieves all WebDNA documentation categories with counts of instructions.
get-random-webdna-docs
Retrieves random WebDNA documentation entries for exploration.
Parameters:
limit(number, optional): Number of entries to return (default: 5)
get-webdna-stats
Retrieves statistics about the WebDNA documentation database.
API Endpoints
GET /health: Health check endpointGET /: API documentation and informationPOST /mcp/init: Initialize the MCP serverPOST /mcp/list_tools: Get available toolsPOST /mcp/invoke_tool: Invoke a tool with parameters
Docker Commands
npm run docker:build: Build the Docker containernpm run docker:run: Run the containernpm run docker:up: Start with Docker Composenpm run docker:down: Stop the containernpm run docker:logs: View container logs
License
ISC
Acknowledgments
Supabase for database infrastructure