Skip to main content
Glama

DCP (Docs Context Provider)

A single MCP endpoint that serves documentation from multiple libraries to AI agents and IDEs.

DCP is an open-source Model Context Protocol (MCP) server that provides instant access to up-to-date documentation for any registered library. When you use an AI agent with DCP configured, it can seamlessly query documentation for agno, strands, supabase, and any other library you add — all through one endpoint.

Why DCP?

  • Single endpoint, multiple libraries: No need to configure separate MCP servers for each library

  • Zero configuration: Connect to the hosted service at dcp.farhanaulianda.my.id - no setup required

  • Easy to extend: Add a new library by editing one JSON file

  • Semantic search: Vector-based search powered by embeddings

  • IDE-agnostic: Works with Cursor, Claude Code, Windsurf, and any MCP-compatible tool

Related MCP server: EmbeDocs-MCP

Features

  • Semantic search across documentation using vector embeddings

  • Multi-library support with a single configuration

  • AI-optimized with support for llms.txt and llms-full.txt

  • Auto-sync via GitHub Actions when libraries are added/updated

  • 100% free using open-source tools and free tiers


Quick Start

DCP is hosted at https://dcp.farhanaulianda.my.id - no installation or configuration needed.

Cursor

Add to .cursor/mcp.json:

{
  "mcpServers": {
    "dcp": {
      "command": "npx",
      "args": ["-y", "@modelcontextprotocol/server-everything", "https://dcp.farhanaulianda.my.id/mcp"]
    }
  }
}

Claude Code

Add to ~/.claude/claude_desktop_config.json:

{
  "mcpServers": {
    "dcp": {
      "command": "npx",
      "args": ["-y", "@modelcontextprotocol/server-everything", "https://dcp.farhanaulianda.my.id/mcp"]
    }
  }
}

Windsurf

Add to mcp_config.json:

{
  "mcpServers": {
    "dcp": {
      "command": "npx",
      "args": ["-y", "@modelcontextprotocol/server-everything", "https://dcp.farhanaulianda.my.id/mcp"]
    }
  }
}

That's it! Restart your IDE and start using DCP.


MCP Tools

DCP exposes 4 tools to AI agents:

list_libraries()

List all available libraries with descriptions.

# Returns:
[
  {
    "name": "agno",
    "description": "AI agent framework by Agno",
    "version": "latest",
    "docs_url": "https://docs.agno.com"
  },
  ...
]

get_docs(library: str)

Get full documentation for a specific library.

get_docs("agno")
# Returns: Full concatenated documentation text

search_docs(library: str, query: str, limit: int = 5)

Semantic search within a specific library.

search_docs("supabase", "how to create a table", limit=3)
# Returns: Top 3 relevant chunks with scores

search_all_docs(query: str, limit: int = 5)

Search across all libraries.

search_all_docs("authentication", limit=5)
# Returns: Top 5 results from any library

Contributing

We welcome contributions! Here's how you can help:

Adding a New Library

Adding a new library is as simple as editing providers/provider.json:

{
  "your-library": {
    "llms_txt": "https://your-library.com/llms.txt",
    "llms_full_txt": "https://your-library.com/llms-full.txt",
    "docs": "https://docs.your-library.com",
    "version": "latest",
    "description": "Your library description"
  }
}

Priority chain (DCP tries in this order):

  1. llms_full_txt - Most complete AI-optimized documentation

  2. llms_txt - Condensed AI-optimized documentation

  3. docs - Crawls the documentation site

Set any field to null if not available.

After editing provider.json:

  1. Fork the repository

  2. Edit providers/provider.json to add your library

  3. Submit a pull request

  4. GitHub Actions will automatically sync the new library to the hosted service

Development Setup

If you want to contribute code:

# Clone the repository
git clone https://github.com/svvitzerland/DCP.git
cd DCP

# Install uv (if not already installed)
curl -LsSf https://astral.sh/uv/install.sh | sh

# Create virtual environment and install dependencies
uv venv
source .venv/bin/activate  # On Windows: .venv\Scripts\activate
uv pip install -e ".[dev]"

# Run tests
uv run pytest

# Format code
uv run black .

# Lint code
uv run ruff check .

Reporting Issues

Found a bug or have a feature request? Open an issue


License

MIT License - see LICENSE file for details


Acknowledgments

  • FastMCP for the MCP framework

  • Fastembed for local embeddings

  • All the library maintainers who provide llms.txt files


Support


Made by the DCP community

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      Not graded
      quality
      D
      maintenance
      Enables AI assistants to intelligently search and reference documentation using hybrid semantic + keyword search via MCP protocol.
      -
    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables AI assistants to access up-to-date documentation by indexing GitHub repositories and official docs, providing semantic search through MCP.
      35 npm
      7
      MIT
    • A
      license
      Not graded
      quality
      A
      maintenance
      Enables AI coding agents to search and access open-source code, documentation, and package information via a local MCP server.
      1,561 npm
      140
      Apache 2.0
    • A
      license
      B
      quality
      D
      maintenance
      A local-only MCP server that provides AI coding agents with up-to-date documentation for specific libraries or tools during feature implementation, including search tools, multi-version support, and user-defined library entries.
      2
      ISC