MCP Framework for MATLAB Production Server
Calling deployed MCP tools in MATLAB Production Server
This server contains several example MCP Tools. To create your own MCP Tools use the MCP Framework for MATLAB Production Server
Download on GitHub| MCP Tool | MCP Tool endpoint | Example prompt |
|---|---|---|
| Prime number sequence | https://production-server-demo.mathworks-workshop.com/primeSequence/mcp | Generate me the first 10 prime numbers in a gaussian prime sequence |
| Crypto Impermanent Loss | https://production-server-demo.mathworks-workshop.com/impermanentloss/mcp | What is my impermanent loss if the price was $6.05 when I deposited my tokens and I withdraw when the price is $5.89? |
| Plug Flow Reactor | https://production-server-demo.mathworks-workshop.com/designParallelReactionPFR/mcp | Find the optimal operating temperature for a Plug Flow Reactor (PFR) that processes a parallel reaction. The goal is to maximize the selectivity of the desired product while minimizing the required reactor volume. The required conversion is 90% for a feed rate of 50 L/min and inlet reactant concentration of 2 mol/L. Plot volume vs temp and selectivity vs temp for reporting out to my manager |
How to configure Visual Studio Code with GitHub Copilot
- Add a new MCP Server:
- For Windows
Ctrl-Shift-P - For Mac
Cmd-Shift-P
- For Windows
- choose MCP: Add Server
- Select HTTP
- Enter the endpoint of the MCP tool
*use the endpoint from the table above - Enter a name for your MCP tool
- Choose Global as the scope
- This will add your MCP tool the mcp.json configuration file
- Go to GitHub Copilot chat and make sure you are in Agent mode
- You can click on the gear icon in the GitHub Copilot chat input window to confirm that your MCP Server is in the list that will be queried
- Ask GitHub Copilot to perform a task that requires the MCP tool e.g.
*use an example prompt from the table above - After thinking for a while GitHub Copilot should call your MCP tool and display the result in the chat window
How to configure Perplexity
⚠️ Note: You need a pro, max or enterprise Perplexity account
- Launch Perplexity on web or desktop
- Go to All Settings->Connectors
- Add a custom connector
- Give the connector a name and enter MCP URL e.g.
*use an MCP Tool Endpoint from the table above - Click Add
- Start a new chat
- Click on + and choose Connectors & Sources. Select the connector you just created
- Prompt Perplexity to perform a task that requires the MCP tool e.g.
*use an example prompt from the table above - After thinking for a while, and searching its list of installed tools (this might take a while) Perplexity calls your MCP tool and display the result in the chat window
How to configure Claude
- Launch Claude on web or desktop
- Go to Settings->Connectors
- Add a custom connector
- Give it a name and enter the http endpoint of the example MCP tool e.g.
*use an MCP Tool endpoint from the table above - Start a new chat
- Prompt Claude to perform a task that requires the MCP tool e.g.
*use an example prompt from the table above - After thinking for a while, and searching its list of installed tools (this might take a while) Claude should call your MCP tool and display the result in the chat window