ContextMCP
Allows indexing documentation from Docusaurus projects, supporting MDX content.
Supports indexing plain Markdown files such as READMEs and CHANGELOGs.
Supports indexing MDX/JSX documentation files.
Allows indexing documentation from Mintlify sites, supporting MDX content.
Supports indexing OpenAPI/Swagger API specifications.
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., "@ContextMCPsearch my docs for Pinecone setup instructions"
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.
ContextMCP
Self-hosted MCP server for your documentation. Index your documentation from across the sources and serve it via the Model Context Protocol (MCP) and REST API.
Quick Start
# Scaffold a new project
npx contextmcp init my-docs-mcp
# Follow the prompts, then:
cd my-docs-mcp
npm install
# Configure your API keys
cp .env.example .env
# Edit .env with your PINECONE_API_KEY and OPENAI_API_KEY
# Configure your documentation sources
# Edit config.yaml
# Index your documentation
npm run reindex
# Edit the cloudflare-worker
# Deploy the MCP server
cd cloudflare-worker
npm install
npm run deployWhat is ContextMCP?
ContextMCP creates a searchable knowledge base from your documentation that AI assistants can query via the Model Context Protocol (MCP).
Supported Content Types
Parser | Content Types | Examples |
| MDX/JSX documentation | Mintlify, Fumadocs, Docusaurus |
| Plain Markdown files | READMEs, CHANGELOGs |
| OpenAPI/Swagger specs | API reference docs |
How It Works
Parse - Extract content from your docs, APIs, and READMEs
Chunk - Split into semantic chunks optimized for search
Embed - Generate embeddings using OpenAI
Store - Upload to Pinecone vector database
Search - Query via MCP from AI assistants
Repository Structure
contextmcp/
├── packages/
│ ├── cli/ # npx contextmcp (npm package)
│ ├── template/ # Project template (scaffolded to users)
│ └── website/ # contextmcp.ai documentation site
└── deployments/
└── dodopayments/ # Dodo Payments specific deploymentPackages
Package | Description | Published |
| CLI scaffolding tool | ✅ npm: |
| Project template | (copied by CLI) |
| Documentation site | (deployed to Vercel) |
Development
Prerequisites
Node.js 18+
Setup
# Install all dependencies
npm install
# Development
npm run dev:website # Run website locally
npm run dev:cli # Watch CLI for changes
# Build
npm run build:website # Build website
npm run build:cli # Build CLI
# Type checking
npm run typecheck # Check all packagesDocumentation
Visit contextmcp.ai/docs for full documentation.
Contributing
We welcome contributions! Please see CONTRIBUTING.md for guidelines on how to contribute to this project.
License
This project is licensed under the Apache License 2.0 - see the LICENSE file for details.
This server cannot be installed
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/dodopayments/context-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server