Skip to content

feat(dbops): add default-authoring-instance MCP resource#188

Open
vivonk wants to merge 2 commits into
harness:mainfrom
vivonk:feat/add-primary-instance-api
Open

feat(dbops): add default-authoring-instance MCP resource#188
vivonk wants to merge 2 commits into
harness:mainfrom
vivonk:feat/add-primary-instance-api

Conversation

@vivonk
Copy link
Copy Markdown
Contributor

@vivonk vivonk commented May 13, 2026

Summary

  • Adds database_default_authoring_instance resource to the dbops MCP toolset
  • Maps to GET /dbops/v1/orgs/{org}/projects/{project}/dbschema/{dbschema}/default-authoring-instance
  • Returns the best instance for LLM change authoring (oldest with snapshot, fallback to oldest overall)
  • Backend API added in db-devops-service PR

Test plan

  • npx tsc --noEmit passes (verified locally)
  • MCP Inspector: harness_get(resource_type="database_default_authoring_instance", dbschema_id="<id>") returns expected response
  • 404 returned when schema has no instances

🤖 Generated with Claude Code

@CLAassistant
Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

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