Files
mcp-sonarqube-proxy/.gitignore
T
marcus a6fd188c14 feat: initial v0.1.0 of mcp-sonarqube-proxy
Stdio MCP server that proxies tools from an upstream SonarQube MCP server
over streamable HTTP. Tools are forwarded 1:1 with full schema preservation
(inputSchema, outputSchema, annotations, title, _meta); CallToolResult is
forwarded including isError and structuredContent.

- proxy.py: persistent upstream ClientSession, low-level Server with
  @list_tools and @call_tool(validate_input=False) handlers — the upstream
  is the sole schema authority.
- cli.py: Click-based 'serve' (stdio) and 'check' (probe) commands;
  logging strictly on stderr (stdout reserved for JSON-RPC).
- Targets mcp 1.27.x decorator API (pinned <2 to guard against the
  unreleased constructor-API rewrite on main).
- pytest suite (14 tests) covering env-var resolution, schema passthrough,
  CallToolResult forwarding, registration, dispatch end-to-end, and CLI
  success/error paths.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-06 20:26:38 +02:00

50 lines
424 B
Plaintext

# Python
__pycache__/
*.py[cod]
*$py.class
*.so
.Python
# Distribution / packaging
build/
dist/
*.egg-info/
*.egg
wheels/
.eggs/
# Virtual environments
.venv/
venv/
env/
ENV/
# uv
.uv/
uv.lock
# Testing
.pytest_cache/
.coverage
.coverage.*
htmlcov/
.tox/
.nox/
# Type checkers / linters
.mypy_cache/
.ruff_cache/
.pyright/
# Editors
.vscode/
.idea/
*.swp
*.swo
.DS_Store
Thumbs.db
# Environment files
.env
.env.local