Wolfram Language Paclet Repository
Community-contributed installable additions to the Wolfram Language
Model Context Protocol (MCP) client functions
Contributed by: Anton Antonov
A set of functions for interacting with Model Context Protocol (MCP) servers. The primary focus is to create Wolfram Language LLM-tool objects from MCP server tool specifications.
To install this paclet in your Wolfram Language environment,
evaluate this code:
PacletInstall["AntonAntonov/MCPClient"]
To load the code after installation, evaluate this code:
Needs["AntonAntonov`MCPClient`"]
Create an MCP client by start an MCP server using a Python file:
| In[1]:= | ![]() |
| Out[2]= |
MCP initialize the interaction between the client and server:
| In[3]:= | ![]() |
| Out[4]= | ![]() |
Get a list of the MCP server tools and tabulate the parts of the corresponding records:
| In[5]:= | ![]() |
| Out[6]= | ![]() |
Convert MCP tool specs into LLMTool objects:
| In[7]:= | ![]() |
| Out[8]= | ![]() |
| In[9]:= | ![]() |
| Out[9]= | ![]() |
Show the Python MCP server script included in the paclet:
| In[10]:= | ![]() |
| Out[10]= | ![]() |
Wolfram Language Version 14.3