Skip to main content
Glama

databricks-mcp-server

list_schemas.go546 B
package tools import ( "context" "github.com/databricks/databricks-sdk-go/service/catalog" "github.com/mark3labs/mcp-go/mcp" ) // ListSchemas retrieves all schemas in the specified catalog // and returns them as a JSON string. func ListSchemas(ctx context.Context, request mcp.CallToolRequest) (interface{}, error) { w, err := WorkspaceClientFromContext(ctx) if err != nil { return nil, err } catalogName := request.GetString("catalog", "") return w.Schemas.ListAll(ctx, catalog.ListSchemasRequest{ CatalogName: catalogName, }) }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/characat0/databricks-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server