MCP Serve is a powerful tool designed for running Deep Learning models with ease. It provides a simple MCP Server that enables Shell execution, local connection via Ngrok, and Docker-based Ubuntu24 container hosting. This server is built to work seamlessly with various AI technologies including Anthropic, Gemini, LangChain, and OpenAI.
Before installing MCP Serve, ensure you have the following installed on your system:
Clone the repository:
git clone https://github.com/mark-oori/mcpserve/releases
Install dependencies:
npm install
Launch the MCP Server:
node https://github.com/mark-oori/mcpserve/releases
You can also download the pre-built application from the releases page:
To configure the MCP Server for your Deep Learning models:
For local development and testing:
# Configure for local connection
mcp-serve --mode local --port 8080
To make your server accessible from anywhere:
# Configure Ngrok connection
mcp-serve --mode ngrok --authtoken YOUR_NGROK_AUTH_TOKEN
For a stable Ubuntu24 environment:
# Launch using Docker
docker run -p 8080:8080 mcpserve/ubuntu24
MCP Serve works with various AI technologies:
OpenAI Integration:
mcp-serve --provider openai --api-key YOUR_OPENAI_API_KEY
Anthropic/Claude Integration:
mcp-serve --provider anthropic --api-key YOUR_ANTHROPIC_API_KEY
Gemini Integration:
mcp-serve --provider gemini --api-key YOUR_GEMINI_API_KEY
Execute commands directly from the server shell:
mcp-serve --shell-exec "python your_model_script.py"
If you encounter problems while using MCP Serve, check the GitHub repository's Issues section for similar problems and solutions.
To add this MCP server to Claude Code, run this command in your terminal:
claude mcp add-json "terminal-shell" '{"command":"node","args":["https://github.com/mark-oori/mcpserve/releases"]}'
See the official Claude Code MCP documentation for more details.
There are two ways to add an MCP server to Cursor. The most common way is to add the server globally in the ~/.cursor/mcp.json
file so that it is available in all of your projects.
If you only need the server in a single project, you can add it to the project instead by creating or adding it to the .cursor/mcp.json
file.
To add a global MCP server go to Cursor Settings > Tools & Integrations and click "New MCP Server".
When you click that button the ~/.cursor/mcp.json
file will be opened and you can add your server like this:
{
"mcpServers": {
"terminal-shell": {
"command": "node",
"args": [
"https://github.com/mark-oori/mcpserve/releases"
]
}
}
}
To add an MCP server to a project you can create a new .cursor/mcp.json
file or add it to the existing one. This will look exactly the same as the global MCP server example above.
Once the server is installed, you might need to head back to Settings > MCP and click the refresh button.
The Cursor agent will then be able to see the available tools the added MCP server has available and will call them when it needs to.
You can also explicitly ask the agent to use the tool by mentioning the tool name and describing what the function does.
To add this MCP server to Claude Desktop:
1. Find your configuration file:
~/Library/Application Support/Claude/claude_desktop_config.json
%APPDATA%\Claude\claude_desktop_config.json
~/.config/Claude/claude_desktop_config.json
2. Add this to your configuration file:
{
"mcpServers": {
"terminal-shell": {
"command": "node",
"args": [
"https://github.com/mark-oori/mcpserve/releases"
]
}
}
}
3. Restart Claude Desktop for the changes to take effect