Skip to content

Conversation

@mars167
Copy link
Owner

@mars167 mars167 commented Jan 28, 2026

Summary

  • Remove stateful MCP tool set_repo to keep MCP tool calls atomic.
  • Add optional path parameter to get_repo so every MCP tool supports repository scoping.
  • Update docs and tests accordingly.

Compatibility

  • CLI behavior unchanged.
  • MCP callers should pass path per tool call (recommended), or start the server with git-ai ai serve --path <repo>.

Test

  • npm test

@mars167 mars167 merged commit 4505d58 into main Jan 29, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants