Cover image
Try Now
2025-03-21

Un servidor MCP para acceder a la documentación actualizada de bibliotecas populares

3 years

Works with Finder

1

Github Watches

1

Github Forks

2

Github Stars

Documentation MCP Server

Status License Version Node Version

A server for developers to access updated documentation of their favorite libraries.

Overview

This MCP (Model-Controller-Presenter) server provides a unified interface for accessing documentation from various libraries. It aggregates documentation from multiple sources, allows for search across all libraries, and ensures developers have access to the most up-to-date information.

Documentation MCP Server Screenshot

Features

  • Documentation Aggregation: Collects documentation from various library sources
  • Search Functionality: Search across all libraries or filter by specific libraries
  • Version Management: Access documentation for different versions of libraries
  • Automatic Updates: Regular fetching of the latest documentation
  • API Access: Programmatic access to documentation through an API
  • Interactive UI: Web interface for browsing documentation

Quick Installation

Using Installation Script

The easiest way to get started:

# Clone the repository
git clone https://github.com/SubaashNair/documentation-mcp-server.git
cd documentation-mcp-server

# Make the installation script executable
chmod +x install.sh

# Run the installation script
./install.sh

Using Docker

# Clone the repository
git clone https://github.com/SubaashNair/documentation-mcp-server.git
cd documentation-mcp-server

# Copy and edit environment variables
cp .env.example .env

# Start with Docker Compose
docker-compose up -d

Manual Installation

For detailed installation instructions, see the Installation Guide.

Usage

Web Interface

Navigate to http://localhost:3000 in your browser to access the web interface.

Web Interface Demo

API Usage

The server provides a RESTful API for programmatic access to documentation.

Example: Search for documentation

curl -X GET "http://localhost:3000/api/search?q=useState&library=react"

Example: Get library documentation

curl -X GET "http://localhost:3000/api/libraries/react/hooks/useState"

Example: Get API status

curl -X GET "http://localhost:3000/api/status"

For full API documentation, visit /api-docs on your server (e.g., http://localhost:3000/api-docs).

Architecture

The Documentation MCP Server follows the Model-Controller-Presenter (MCP) pattern:

  • Model: Data services for fetching and storing documentation (src/services/)
  • Controller: Request handlers for API endpoints (src/controllers/)
  • Presenter: Front-end interface and API response formatting (public/)
MCP Architecture Diagram

Configuration

The server can be configured by editing the .env file or setting environment variables.

Basic Configuration

Variable Description Default
PORT Port to run the server on 3000
GITHUB_TOKEN GitHub token for API access -
DOCUMENTATION_UPDATE_SCHEDULE Cron schedule for updates 0 0 * * * (daily)
LIBRARIES Comma-separated list of libraries to fetch react,vue,angular

For complete configuration options, see the Installation Guide.

Adding New Libraries

To add a new library to the documentation server:

  1. Create a new file in src/libraries/ following the pattern of existing libraries
  2. Implement the required interfaces for fetching and parsing the documentation
  3. Add the library to the configuration

Example implementation:

// src/libraries/your-library.js
const fetchYourLibraryDocumentation = async (version) => {
  // Implementation for fetching documentation
  // ...
};

module.exports = {
  fetchDocumentation: fetchYourLibraryDocumentation
};

Then add it to your .env file:

LIBRARIES=react,vue,angular,your-library

Documentation

Roadmap

  • Add support for more libraries (TypeScript, Node.js, etc.)
  • Implement user accounts and favorites
  • Add offline documentation support
  • Create a CLI tool for accessing documentation
  • Implement community contributions for documentation

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add some amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

License

This project is licensed under the MIT License - see the LICENSE file for details.

Acknowledgments

  • Documentation and API design inspired by DevDocs
  • Architecture patterns from Express.js
  • Search functionality powered by Lunr.js

相关推荐

  • NiKole Maxwell
  • I craft unique cereal names, stories, and ridiculously cute Cereal Baby images.

  • Joshua Armstrong
  • Confidential guide on numerology and astrology, based of GG33 Public information

  • https://suefel.com
  • Latest advice and best practices for custom GPT development.

  • Callycode Limited
  • A geek-themed horoscope generator blending Bitcoin prices, tech jargon, and astrological whimsy.

  • Emmet Halm
  • Converts Figma frames into front-end code for various mobile frameworks.

  • Beniyam Berhanu
  • Therapist adept at identifying core issues and offering practical advice with images.

  • INFOLAB OPERATIONS 2
  • A medical specialist offering assistance grounded in clinical guidelines. Disclaimer: This is intended for research and is NOT safe for clinical use!

  • Elijah Ng Shi Yi
  • Advanced software engineer GPT that excels through nailing the basics.

  • apappascs
  • Descubra la colección más completa y actualizada de servidores MCP en el mercado. Este repositorio sirve como un centro centralizado, que ofrece un extenso catálogo de servidores MCP de código abierto y propietarios, completos con características, enlaces de documentación y colaboradores.

  • ShrimpingIt
  • Manipulación basada en Micrypthon I2C del expansor GPIO de la serie MCP, derivada de AdaFruit_MCP230xx

  • huahuayu
  • Una puerta de enlace de API unificada para integrar múltiples API de explorador de blockchain similar a Esterscan con soporte de protocolo de contexto modelo (MCP) para asistentes de IA.

  • deemkeen
  • Controle su MBOT2 con un combo de potencia: MQTT+MCP+LLM

  • jae-jae
  • Servidor MCP para obtener contenido de la página web con el navegador sin cabeza de dramaturgo.

  • zhaoyunxing92
  • 本项目是一个钉钉 MCP (Protocolo del conector de mensajes )服务 , 提供了与钉钉企业应用交互的 API 接口。项目基于 Go 语言开发 支持员工信息查询和消息发送等功能。 支持员工信息查询和消息发送等功能。

  • HiveNexus
  • Un bot de chat de IA para equipos pequeños y medianos, que apoyan modelos como Deepseek, Open AI, Claude y Gemini. 专为中小团队设计的 ai 聊天应用 , 支持 Deepseek 、 Open ai 、 Claude 、 Géminis 等模型。

    Reviews

    4 (1)
    Avatar
    user_13JGfpxc
    2025-04-15

    I recently started using the Multi Model Advisor by YuChenSSR and it has completely transformed my project workflow! It's incredibly helpful and efficient in providing insights and advice across different models. If you're looking to optimize and streamline your modeling tasks, I highly recommend checking it out. You can find it at https://mcp.so/server/multi-model-advisor/YuChenSSR.