Repository navigation
Conversation
StevenCyb
enabled auto-merge (squash)
November 17, 2026 08:44
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
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.
What
gomcp call ./projlists the tools,gomcp call ./proj add_note '{"text":"hi"}'calls one, so a project can be tried without an AI client.How
internal/caller: small stdio client (stateless protocol, tools/list paging, input_required handling) andRun, which builds viarunner.Serveover io.Pipe and closes stdin at the end.--jsonprints the indented raw result. Exit 1 on tool error (message on stderr) or protocol error (code and message).-reads stdin; invalid JSON fails before building.--root <dir>answers roots/list. The client declares roots, sampling and elicitation capabilities so tools reach the point of asking (with empty capabilities the server rejects them earlier).callparses its own line (flags in any position) and is registered with the library for help only.Tested
Unit tests (caller against an in-process server, cmd with fake actions), e2e against example/, vet, golangci-lint 0 issues, go test -race ./... green.
🤖 Generated with Claude Code