Skip to content

Conversation

@polinom
Copy link
Owner

@polinom polinom commented Jan 10, 2026

Summary

  • Separate implementation functions (_local_claude_code_impl, _local_codex_impl, _local_cli_impl) from MCP tool decorators
  • Move FastMCP server initialization after implementation functions
  • Update tests to directly call implementation functions for reliable unit testing

Test plan

  • All 17 MCP server tests pass
  • Tests now directly test implementation logic without MCP decorator overhead

🤖 Generated with Claude Code

Separate implementation functions from MCP tool decorators to enable
direct unit testing without MCP framework overhead. The tool wrappers
now delegate to _impl functions that contain the actual logic.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@polinom polinom merged commit f16a97c into main Jan 10, 2026
6 checks 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