Repository navigation
feat(timescaledb): read-only function allowlist + full tool family (#353) - #354
Merged
Merged
Conversation
…353) Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…icy DDL, gated chunk+job admin (#353) Phase 0 spike on TimescaleDB 2.30.2 settled the open design questions (which procedures refuse transaction blocks, telemetry is local-only, privileges). Adds 21 tools in three tiers, the MCPG_ALLOW_TIMESCALEDB_ADMIN flag, a dry_run/confirm+confirmation_token flow for destructive calls, integration tests and an experimental TimescaleDB CI job, docs/timescaledb.md, and the design doc results. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Resolve registry overlaps (config, README, CHANGELOG, tool-count tests); regenerate tool snapshot, tools.json, tool index and module map. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This was referenced Oct 14, 2026
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #353
Summary
time_bucket,first/last,locf,histogram,interpolate, size/stats functions,show_chunks,by_range/by_hash, uuidv7 helpers,timescaledb_experimental.show_policies) are now allowed. Mutating functions, procedures,timescaledb_pre/post_restoreandget_telemetry_reportstay blocked.docs/plans/timescaledb-tools.md, reference indocs/timescaledb.md:get_hypertable_stats,list_timescale_jobs,list_continuous_aggregates,get_timescaledb_telemetry_reportMCPG_ALLOW_DDL):add_dimension,set_chunk_time_interval,add_continuous_aggregate_policy,add_reorder_policy, fourremove_*_policyMCPG_ALLOW_TIMESCALEDB_ADMIN,dry_runthenconfirm=true+confirmation_token):drop_chunks,compress_chunk,decompress_chunk,reorder_chunk,merge_chunks,refresh_continuous_aggregate,run_job,alter_job,delete_jobrefresh_continuous_aggregate,merge_chunks_concurrentlyandreorder_chunkcannot run in a transaction block, so they use an autocommit connection and are refused under tenancy;get_telemetry_report()is local-only.TimescaleDBCI job runstests/integration/test_timescaledb_integration.py.Deliberately not included:
add_job,enable_chunk_skipping,move_chunk,split_chunk,attach/detach_chunk,convert_to_*,add_columnstore_policy,recompress_chunk(reasons indocs/timescaledb.md).Roadmap linkage
Advances roadmap row: N/A — new feature requested in #353, no roadmap row
Test plan
ruff,ruff format,mypy src/mcpgtools.json, doc tables regeneratedTimescaleDBCI job green🤖 Generated with Claude Code
Summary by Sourcery
Expand TimescaleDB support with a safety-scoped SQL allowlist and a complete gated tool family for inspection, policy management, and administration.
New Features:
Bug Fixes:
Enhancements:
CI:
Documentation:
Tests:
Chores: