Skip to content

Implement MCP Server#5489

Merged
clockwork-tien merged 2 commits into
masterfrom
tien/feat/mcp
Jul 15, 2026
Merged

Implement MCP Server#5489
clockwork-tien merged 2 commits into
masterfrom
tien/feat/mcp

Conversation

@clockwork-tien

@clockwork-tien clockwork-tien commented Jul 6, 2026

Copy link
Copy Markdown
Contributor

Description of Changes

Add MCP server at POST /v1/database/:name_or_identity/mcp, with inherited auth from the route middleware and HTTP JSON-RPC transport.

Tools:

  • ping: health check
  • get_schema: the module schema (tables, reducers) as JSON
  • sql: runs a SQL statement
  • call: invokes a reducer

API and ABI breaking changes

Expected complexity level and risk

2

Testing

  • I tested the implementation and tools calls, tests, lint and format checks passed

@clockwork-tien clockwork-tien marked this pull request as ready for review July 6, 2026 18:32

@cloutiertyler cloutiertyler left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems reasonable to me and is very low risk.

@clockwork-tien clockwork-tien added this pull request to the merge queue Jul 15, 2026
Merged via the queue into master with commit 71f7fe4 Jul 15, 2026
64 of 66 checks passed
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.

2 participants