MCP Framework for MATLAB Production Server

Calling deployed MCP tools in MATLAB Production Server

Available on Github

Access the official MCP Framework for MATLAB Production Server on GitHub. This repository contains the source code, documentation, and examples to help you implement MCP tools with MATLAB Production Server.

The repository includes:

  • Complete source code for the MCP Framework
  • Implementation examples
  • Documentation on setup and configuration
  • Best practices for deploying MCP tools
View on GitHub

How to configure Visual Studio Code with GitHub Copilot to use your MCP Tools

  1. Add a new MCP Server:
    • For Windows Ctrl-Shift-P
    • For Mac Cmd-Shift-P
  2. choose MCP: Add Server
  3. Select HTTP
  4. Enter the URL of the MCP tool https://production-server-demo.mathworks-workshop.com/primeSequence/mcp
  5. Enter a name for your MCP tool
  6. Choose Global as the scope
  7. This will add your MCP tool the mcp.json configuration file
  8. Go to GitHub Copilot chat and make sure you are in Agent mode
  9. 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
  10. Ask GitHub Copilot to perform a task that requires the MCP tool e.g. Generate me the first 10 prime numbers in a gaussian primeSequence
  11. After thinking for a while GitHub Copilot should call your MCP tool and display the result in the chat window

How to configure Claude Desktop to use your MCP Tools

⚠️ Note: You need a paid Claude account to use remote MCP servers
  1. Launch Claude Desktop
  2. Click on your name in the bottom left corner of the app
  3. Choose Settings
  4. Choose Connectors
  5. Add Custom Connector
  6. Enter the name of your MCP tool
  7. Enter the URL of your MCP tool e.g. https://production-server-demo.mathworks-workshop.com/primeSequence/mcp
  8. Start a new chat
  9. Ask Claude to perform a task that requires the MCP tool e.g. Generate me the first 10 prime numbers in a gaussian primeSequence
  10. After thinking for a while Claude should call your MCP tool and display the result in the chat window