Model Context Protocol (MCP)

Hi.

MCP is becoming quite popular these days, and I’m curious about how to use tools in Palantir with MCP. Does anyone know how to do this?

Or does Palantir have any plans to implement MCP themselves?

1 Like

Hey @Jacob_SE

Hopefully Palantir would do that at some point but instead of waiting for them I’ve just released a simple mcp-server that works with Foundry and is based on their public SDK

Tools that i’ve added so far:

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

this should be sufficient enough for a LLM to go thru your data and could also be a good starting point if you want to add custom ontology based apps (ontology_sdk)

Please contribute to the repo if something is missing :wink:

^ it’s still kinda WIP, probably will polish it a bit more next week

4 Likes

Model Context Protocol (MCP) seems foundry-ish
Are Palantir folks more or less excited at MCP’s rising popularity?

What would be really powerful is if Foundry could offer a totally new integration type, similar to REST, but for MCP.

Consider all the existing servers/integrations already developed:
https://mcp.so/explore

Then if those server functions could be exposed as Foundry Functions to Agents, App Builders, etc. that would be amazing.

It seems like Continue module of VS Cide has MCP
I tried to apply MCP but common way on Claude or Cursor is unable to apply.
Does anybody tried MCP here? + Tools


{
  "models": [],
  "contextProviders": [
    {
      "name": "code",
      "params": {}
    },
    {
      "name": "diff",
      "params": {}
    },
    {
      "name": "terminal",
      "params": {}
    },
    {
      "name": "problems",
      "params": {}
    },
    {
      "name": "folder",
      "params": {}
    },
    {
      "name": "codebase",
      "params": {}
    }
  ],
  "slashCommands": [
    {
      "name": "cmd",
      "description": "Generate a shell command"
    },
    {
      "name": "commit",
      "description": "Generate a git commit message"
    }
  ],
  "embeddingsProvider": {
    "provider": "transformers.js"
  }
}