HD

hhobin/dataiku_factory

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

11 stars 5 forks 质量 42 趋势 18

Dataiku MCP tools

概览

A comprehensive Model Context Protocol (MCP) tool suite for Dataiku DSS integration. This project provides Claude Code with direct access to Dataiku DSS for managing recipes, datasets, and scenarios. - Python 3.11+ - Dataiku DSS instance with API access - Valid DSS API key 2. Configure your DSS connection in .env: Register the MCP server with Claude Code: - : Store API keys in environment variables, never in code - : Support for self-signed certificates with DSS_INSECURE_TLS=true - : All operations respect DSS user permissions - : Sensitive information is not exposed in error messages The MCP server provides logging for monitoring: 1. Fork the repository 2. Create a feature branch: git checkout -b feature/amazing-feature 3. Commit changes: git commit -m 'Add amazing feature' 4. Push to branch: git push origin feature/amazing-feature 5. Open a Pull Request - : python, r, sql, pyspark, scala, shell - : grouping, join, sync, split, distinct, sort, topn

README

以下为原文 README 节选,完整内容请查看原文。

Dataiku Factory - MCP Tool Suite

A comprehensive Model Context Protocol (MCP) tool suite for Dataiku DSS integration. This project provides Claude Code with direct access to Dataiku DSS for managing recipes, datasets, and scenarios.

🚀 Quick Start

Prerequisites

  • Python 3.11+
  • Dataiku DSS instance with API access
  • Valid DSS API key

Installation

# Clone and setup
git clone 
cd dataiku_factory

# Run installation script
./install.sh

# Or install manually:
python -m venv .venv
source .venv/bin/activate  # On Windows: .venv\Scripts\activate
pip install -e .

Configuration

  1. Copy environment template:
cp .env.sample .env
  1. Configure your DSS connection in .env:
DSS_HOST=https://your-dss-instance.com:10000
DSS_API_KEY=your-api-key-here
DSS_INSECURE_TLS=true  # Only if using self-signed certificates
  1. Test your connection:
python scripts/mcp_server.py --help

Claude Code Integration

Register the MCP server with Claude Code:

claude mcp add dataiku-factory \
    -e DSS_HOST=https://your-dss-instance.com:10000 \
    -e DSS_API_KEY=your-api-key-here \
    -e DSS_INSECURE_TLS=true \
    -- python scripts/mcp_server.py

📚 MCP Tool Catalog

Core Recipe Management Tools

Tool Description Key Parameters
create_recipe Create new recipe project_key, recipe_type, recipe_name, inputs, outputs, code
update_recipe Update existing recipe project_key, recipe_name, **kwargs
delete_recipe Delete recipe project_key, recipe_name
run_recipe Execute recipe project_key, recipe_name, build_mode

Core Dataset Management Tools

Tool Description Key Parameters
create_dataset Create new dataset project_key, dataset_name, dataset_type, params
update_dataset Update dataset settings project_key, dataset_name, **kwargs
delete_dataset Delete dataset project_key, dataset_name, drop_data
build_dataset Build dataset project_key, dataset_name, mode, partition
inspect_dataset_schema Get dataset schema project_key, dataset_name
check_dataset_metrics Get dataset metrics project_key, dataset_name

Core Scenario Management Tools

Tool Description Key Parameters
create_scenario Create new scenario project_key, scenario_name, scenario_type, definition
update_scenario Update scenario settings project_key, scenario_id, **kwargs
delete_scenario Delete scenario project_key, scenario_id
add_scenario_trigger Add trigger to scenario project_key, scenario_id, trigger_type, **params
remove_scenario_trigger Remove scenario trigger project_key, scenario_id, trigger_idx
在 GitHub 查看完整 README

安装

This server does not publish a one-line install command.

Open the repository installation guide 新手?先看 mcpskill.org 教程 →