mirror of
https://github.com/svnscha/mcp-windbg.git
synced 2026-10-22 08:26:47 +08:00
06e80a7e6b
This pull request introduces several significant improvements and new features to the `mcp-windbg` project, most notably adding HTTP transport support, enhancing prompt handling, and updating documentation and dependencies. The release also includes configuration and workflow enhancements to streamline development and deployment. References - #25 - #26 - #28 - #29 - #31 --- **Key highlights:** - Adds a new HTTP transport option (`--transport streamable-http`) for broader client compatibility. - Implements a prompt loading API for AI-assisted crash dump analysis. - Updates documentation to reflect new features and workflows. - Improves dependency management and configuration. - Synchronizes version numbers and updates the changelog for the new release. --- ### Transport and Server Features * **HTTP Transport Support:** Adds a new `--transport streamable-http` option, enabling the MCP server to communicate over HTTP in addition to the default stdio. This includes new command-line arguments (`--transport`, `--host`, `--port`) and a new `serve_http` entry point. [[1]](diffhunk://#diff-177bdd0829daf3f08a40b608b72acee746bef7c01860f8ff146d5a120aef4413L1-R1) [[2]](diffhunk://#diff-177bdd0829daf3f08a40b608b72acee746bef7c01860f8ff146d5a120aef4413R16-R44) [[3]](diffhunk://#diff-756c99ad6a15758981c15d6ba32a2d83391908e8e021f0399e9d34339dc4eadaR14-R17) [[4]](diffhunk://#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5R41-R85) [[5]](diffhunk://#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5R111-R131) ### Prompt Handling and AI Integration * **Prompt API and Packaging:** Introduces a prompt loading API in `src/mcp_windbg/prompts/__init__.py` for managing and retrieving prompt templates, and updates packaging to include prompt files. Prompt templates are improved for flexibility by removing hard-coded model references. [[1]](diffhunk://#diff-f2aae3b3197f2de648691493917d208fbb4c6e1a510246e39e38b636c07d3aa5R1-R41) [[2]](diffhunk://#diff-50c86b7ed8ac2cf95bd48334961bf0530cdc77b5a56f852c5c61b89d735fd711R34-R36) [[3]](diffhunk://#diff-1980162a59c33abb96e8650c4d4ee6f25443def59232cec6f1208549c2706dbbL2-R3) [[4]](diffhunk://#diff-1980162a59c33abb96e8650c4d4ee6f25443def59232cec6f1208549c2706dbbL77-R76) [[5]](diffhunk://#diff-1980162a59c33abb96e8650c4d4ee6f25443def59232cec6f1208549c2706dbbL86) ### Dependency and Configuration Management * **Updated Dependencies and Dependabot:** Updates `pyproject.toml` to require newer versions of dependencies (`mcp`, `pydantic`, `starlette`, `uvicorn`), and enhances `.github/dependabot.yml` to provide better grouping, labeling, and scheduling of dependency updates. [[1]](diffhunk://#diff-50c86b7ed8ac2cf95bd48334961bf0530cdc77b5a56f852c5c61b89d735fd711R23-R24) [[2]](diffhunk://#diff-dd4fbda47e51f1e35defb9275a9cd9c212ecde0b870cba89ddaaae65c5f3cd28L3-R48) ### Documentation and Workflow * **Comprehensive Development Guide:** Replaces `AGENTS.md` with a detailed development and release guide, covering repository structure, version management, release process, CI/CD, and troubleshooting. * **Expanded README:** Documents new transport options, configuration for HTTP transport, and command-line arguments, making it easier for users to adopt new features. [[1]](diffhunk://#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5R41-R85) [[2]](diffhunk://#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5R111-R131) ### Release and Versioning * **Version Bump and Changelog:** Synchronizes version numbers across `pyproject.toml`, `server.json`, and updates `CHANGELOG.md` for version 0.12.0, summarizing new features, changes, and fixes. [[1]](diffhunk://#diff-50c86b7ed8ac2cf95bd48334961bf0530cdc77b5a56f852c5c61b89d735fd711L3-R3) [[2]](diffhunk://#diff-a49a8fd223e4838c13a52213b7ed14b3c5aa03077d9d94b621b27484875be429L10-R16) [[3]](diffhunk://#diff-06572a96a58dc510037d5efa622f9bec8519bc1beab13c9f251e97e657a9d4edR8-R24)