Skip to main content
Glama

Databricks MCP Server

by moma1992
McpService.ts2.59 kB
/* generated using openapi-typescript-codegen -- do not edit */ /* istanbul ignore file */ /* tslint:disable */ /* eslint-disable */ import type { CancelablePromise } from '../core/CancelablePromise'; import { OpenAPI } from '../core/OpenAPI'; import { request as __request } from '../core/request'; export class McpService { /** * Get Mcp Info * Get MCP server information including URL and capabilities. * * Returns: * Dictionary with MCP server details * @returns any Successful Response * @throws ApiError */ public static getMcpInfoApiMcpInfoInfoGet(): CancelablePromise<Record<string, any>> { return __request(OpenAPI, { method: 'GET', url: '/api/mcp_info/info', }); } /** * Get Mcp Discovery * Get MCP discovery information including prompts and tools. * * This endpoint dynamically discovers available prompts and tools * from the FastMCP server instance. * * Returns: * Dictionary with prompts and tools lists and servername * @returns any Successful Response * @throws ApiError */ public static getMcpDiscoveryApiMcpInfoDiscoveryGet(): CancelablePromise<Record<string, any>> { return __request(OpenAPI, { method: 'GET', url: '/api/mcp_info/discovery', }); } /** * Get Mcp Config * Get MCP configuration for Claude Code setup. * * Returns: * Dictionary with configuration needed for Claude MCP setup * @returns any Successful Response * @throws ApiError */ public static getMcpConfigApiMcpInfoConfigGet(): CancelablePromise<Record<string, any>> { return __request(OpenAPI, { method: 'GET', url: '/api/mcp_info/config', }); } /** * Get Mcp Prompt Content * Get the content of a specific MCP prompt. * * Args: * prompt_name: The name of the prompt * * Returns: * Dictionary with prompt name and content * @param promptName * @returns string Successful Response * @throws ApiError */ public static getMcpPromptContentApiMcpInfoPromptPromptNameGet( promptName: string, ): CancelablePromise<Record<string, string>> { return __request(OpenAPI, { method: 'GET', url: '/api/mcp_info/prompt/{prompt_name}', path: { 'prompt_name': promptName, }, errors: { 422: `Validation Error`, }, }); } }

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/moma1992/mcp-databricks-app'

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