palantir foundry.com
palantir foundry.com logo

Palantir Foundry

Bridges to Palantir Foundry platform, enabling ontology data interaction and SQL query execution against datasets with t...

Created byApr 23, 2025

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:
[object Object]
[object Object]
[object Object]
[object Object]
[object Object]
[object Object]
[object Object]
[object Object]
[object Object]
[object Object]
[object Object]
[object Object]
[object Object]
[object Object]
[object Object]
[object Object]
[object Object]
[object Object]
[object Object]
[object Object]
[object Object]
  • 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

Development

To run the server in development mode:

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