• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

Altinity / altinity-mcp
77%
main: 77%

Build:
Build:
LAST BUILD BRANCH: dependabot/go_modules/golang.org/x/sync-0.21.0
DEFAULT BRANCH: main
Repo Added 29 Jun 2025 01:01PM UTC
Token 563hba5bwFOyvxaiv1nGu7hzJBfrENnzl regen
Build 426 Last
Files 22
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH v0.1.0-issue35
branch: v0.1.0-issue35
CHANGE BRANCH
x
Reset
Sync Branches
  • v0.1.0-issue35
  • chore/drop-clickhouse-go-fork
  • codex/issue-48-tool-safety
  • codex/oauth
  • codex/read-only-block-writes
  • combined-pr83-pr88
  • dependabot/go_modules/github.com/AfterShip/clickhouse-sql-parser-0.5.1
  • dependabot/go_modules/github.com/ClickHouse/clickhouse-go/v2-2.39.0
  • dependabot/go_modules/github.com/ClickHouse/clickhouse-go/v2-2.40.3
  • dependabot/go_modules/github.com/ClickHouse/clickhouse-go/v2-2.41.0
  • dependabot/go_modules/github.com/ClickHouse/clickhouse-go/v2-2.42.0
  • dependabot/go_modules/github.com/ClickHouse/clickhouse-go/v2-2.44.0
  • dependabot/go_modules/github.com/ClickHouse/clickhouse-go/v2-2.45.0
  • dependabot/go_modules/github.com/ClickHouse/clickhouse-go/v2-2.46.0
  • dependabot/go_modules/github.com/docker/docker-28.3.3incompatible
  • dependabot/go_modules/github.com/go-jose/go-jose/v4-4.1.3
  • dependabot/go_modules/github.com/go-jose/go-jose/v4-4.1.4
  • dependabot/go_modules/github.com/mark3labs/mcp-go-0.35.0
  • dependabot/go_modules/github.com/mark3labs/mcp-go-0.36.0
  • dependabot/go_modules/github.com/mark3labs/mcp-go-0.37.0
  • dependabot/go_modules/github.com/mark3labs/mcp-go-0.38.0
  • dependabot/go_modules/github.com/mark3labs/mcp-go-0.40.0
  • dependabot/go_modules/github.com/mark3labs/mcp-go-0.41.0
  • dependabot/go_modules/github.com/mark3labs/mcp-go-0.41.1
  • dependabot/go_modules/github.com/mark3labs/mcp-go-0.42.0
  • dependabot/go_modules/github.com/mark3labs/mcp-go-0.43.0
  • dependabot/go_modules/github.com/mark3labs/mcp-go-0.43.1
  • dependabot/go_modules/github.com/mark3labs/mcp-go-0.43.2
  • dependabot/go_modules/github.com/modelcontextprotocol/go-sdk-1.3.0
  • dependabot/go_modules/github.com/modelcontextprotocol/go-sdk-1.3.1
  • dependabot/go_modules/github.com/modelcontextprotocol/go-sdk-1.4.0
  • dependabot/go_modules/github.com/modelcontextprotocol/go-sdk-1.4.1
  • dependabot/go_modules/github.com/modelcontextprotocol/go-sdk-1.5.0
  • dependabot/go_modules/github.com/modelcontextprotocol/go-sdk-1.6.0
  • dependabot/go_modules/github.com/modelcontextprotocol/go-sdk-1.6.1
  • dependabot/go_modules/github.com/rs/zerolog-1.35.0
  • dependabot/go_modules/github.com/rs/zerolog-1.35.1
  • dependabot/go_modules/github.com/stretchr/testify-1.11.0
  • dependabot/go_modules/github.com/stretchr/testify-1.11.1
  • dependabot/go_modules/github.com/testcontainers/testcontainers-go-0.39.0
  • dependabot/go_modules/github.com/testcontainers/testcontainers-go-0.40.0
  • dependabot/go_modules/github.com/testcontainers/testcontainers-go-0.41.0
  • dependabot/go_modules/github.com/testcontainers/testcontainers-go-0.42.0
  • dependabot/go_modules/github.com/urfave/cli/v3-3.3.9
  • dependabot/go_modules/github.com/urfave/cli/v3-3.4.1
  • dependabot/go_modules/github.com/urfave/cli/v3-3.5.0
  • dependabot/go_modules/github.com/urfave/cli/v3-3.6.0
  • dependabot/go_modules/github.com/urfave/cli/v3-3.6.1
  • dependabot/go_modules/github.com/urfave/cli/v3-3.6.2
  • dependabot/go_modules/github.com/urfave/cli/v3-3.7.0
  • dependabot/go_modules/github.com/urfave/cli/v3-3.8.0
  • dependabot/go_modules/github.com/urfave/cli/v3-3.9.0
  • dependabot/go_modules/golang.org/x/crypto-0.45.0
  • dependabot/go_modules/golang.org/x/crypto-0.51.0
  • dependabot/go_modules/golang.org/x/crypto-0.52.0
  • dependabot/go_modules/golang.org/x/net-0.55.0
  • dependabot/go_modules/golang.org/x/sync-0.21.0
  • dependabot/go_modules/google.golang.org/grpc-1.79.3
  • feature-multicluster
  • feature/cimd-inbound-115
  • feature/cimd-private-key-jwt-118
  • feature/dcr-via-auth0
  • feature/forward-http-headers-to-ch
  • feature/ha-jwe-state
  • feature/header-to-settings
  • feature/helm-configurable-probe-path
  • feature/helm-custom-selector-labels
  • feature/helm-extra-env
  • feature/helm-service-session-affinity
  • feature/http-root-endpoint
  • feature/input-hardening
  • feature/interserver-auth
  • feature/oauth-flag-wiring
  • feature/oauth-refresh-reuse-detection
  • feature/oauth-require-email-verified
  • feature/oauth-spec-compliance-hardening
  • feature/server-split
  • feature/sidecar
  • feature/tool_input_settings
  • feature/unified-tools
  • fix-oauth-expired-token-401
  • fix/oauth-register-refresh-token-grant
  • main
  • oauth/cimd-pkj-post-merge-nits
  • oauth/cimd-post-merge-nits
  • oauth/forward-mode-id-token-refresh-121
  • oauth/refactor-go-sdk-adoption
  • query/result-caps-124
  • test/bind-mount-config-files
  • testing/embedded-clickhouse
  • v1.0.0
  • v1.0.1
  • v1.0.2
  • v1.0.3
  • v1.0.4
  • v1.0.5
  • v1.0.6
  • v1.0.7
  • v1.1.0
  • v1.1.2
  • v1.1.3
  • v1.2.0
  • v1.2.1
  • v1.3.0
  • v1.3.1
  • v1.3.2
  • v1.3.3
  • v1.3.4
  • v1.3.5-issue48
  • v1.4.0
  • v1.4.1
  • v1.4.2
  • v1.5.0

17 Apr 2026 09:23AM UTC coverage: 76.846% (-2.4%) from 79.281%
24557856044

push

github

BorisTyshkevich
Fix tools-management issues from app-team review

1. getArgumentsMap now returns (map, error) instead of silently swallowing
   JSON parse errors. All 5 call sites updated to surface the error to the
   MCP client instead of producing cryptic downstream errors.

2. Add clickhouse.max_query_length (default 10MB) and max_parameter_size
   (default 10MB) limits. Oversize inputs rejected before reaching CH.

3. New truncateErrForClient helper caps error messages sent to clients
   at 2000 chars. Full error still logged server-side. 5 call sites updated.

4. Unit tests for buildInsertQuery (unicode, null bytes, backslash,
   quote escaping, required-param validation, optional-param omission,
   no-columns) and buildDynamicWriteQuery (mode dispatch, unsupported
   mode rejection). New TestRegisterTools_RejectsUnsupportedWriteModes
   covers config-time rejection of update/upsert modes.

5. EnsureDynamicTools now uses RWMutex fast path + TryLock so concurrent
   requests don't block during initial slow discovery — they see static
   tools immediately and get updated via notifications/tools/list_changed
   when discovery completes.

Cleanup:
- Remove dead dynamicToolMeta.IsStatic field
- Reject update/upsert write modes at config-parse time in RegisterTools
  instead of at call time (the tool no longer registers if it can't work)
- Simplify buildDynamicWriteQuery dispatcher (only insert is valid)
- Update TestGetArgumentsMap_ErrorPath to match new error-returning behavior

Declined from review spec:
- 1MB query limit default (too restrictive for OLAP; using 10MB)
- 1000-char error truncation (too aggressive; using 2000)

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

50 of 105 new or added lines in 2 files covered. (47.62%)

252 existing lines in 2 files now uncovered.

4361 of 5675 relevant lines covered (76.85%)

1.1 hits per line

Relevant lines Covered
Build:
Build:
5675 RELEVANT LINES 4361 COVERED LINES
1.1 HITS PER LINE
Source Files on v0.1.0-issue35
  • Tree
  • List 7
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
24557856044 v0.1.0-issue35 Fix tools-management issues from app-team review 1. getArgumentsMap now returns (map, error) instead of silently swallowing JSON parse errors. All 5 call sites updated to surface the error to the MCP client instead of producing cryptic down... push 17 Apr 2026 09:25AM UTC BorisTyshkevich github
76.85
24508576960 v0.1.0-issue35 Make execute_query always read-only, reject write statements execute_query is the READ tool — it should always have ReadOnlyHint: true regardless of whether the server allows writes. Previously, when readOnly=false, execute_query was annotated as... push 16 Apr 2026 11:52AM UTC BorisTyshkevich github
79.28
24507656808 v0.1.0-issue35 Defer dynamic tool discovery until credentials are available In forward-OAuth mode with blank static credentials, EnsureDynamicTools failed during the tools/list handshake because no Bearer token was present yet. Discovery now checks for availabl... push 16 Apr 2026 11:29AM UTC BorisTyshkevich github
79.77
24505715835 v0.1.0-issue35 Fix column_type compat: use default_kind only for column filtering The column_type field doesn't exist in system.columns on all ClickHouse versions (e.g., 26.1.x Altinity Antalya). This caused dynamic write tool discovery to fail silently. The de... push 16 Apr 2026 10:41AM UTC BorisTyshkevich github
83.81
24503086106 v0.1.0-issue35 Serve HTTP transport at root path and fix Issue #35 bugs - Change HTTP transport endpoint from /http to / (root path) - SSE transport unchanged at /sse, OAuth unchanged at /oauth/* - Remove /http-based OAuth .well-known aliases (now redundant) - ... push 16 Apr 2026 09:39AM UTC BorisTyshkevich github
83.78
See All Builds (425)

Badge your Repo: altinity-mcp

We detected this repo isn’t badged! Grab the embed code to the right, add it to your repo to show off your code coverage, and when the badge is live hit the refresh button to remove this message.

Could not find badge in README.

Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

Refresh
  • Settings
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc