Skip to content

MCP improvements#18

Open
radim wants to merge 10 commits intomasterfrom
feat/mcp-improvements
Open

MCP improvements#18
radim wants to merge 10 commits intomasterfrom
feat/mcp-improvements

Conversation

@radim
Copy link
Copy Markdown
Member

@radim radim commented May 8, 2026

No description provided.

radim and others added 10 commits May 8, 2026 20:16
Three new tests:
- describe_table with fields=["indexes"] returns only listed sections
- describe_table with an unknown field name returns McpError
- lint_schema default (summary) drops the audit findings array and
  ddl_fix keys, surfacing by_rule counts instead

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Four new tests:
- describe_table without FKs omits _meta.next
- describe_table with an FK emits next pointing to find_related
  (with the table name preserved in args)
- lint_schema summary mode emits next pointing back to lint_schema
  with verbosity=full when findings are present
- ServerInfo.instructions documents the _meta.next contract

Adds a small test_snapshot_with_fk() helper that adds a foreign key
constraint to the existing fixture without disturbing other tests.

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

1 participant