Skip to content

Add get/delete endpoint tools for Lakebase Autoscale#274

Closed
CheeYuTan wants to merge 1 commit intodatabricks-solutions:mainfrom
CheeYuTan:feat/lakebase-endpoint-tools
Closed

Add get/delete endpoint tools for Lakebase Autoscale#274
CheeYuTan wants to merge 1 commit intodatabricks-solutions:mainfrom
CheeYuTan:feat/lakebase-endpoint-tools

Conversation

@CheeYuTan
Copy link
Contributor

Summary

  • Imports missing get_endpoint, delete_endpoint, and get_branch from the core library into the MCP tool layer
  • New get_lakebase_endpoint MCP tool: get a specific endpoint's details (state, host, CU settings) or list all endpoints on a branch
  • New delete_lakebase_endpoint MCP tool: delete individual compute endpoints without deleting the entire branch
  • The core library already had these functions exported in __init__.py but they weren't accessible via MCP tools

Test proof

PASS: get_endpoint = <function get_endpoint at 0x10d745440>
PASS: delete_endpoint = <function delete_endpoint at 0x10d745620>
PASS: get_branch = <function get_branch at 0x10d744f40>
All imports successful
Test Result
get_endpoint importable from core library PASS
delete_endpoint importable from core library PASS
get_branch importable from core library PASS
MCP tool file has no lint errors PASS
get_lakebase_endpoint handles both name and branch_name params PASS
delete_lakebase_endpoint delegates to core _delete_endpoint PASS

The core library exported get_endpoint, delete_endpoint, and get_branch
but the MCP tool layer only imported create/list/update for endpoints.

- Import missing get_endpoint, delete_endpoint, get_branch
- New get_lakebase_endpoint tool: get specific endpoint or list all on branch
- New delete_lakebase_endpoint tool: delete individual compute endpoints
@calreynolds
Copy link
Collaborator

Already have this functionality! Just nested in our mcp 👍

@calreynolds calreynolds closed this Mar 9, 2026
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