Foundry MCP Server

by qwert666
MIT License
2

Integrations

  • Enables interaction with pandas dataframes when querying and analyzing datasets from Foundry

  • Provides a Python-based environment for executing functions and interacting with Foundry's data structures

Foundry MCP Server

A Model Context Protocol server for interacting with Foundry. It allows AI assistants to interact with datasets, ontology objects and functions.

Tools 🌟

  • list datasets
  • query datasets
  • list ontology objects
  • query ontology objects
  • list functions
  • execute functions

Prerequisites

  • Python 3.9+
  • mcp
  • pyarrow
  • pandas
  • foundry-platform-sdk

Environment Variables 🌍

The server requires few configuration variables to run:

VariableDescriptionDefault
HOSTNAMEYour hostname of your Foundry instancerequired
TOKENA user token that you can generate in your profile pagerequired*
CLIENT_IDA service user that is created in developer consolerequired*
CLIENT_SECRETA secret associated with the service userrequired*
SCOPESOauth scopesNone
ONTOLOGY_IDYour ontology idrequired
  • if token is not provided the server will try to authenticate using the oauth2 flow with client_id and client_secret

Usage

uv

first you need to clone the repository and add the config to your app

{ "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>" } } } }

Development

To run the server in development mode:

# 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

Contributing

  • Fork the repository
  • Create your feature branch (git checkout -b feature/amazing-feature)
  • Commit your changes (git commit -m 'Add some amazing feature')
  • Push to the branch (git push origin feature/amazing-feature)
  • Open a Pull Request

License 📜

MIT License - see LICENSE file for details

-
security - not tested
A
license - permissive license
-
quality - not tested

An MCP server that allows AI assistants to interact with Foundry datasets, ontology objects, and functions through natural language queries and commands.

  1. Tools 🌟
    1. Prerequisites
      1. Environment Variables 🌍
        1. Usage
        2. Development
      2. Contributing
        1. License 📜

          Related MCP Servers

          • A
            security
            A
            license
            A
            quality
            An MCP server that lets AI assistants interact with your Lunchmoney data, enabling natural language queries about transactions, budgets, and spending patterns.
            Last updated -
            4
            3
            8
            TypeScript
            MIT License
          • A
            security
            A
            license
            A
            quality
            A Model Context Protocol server that enables AI assistants to interact with Linear project management systems, allowing users to retrieve, create, and update issues, projects, and teams through natural language.
            Last updated -
            32
            80
            5
            TypeScript
            MIT License
            • Apple
          • A
            security
            A
            license
            A
            quality
            An MCP server that supercharges AI assistants with powerful tools for software development, enabling research, planning, code generation, and project scaffolding through natural language interaction.
            Last updated -
            11
            6
            TypeScript
            MIT License
            • Linux
            • Apple
          • A
            security
            A
            license
            A
            quality
            An MCP server that enables AI assistants to interact with the Notion API, allowing them to search, read, comment on, and create content in Notion workspaces through natural language commands.
            Last updated -
            19
            5,617
            1,472
            TypeScript
            MIT License
            • Apple

          View all related MCP servers

          ID: 7va2zq59mr