mcp服务器dabs
MCP服务器,用于在本地操作系统上运行Databricks Assets Bundle命令
根据MCP官方指南编写的代码:
- https://modelcontextprotocol.io/quickstart
工具
- run命令run bundle命令
- 在捆绑包目录中运行提供的databricks CLI命令。该命令需要一个包含现有捆绑包的文件夹。命令必须以“databricks”开头。 - 输入: command (字符串); projectDir (字符串) - 将进程退出代码和stdout传递回LLM
请参阅中提供的其他工具 index.ts
安装
git clone https://github.com/anton-107/server-run-commands.gitcd server-run-commandsnpm installnpm run build
使用Claude Desktop
将此添加到您的 claude_desktop_config.json:
{
"mcpServers": {
"databricks-dabs": {
"command": "
",
"args": [
"
/mcp-server-dabs/build"
]
}
}
}