Repository navigation
Conversation
Do not merge: experiment for evaluating direct altimate-code tools in Claude Code. - Bring in `altimate-code mcp serve` and the workspace tools from the MCP draft branches - `tool list|schema|run|context|daemon`: run the same adapter as `mcp serve` without a model - `mcp serve` default set adds impact, lineage, PII, data-diff, equivalence and translation tools; `--all-tools` exposes the full allow-list - Long-running per-project process keeps connections warm and releases DuckDB/SQLite file locks between calls - `--connections` / `ALTIMATE_TOOL_CONNECTIONS`, `--args -` from stdin, `tool schema` for one tool - DROP DATABASE, DROP SCHEMA and TRUNCATE stay blocked even with `--allow-write` - `link --claude-md` writes CLI routing guidance for clients without MCP Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Important Draft PR not reviewedDraft PRs are not automatically reviewed by default.
To automatically review draft PRs, update your CodeRabbit configuration: reviews:
auto_review:
drafts: true
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
This PR doesn't fully meet our contributing guidelines and PR template. What needs to be fixed:
Please edit this PR description to address the above within 2 hours, or it will be automatically closed. If you believe this was flagged incorrectly, please let a maintainer know. |
|
Hey! Your PR title Please update it to start with one of:
Where See CONTRIBUTING.md for details. |
|
👋 This PR was automatically closed by our quality checks. Common reasons:
If you believe this was a mistake, please open an issue explaining your intended contribution and a maintainer will help you. |
|
👋 This PR was automatically closed by our quality checks. Common reasons:
If you believe this was a mistake, please open an issue explaining your intended contribution and a maintainer will help you. |
What this experiment contains
altimate-code mcp servefrom feat(mcp):altimate-code mcp serveexposes data tools to MCP clients without an LLM #1543 and the workspace tools from feat(mcp): expose workspace context to coding clients #1576.mcp serveand a new model-freetoolCLI (tool list | schema | run | context | daemon) execute tools through the same adapter, so both share compact schemas,sql_executewithtablesandquery_from, result spill files,answer_commit, and read-only enforcement.mcp servedefault set: the five feat(mcp):altimate-code mcp serveexposes data tools to MCP clients without an LLM #1543 tools plusimpact_analysis,dbt_lineage,altimate_core_column_lineage,schema_detect_pii,data_diff,altimate_core_equivalence,sql_translate;--all-toolsexposes the full 70-tool allow-list.tool contextprints the analyst method and connection/table listing thatmcp servesends at startup, for shell agents.--connections/ALTIMATE_TOOL_CONNECTIONS,--args -from stdin,--workspace-tools.--allow-write.link --claude-md(opt-in) writes CLI routing guidance toCLAUDE.mdfor clients that cannot use MCP.altimate-code mcp serveexposes data tools to MCP clients without an LLM #1543 is intentionally not included.Validation
bun run typecheckclean;test/altimate/tool-cli+test/cli/help50/50;ALTIMATE_MCP_E2E=1 test/altimate/mcp-server101/101; other feat(mcp):altimate-code mcp serveexposes data tools to MCP clients without an LLM #1543/feat(mcp): expose workspace context to coding clients #1576 test files 761/761.tool context,tool runvia the daemon and in-process, andmcp serveover stdio (initialize,tools/list,tools/call) against DuckDB.🤖 Generated with Claude Code
Summary by cubic
Experimental branch, not for merge: evaluates how external coding agents call altimate-code data tools directly, via a new model-free
toolCLI ormcp serveover stdio.tool list | schema | run | context | daemonandmcp serveexecute the same adapter, so both share compact schemas,sql_executeoptions, result spill files,answer_commit, and read-only enforcement.mcp servedefaults to the original five tools plus impact, lineage, PII, data-diff, equivalence and translation tools;--all-toolsopens the full 70-tool allow-list.DROP DATABASE,DROP SCHEMAandTRUNCATEstay blocked even with--allow-write.link --claude-mdwrites CLI routing guidance intoCLAUDE.mdfor clients that cannot use MCP.Behavior changes
schema_inspectlists schemas and up to 500 tables with catalog row estimates whentableis omitted; MongoDB catalog discovery is bounded and closes cursors early.answer_commitacceptsaskedandreadingsarguments, and its rejection checks moved into a dedicated module with per-turn limits.Validation: typecheck clean;
test/altimate/tool-cli+test/cli/help50/50;ALTIMATE_MCP_E2E=1 test/altimate/mcp-server101/101; other affected test files 761/761.Written for commit 18e72ea. Summary will update on new commits.