Fire in da houseTop Tip:Paying $100+ per month for Perplexity, MidJourney, Runway, ChatGPT and other tools is crazy - get all your AI tools in one site starting at $15 per month with Galaxy AI Fire in da houseCheck it out free

devdocs-mcp

MCP.Pizza Chef: llmian-space

devdocs-mcp is an MCP server designed for documentation management and integration, inspired by devdocs.io. It features a resource template system with type-safe parameter handling, flexible URI template matching, and comprehensive error and state management. The server supports documentation processing, integration handlers, issue tracking, and review management, enabling structured, real-time access and interaction with documentation resources within the MCP ecosystem.

Use This MCP server To

Provide URI-based access to documentation resources Manage documentation lifecycle with stateful resource templates Integrate documentation into AI workflows via MCP Track and manage documentation issues and reviews Process and transform documentation content programmatically Enable type-safe parameter handling for resource queries Support flexible URI template matching for resource access

README

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/

devdocs-mcp FAQ

How does devdocs-mcp handle parameter validation?
It uses Pydantic for type-safe parameter handling ensuring robust validation.
Can devdocs-mcp manage documentation lifecycle states?
Yes, it includes state management for resource lifecycle.
What kind of documentation integrations does devdocs-mcp support?
It supports integration handlers for connecting with various documentation sources and workflows.
Does devdocs-mcp provide error handling for resource access?
Yes, it offers comprehensive error handling for URI template matching and resource management.
Is devdocs-mcp suitable for issue and review tracking?
Yes, it includes modules for issue tracking and review management within documentation workflows.
How is devdocs-mcp structured for extensibility?
It has modular components like resource templates, processors, integrators, and task managers for flexible extension.
What programming language is devdocs-mcp implemented in?
It is implemented in Python, leveraging Pydantic for data validation.