Metadata-Version: 2.4
Name: devmcp-server
Version: 0.2.1
Summary: A from-scratch MCP server exposing git and CI tooling over the full protocol surface (tools, resources, prompts, roots, sampling).
Author: Rudra Naresh
License: MIT License
        
        Copyright (c) 2026 Rudra Naresh
        
        Permission is hereby granted, free of charge, to any person obtaining a copy
        of this software and associated documentation files (the "Software"), to deal
        in the Software without restriction, including without limitation the rights
        to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
        copies of the Software, and to permit persons to whom the Software is
        furnished to do so, subject to the following conditions:
        
        The above copyright notice and this permission notice shall be included in all
        copies or substantial portions of the Software.
        
        THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
        IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
        FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
        AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
        LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
        OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
        SOFTWARE.
        
Project-URL: Homepage, https://github.com/rudranaresh0201/mcp
Project-URL: Repository, https://github.com/rudranaresh0201/mcp
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: Software Development :: Testing
Requires-Python: >=3.11
Description-Content-Type: text/markdown
License-File: LICENSE
Provides-Extra: dev
Requires-Dist: pytest>=8.0; extra == "dev"
Requires-Dist: pytest-asyncio>=0.24; extra == "dev"
Requires-Dist: pytest-timeout>=2.3; extra == "dev"
Requires-Dist: ruff>=0.6; extra == "dev"
Requires-Dist: build>=1.0; extra == "dev"
Requires-Dist: twine>=5.0; extra == "dev"
Dynamic: license-file

# devmcp

<!-- mcp-name: io.github.rudranaresh0201/devmcp -->

A from-scratch MCP server exposing git and CI tooling over the **full**
protocol surface — tools, resources with live push subscriptions, prompts,
roots negotiation, and sampling — not just the tools primitive most example
servers stop at.

Standalone and independently installable; has no import dependency on
`verimcp` (the sibling package in this repo that proxies and verifies
backends like this one — see the [root README](../README.md) for how they
fit together, though devmcp works fine as a plain MCP server on its own).

## What it does

Run `devmcp --repo-path ./some-repo` and it:

- answers `tools/call` for `write_file`, `git_commit`, `git_branch`,
  `run_ci_pipeline` — each produces a real, independently-checkable side
  effect on disk or in git, not just a claimed result
- serves `resources/read` for `repo://status`, `repo://log`,
  `repo://file/{path}`, `ci://last-run`, and pushes
  `notifications/resources/updated` unprompted when a subscribed resource
  changes
- serves `prompts/get` for `commit-message` and `pr-description` templates
- on startup, asks the *Client* `roots/list` and relocates its own working
  directory to whatever the Client declares, rather than trusting its own
  `--repo-path` flag blindly
- for `summarize_diff`, asks the *Client's own model* to do the
  summarization via `sampling/createMessage` — devmcp never needs its own
  LLM API key, it borrows whatever model the Host already has

## Getting started

```bash
pip install devmcp-server   # PyPI distribution name -- CLI/import are still plain `devmcp`
devmcp --repo-path ./some-repo
```

Contributing to this repo instead:

```bash
pip install -e ".[dev]"
pytest tests
ruff check src tests
```

## License

MIT — see [LICENSE](LICENSE).
