trackmcp
Back to directory
llmian-space

devdocs-mcp

View on GitHub

An MCP server inspired by devocs.io

9 stars PythonServers & Infrastructure Updated Aug 7, 2025

Documentation

DevDocs MCP Implementation

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

Project Structure

code
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:

python
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:

bash
pytest tests/property/test_templates.py

Implementation Progress

Completed

  • [x] Basic project structure
  • [x] Resource template system
  • [x] Property-based testing infrastructure
  • [x] URI validation and parameter extraction
  • [x] 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:

    2. Error Handling:

      3. Documentation:

        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/`

        Frequently asked questions

        What is devdocs-mcp?

        devdocs-mcp is An MCP server inspired by devocs.io

        How do I install devdocs-mcp?

        Open the GitHub repository and follow its README. Most MCP servers are added to your client's MCP config, then called by your agent.

        Is devdocs-mcp open source?

        Yes — it is hosted on GitHub at https://github.com/llmian-space/devdocs-mcp and has 9 stars.

        Related MCP tools

        Run your own MCP server? See who uses it and what to fix.

        Measure it with TrackMCP