Wire read-only MCP server for coding agents (v0.1.2)#19
Merged
Conversation
dtc mcp start now runs a real MCP server over stdio, exposing the three implemented read-only tools (list_concepts, explain_concept, get_context_pack) so coding agents can query local evidence-backed repository memory. - MCP SDK is an optional extra: pip install "devtime-ei[mcp]" (core stays lean) - stdout is reserved for the JSON-RPC stream; diagnostics go to stderr - read-only surface only: no write tools, no network listener, no source code - tools return a clear not_initialized error outside a scanned repo - mcp preview separates implemented tools from planned ones (no overclaiming) - README gains a "Use with coding agents (MCP)" section with Claude Code and .mcp.json setup; LIMITATIONS/ROADMAP updated to stop saying "not wired" - version 0.1.2, release notes added, 104 tests (7 new), end-to-end verified with the official MCP Python client against a wheel install
Adds server.json (io.github.shakargy/devtime, pypi package devtime-ei, stdio) and a manual workflow that publishes it to the official MCP Registry using GitHub OIDC (no stored secrets). The mcp-name ownership marker is embedded in the README so the registry can validate the PyPI package.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
DevTime memory becomes available to coding agents.
dtc mcp startnow runs a real MCP server over stdio, so agents like Claude Code can query evidence-backed repository memory instead of guessing.list_concepts,explain_concept,get_context_packpip install "devtime-ei[mcp]"); the core install stays lean anddtc mcp startfails with a helpful install hint without itdtc mcp previewnow honestly separates implemented tools from planned onesclaude mcp add devtime -- dtc mcp start+.mcp.jsonsnippet)Trust model (unchanged, now enforced by a real server)
not_initializederror anddtc mcp startexits 2 with instructionsVerification
dtc: initialize handshake, list_tools, and all three tool calls return correct evidence-backed data[mcp]extra works fullypython -m build+twine checkpass; no forbidden artifacts in the wheelNo concept detection, risk review, or scanner behavior changes. No tag, no publish (awaiting approval).