Skip to main content
Glama

Databricks MCP Server

by stephenjhsu
file_manager.py603 B
import os def create_folder(path: str): os.makedirs(path, exist_ok=True) def create_py_file(path: str, content: str = ""): if not path.endswith(".py"): raise ValueError("File must have a .py extension") folder = os.path.dirname(path) if folder: os.makedirs(folder, exist_ok=True) with open(path, "w", encoding="utf-8") as f: f.write(content) def edit_file_content(path: str, content: str): if not os.path.exists(path): raise FileNotFoundError(f"File not found: {path}") with open(path, "w", encoding="utf-8") as f: f.write(content)

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/stephenjhsu/Databricks-MCP'

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