Cover image
Try Now
2025-01-20

Ein MCP -Server, der von devocs.io inspiriert ist

3 years

Works with Finder

1

Github Watches

1

Github Forks

7

Github Stars

DevDocs MCP Implementation

A Model Context Protocol (MCP) implementation for documentation management and integration.

Project Structure

src/
├── resources/
│   ├── templates/      # Resource template system
│   └── managers/       # Resource management
├── documentation/
│   ├── processors/     # Documentation processing
│   └── integrators/    # Integration handlers
├── tasks/
│   ├── issues/         # Issue tracking
│   └── reviews/        # Review management
└── tests/
    ├── property/       # Property-based tests
    └── integration/    # Integration tests

Core Components

Resource Template System

The resource template system provides URI-based access to documentation resources with:

  • Type-safe parameter handling through Pydantic
  • Flexible URI template matching
  • Comprehensive error handling
  • State management for resource lifecycle

Example usage:

from src.resources.templates.base import ResourceTemplate

# Create a template with parameter typing
template = ResourceTemplate(
    uri_template='docs://api/{version}/endpoint',
    parameter_types={'version': str}
)

# Extract and validate parameters
params = template.extract_parameters('docs://api/v1/endpoint')
template.validate_parameters(params)

Testing Strategy

The project uses property-based testing with Hypothesis to ensure:

  • URI template validation
  • Parameter extraction correctness
  • Error handling robustness
  • Type safety enforcement

Run tests:

pytest tests/property/test_templates.py

Implementation Progress

Completed

  • Basic project structure
  • Resource template system
  • Property-based testing infrastructure
  • URI validation and parameter extraction
  • Error handling foundation

In Progress

  • Documentation processor integration
  • Caching layer implementation
  • Task management system
  • Performance optimization

Planned

  • Search implementation
  • Branch mapping system
  • State tracking
  • Monitoring system

Development Guidelines

  1. Follow TDD approach:

    • Write property-based tests first
    • Implement minimal passing code
    • Refactor for clarity and efficiency
  2. Error Handling:

    • Use structured error types
    • Implement recovery strategies
    • Maintain system stability
  3. Documentation:

    • Keep README updated
    • Document new features
    • Include usage examples

Branch Management

The project uses a branch-based development approach for:

  • Feature tracking
  • Documentation integration
  • Task management
  • Progress monitoring

Contributing

  1. Create feature branch
  2. Add property tests
  3. Implement feature
  4. Update documentation
  5. Submit pull request

Next Steps

  1. Implement documentation processor integration
  2. Add caching layer with proper lifecycle management
  3. Develop task management system
  4. Create monitoring and performance metrics

Support Resources

  • MCP Concepts: mcp-docs/docs/concepts/
  • Python SDK: python-sdk/src/mcp/
  • Example Servers: python-sdk/examples/servers/

相关推荐

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

  • Bora Yalcin
  • Evaluator for marketplace product descriptions, checks for relevancy and keyword stuffing.

  • 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.

  • XLwebDev.com
  • PR Professional: Guiding You to Get Media Placements and Publicity Quickly and Effectively

  • Jan Meindl
  • Builds new GPTs

  • Khalid kalib
  • Write professional emails

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

  • apappascs
  • Entdecken Sie die umfassendste und aktuellste Sammlung von MCP-Servern auf dem Markt. Dieses Repository dient als zentraler Hub und bietet einen umfangreichen Katalog von Open-Source- und Proprietary MCP-Servern mit Funktionen, Dokumentationslinks und Mitwirkenden.

  • OffchainLabs
  • GO -Umsetzung des Ethereum -Beweises des Anteils

  • huahuayu
  • Ein einheitliches API-Gateway zur Integration mehrerer Ethercan-ähnlicher Blockchain-Explorer-APIs mit Modellkontextprotokoll (MCP) für AI-Assistenten.

  • deemkeen
  • Steuern Sie Ihren MBOT2 mit einer Power Combo: MQTT+MCP+LLM

    Reviews

    1 (1)
    Avatar
    user_VwfSO8j4
    2025-04-16

    Devdocs-mcp is an essential tool for developers looking for comprehensive and accessible documentation. Created by llmian-space, it offers a seamless experience with well-organized content and user-friendly navigation. This application, accessible via https://github.com/llmian-space/devdocs-mcp, has significantly improved my efficiency in finding technical information quickly. Highly recommended for anyone in need of a reliable and straightforward documentation hub!