mcpField
D
DevDocsMCP

DevDocsMCP

Local
github.com/kelvinzer0Developer Tools5Updated 65w ago

About DevDocsMCP

DevDocsMCP is a command-line tool for searching and reading documentation from DevDocs.io online. Developers can also run it as an HTTP server to make those operations available to MCP clients.

Key features

  1. 01Search documentation by term and documentation set
  2. 02Read individual documentation entries
  3. 03Run an HTTP server with selected languages
  4. 04Show the server’s allowed languages

Use cases

  1. 01Find a term in HTML, Go, or another documentation set
  2. 02Retrieve the contents of a documentation entry
  3. 03Provide documentation search and reading to connected tools

MCP support

It runs as an MCP server, exposing documentation search and reading functionality to MCP clients.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

No install method listed yet

We haven’t collected a package or remote endpoint for this server. Follow the instructions in the project README.

Repository

Tools

No tool list yet

Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.

Details

From the project README

DevDocsMCP

Build Status GitHub release (latest SemVer) Go Version

DevDocsMCP is a command-line tool that allows you to search and read documentation directly from DevDocs.io. It operates purely online, fetching data as needed.

Setup

  1. Go Installation: Ensure you have Go installed on your system. You can download it from golang.org.

  2. Clone the Repository:

    git clone https://github.com/kelvinzer0/DevDocsMCP.git
    cd DevDocsMCP
    
  3. Build the Application:

    go build -o devdocsmcp cmd/devdocsmcp/main.go
    

    This will create an executable named devdocsmcp in the current directory.

Usage

Navigate to the DevDocsMCP directory in your terminal.

Search Documentation

To search for a term within a specific documentation set:

./devdocsmcp search -lang <language_slug> -query <search_query>
  • <language_slug>: The slug for the documentation (e.g., html, css, angularjs~1.8, vite, tailwindcss, go, mysql, sqlite). You can find a list of available documentation on DevDocs.io.
  • <search_query>: The term you want to search for.

Examples:

  • Search for "display" in HTML documentation:

    ./devdocsmcp search -lang html -query display
    
  • Search for "foreach" in AngularJS 1.8 documentation:

    ./devdocsmcp search -lang angularjs~1.8 -query foreach
    
Read Documentation Content

To read the content of a specific documentation entry:

./devdocsmcp read -lang <language_slug> -path <entry_path>
  • <language_slug>: The slug for the documentation (e.g., html, css, angularjs~1.8).
  • <entry_path>: The path to the specific documentation entry, as found in search results (e.g., reference/elements/a, api/ng/function/angular.foreach).

Examples:

  • Read the documentation for the HTML <a> element:

    ./devdocsmcp read -lang html -path reference/elements/a
    
  • Read the documentation for angular.forEach:

    ./devdocsmcp read -lang angularjs~1.8 -path api/ng/function/angular.foreach
    
Run as an MCP Server

DevDocsMCP can also run as an HTTP server, exposing its search and read functionalities via API endpoints. This is useful for integrating with other tools or services.

To start the server:

./devdocsmcp server [-port <port_number>] -lang <comma_separated_languages>
  • -port: Optional. The port number for the server to listen on. Defaults to 8080.
  • -lang: Optional. A comma-separated list of language slugs that this server instance should serve (e.g., html,css). If omitted, all languages will be allowed.

Example MCP Server Configuration:

To configure DevDocsMCP as an MCP server, you can add a section like this to your MCP configuration file:

{
  "mcpServers": {
    "devdocs-html": {
        "command": "/path/to/your/DevDocsMCP/cmd/devdocsmcp",
        "args":["server", "--lang", "html"]
    },
    "devdocs-css": {
        "command": "/path/to/your/DevDocsMCP/cmd/devdocsmcp",
        "args":["server", "--lang", "css"]
    },
    "devdocs-vite": {
        "command": "/path/to/your/DevDocsMCP/cmd/devdocsmcp",
        "args":["server", "--lang", "vite"]
    },
    "devdocs-tailwindcss": {
        "command": "/path/to/your/DevDocsMCP/cmd/devdocsmcp",
        "args":["server", "--lang", "tailwindcss"]
    },
    "devdocs-go": {
        "command": "/path/to/your/DevDocsMCP/cmd/devdocsmcp",
        "args":["server", "--lang", "go"]
    },
    "devdocs-mysql": {
        "command": "/path/to/your/DevDocsMCP/cmd/devdocsmcp",
        "args":["server", "--lang", "mysql"]
    },
    "devdocs-sqlite": {
        "command": "/path/to/your/DevDocsMCP/cmd/devdocsmcp",
        "args":["server", "--lang", "sqlite"]
    }
  }
}

Note: Replace /path/to/your/DevDocsMCP/cmd/devdocsmcp with the actual absolute path to your devdocsmcp executable. The key "devdocs-html-css" can be any unique identifier for this server.

Display Allowed Languages

To display the languages that the devdocsmcp server is configured to allow:

./devdocsmcp allowed-langs

This command will show the languages that were specified with the -lang flag when the server was started. If no languages were specified, it will indicate that all languages are allowed.

Download Pre-built Binaries

You can download pre-built binaries for various operating systems and architectures directly from the GitHub Releases page.

Replace [VERSION] with the desired release version (e.g., v1.0.0).

Linux / macOS
# Download the binary (replace [OS] and [ARCH] with your system, e.g., linux_amd64, darwin_arm64)
wget https://github.com/kelvinzer0/DevDocsMCP/releases/download/[VERSION]/devdocsmcp_[OS]_[ARCH] -O devdocsmcp

# Make it executable
chmod +x devdocsmcp

# Move it to a directory in your PATH (e.g., /usr/local/bin)
sudo mv devdocsmcp /usr/local/bin/
Windows

Download the appropriate .exe file from the GitHub Releases page (e.g., devdocsmcp_windows_amd64.exe). Rename the downloaded file to devdocsmcp.exe. Move devdocsmcp.exe to a directory that is included in your system's PATH environment variable. A common practice is to create a bin folder in your user directory (e.g., C:\Users\YourUser\bin) and add it to PATH.

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.