How to use a remote MCP server tool in Dataiku
Is there a doc about how to do this in a recipe or notebook?
I have created an MCP server following the tutorial here:
Building your MCP Server in Dataiku - Dataiku Developer Guide
I have tested this via MCP Inspector. Now I'd like to see how I can test this or an external MCP server from a Dataiku project.
The "wrapping up" section of the above tutorial says this:
"You can also access remote MCP servers in Dataiku using Python Recipe or Code Agent."
We're on DSS 14.2.3
Operating system used: RHEL
Answers
-
Hi,
This tutorial is composed of two main sections:
- Create a Python file/script that runs an MCP server with a Tool.
- A Code Studio template to run and expose this script (so the MCP server with a Tool).
In 14.2.1 (and above), there is an Agent Tool to run a local MCP server (https://doc.dataiku.com/dss/latest/agents/tools/local-mcp.html), and then you can use this tool in a Code Agent, so in a Notebook.
Isn't it what you need?
-
My question is about how to use a tool presented by an MCP server (remote or local) within a code agent.
I was hoping there would be a starter code template for it in the current list that starts with "Simple LLM Mesh integration with streaming" …
