Skip to main content
Glama
Foundry MCP Server

Foundry MCP Server

by qwert666

ファウンドリーMCPサーバー

Foundryと連携するためのモデルコンテキストプロトコルサーバー。AIアシスタントがデータセット、オントロジーオブジェクト、関数と連携できるようにします。

ツール🌟

  • データセットをリストする

  • クエリデータセット

  • オントロジーオブジェクトのリスト

  • クエリオントロジーオブジェクト

  • リスト関数

  • 関数を実行する

Related MCP server: mcp-ohmy-sql

前提条件

  • Python 3.9以上

  • マクピー

  • パイアロー

  • パンダ

  • ファウンドリープラットフォームSDK

環境変数 🌍

サーバーを実行するには、いくつかの構成変数が必要です。

変数

説明

デフォルト

HOSTNAME

Foundryインスタンスのホスト名

必須

TOKEN

プロフィールページで生成できるユーザートークン

必須*

CLIENT_ID

開発者コンソールで作成されたサービスユーザー

必須*

CLIENT_SECRET

サービスユーザーに関連付けられた秘密

必須*

SCOPES

OAuthスコープ

なし

ONTOLOGY_ID

あなたのオントロジーID

必須

  • トークンが提供されない場合、サーバーはclient_idとclient_secretを使用してoauth2フローを使用して認証を試みます。

使用法

紫外線

まずリポジトリをクローンしてアプリに設定を追加する必要があります

{
  "mcpServers": {
    "foundry": {
      "command": "uv",
      "args": [
        "--directory", 
        "<path_to_mcp_server>",
        "run",
        "mcp-server-foundry"
      ],
      "env": {
        "HOSTNAME": "<hostname>",
        "TOKEN": "<token>",
        "CLIENT_ID": "<client_id>",
        "CLIENT_SECRET": "<client_secret>",
        "SCOPES": "<scopes>",
        "ONTOLOGY_ID": "<ontology_id>"
      }
    }
  }
}

発達

サーバーを開発モードで実行するには:

# Clone the repository
git clone git@github.com:qwert666/mcp-server-foundry.git

# Run the server
npx @modelcontextprotocol/inspector uv --directory /path/to/mcp-foundry-server run mcp-server-foundry

貢献

  • リポジトリをフォークする

  • 機能ブランチを作成します (git checkout -b feature/amazing-feature)

  • 変更をコミットします (git commit -m '素晴らしい機能を追加します')

  • ブランチにプッシュする (git push origin feature/amazing-feature)

  • プルリクエストを開く

ライセンス📜

MITライセンス - 詳細はLICENSEファイルを参照

Available Tools

5 tools
execute_functionD

Execute a function using given parameters

Inputs: query_api_name (required), parameters (required).

list_functionsB

List all available functions

Inputs: no named parameters.

list_ontology_typesC

List all the ontology types

Inputs: no named parameters.

query_datasetC

Query a dataset using Spark SQL dialect e.g. "SELECT COUNT(*) FROM dataset_rid"

Inputs: query (required).

query_ontology_typeA

Query for objects in a given ontology type. Use list_ontology_types to get the list of available types

Inputs: where (required), object_type (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.1/5.0

    Scored across 5 tools

    Disambiguation5/5

    Each tool has a clearly distinct purpose with no overlap. execute_function runs code, list_functions enumerates functions, list_ontology_types lists types, query_dataset queries datasets, and query_ontology_type queries specific ontology types. The descriptions clearly differentiate their scopes and usage contexts.

    Naming Consistency5/5

    All tools follow a consistent verb_noun pattern using snake_case. The verbs (execute, list, query) are appropriately chosen for their actions, and the nouns (function, ontology_type, dataset) clearly indicate the target resources. No deviations or mixed conventions are present.

    Tool Count5/5

    With 5 tools, this server is well-scoped for its apparent domain of data and function management in a Foundry context. Each tool serves a distinct and necessary purpose, covering listing, querying, and execution operations without bloat or redundancy.

    Completeness4/5

    The toolset provides solid coverage for querying and listing operations on functions, datasets, and ontology types, with execute_function enabling action. A minor gap exists in update/delete operations for these resources, but agents can likely work with the provided read/execute capabilities for common workflows.

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      D
      maintenance
      An MCP server that enables AI assistants to query databases, execute SQL, and manage Metabase resources like dashboards, cards, and collections through natural language.
      22
      MIT
    • -
      license
      Not graded
      quality
      D
      maintenance
      An MCP server that bridges AI assistants with SQL databases, enabling natural language querying across multiple database types with built-in optimization and security.
      3
      -
    • A
      license
      Not graded
      quality
      D
      maintenance
      An MCP server that gives AI assistants the ability to connect to, query, profile, and monitor data sources — turning any LLM into an interactive data engineering copilot.
      MIT