Skip to content

docs(mcp): approval binding and scope rules (TablePro#4440) - #275

Merged
datlechin merged 4 commits into
docs/audit-defect-batchfrom
docs/mcp-approval-hardening
Nov 24, 2026
Merged

datlechin merged 4 commits into
docs/audit-defect-batchfrom
docs/mcp-approval-hardening

Conversation

@datlechin

Copy link
Copy Markdown
Member

Summary

Paired with TableProApp/TablePro#4440; stacked on #271 and merges after it.

  • MCP protocol: requestState is bound to where the statement runs; a moved connection gets a new input_required. A multi-statement call asks once. An accepted approval is single-use.
  • MCP tools: fixed-database engines check database against the identity the driver reports and refuse switch_database. On SQL Server, Spanner, Cloudflare R2 SQL and Neo4j, tools that run SQL refuse any schema; on engines without schemas they refuse a schema too, while catalog reads still take an attached SQLite database.
  • Plugin development: the schemaSwitchScopesUnqualifiedNames capability.

@datlechin
datlechin marked this pull request as ready for review November 24, 2026 04:49
@datlechin
datlechin merged commit ec24689 into docs/audit-defect-batch Nov 24, 2026
2 checks passed
@datlechin
datlechin deleted the docs/mcp-approval-hardening branch November 24, 2026 04:49
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