Integrations
Used for property-based testing to ensure URI template validation, parameter extraction correctness, error handling robustness, and type safety enforcement
Provides type-safe parameter handling for the resource template system, enabling validation and extraction of parameters from URIs
Supports the testing infrastructure, allowing for property-based and integration tests to validate the functionality of the documentation management system
DevDocs MCP 实现
用于文档管理和集成的模型上下文协议 (MCP) 实现。
项目结构
核心组件
资源模板系统
资源模板系统提供基于 URI 的文档资源访问:
- 通过 Pydantic 进行类型安全的参数处理
- 灵活的 URI 模板匹配
- 全面的错误处理
- 资源生命周期的状态管理
使用示例:
测试策略
该项目使用基于属性的假设测试来确保:
- URI 模板验证
- 参数提取正确性
- 错误处理稳健性
- 类型安全执行
运行测试:
实施进度
完全的
- [x] 基本项目结构
- [x] 资源模板系统
- [x] 基于属性的测试基础设施
- [x] URI 验证和参数提取
- [x] 错误处理基础
进行中
- [ ] 文档处理器集成
- [ ] 缓存层实现
- [ ] 任务管理系统
- [ ] 性能优化
计划
- [ ] 搜索实现
- [ ] 分支映射系统
- [ ] 状态追踪
- [ ] 监控系统
开发指南
- 遵循 TDD 方法:
- 首先编写基于属性的测试
- 实现最少传递代码
- 重构以提高清晰度和效率
- 错误处理:
- 使用结构化错误类型
- 实施恢复策略
- 维护系统稳定性
- 文档:
- 保持 README 更新
- 记录新功能
- 包括使用示例
分支机构管理
该项目采用基于分支的开发方法:
- 特征追踪
- 文档集成
- 任务管理
- 进度监控
贡献
- 创建功能分支
- 添加属性测试
- 实现功能
- 更新文档
- 提交拉取请求
后续步骤
- 实施文档处理器集成
- 添加具有适当生命周期管理的缓存层
- 开发任务管理系统
- 创建监控和性能指标
支持资源
- MCP 概念:
mcp-docs/docs/concepts/
- Python SDK:
python-sdk/src/mcp/
- 示例服务器:
python-sdk/examples/servers/
This server cannot be installed
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
模型上下文协议实现,支持 AI 访问文档资源,具有基于 URI 的导航、模板匹配和结构化文档管理等特点。
- Project Structure
- Core Components
- Implementation Progress
- Development Guidelines
- Branch Management
- Contributing
- Next Steps
- Support Resources
Related Resources
Related MCP Servers
- -securityFlicense-qualityA Model Context Protocol server utilizing Claude AI for generating intelligent queries and offering documentation assistance based on API documentation analysis.Last updated -32TypeScript
- AsecurityAlicenseAqualityA Model Context Protocol implementation that enables AI assistants to interact with markdown documentation files, providing capabilities for document management, metadata handling, search, and documentation health analysis.Last updated -1434611TypeScriptMIT License
- AsecurityAlicenseAqualityA Model Context Protocol server that enables AI assistants like Claude to interact with Outline document services, supporting document searching, reading, creation, editing, and comment management.Last updated -251PythonMIT License
- AsecurityAlicenseAqualityA Model Context Protocol server that enables AI assistants to interact with Confluence content, supporting operations like retrieving, searching, creating, and updating pages and spaces.Last updated -93TypeScriptMIT License