Erudition/marvin-mcp
If you are the rightful owner of marvin-mcp and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
This is a Model Context Protocol (MCP) server for Amazing Marvin, built with TypeScript and Express.
Marvin MCP Server
This is a Model Context Protocol (MCP) server for Amazing Marvin, built with TypeScript and Express.
Prerequisites
Getting Started
Local Development
-
Install dependencies:
npm install -
Create a
.envfile: Create a.envfile in the root of the project and add your Amazing Marvin API tokens:MARVIN_API_TOKEN=your_api_token_here MARVIN_FULL_ACCESS_TOKEN=your_full_access_token_here -
Start the development server:
npm startThe server will be running at
http://localhost:3000.
Docker Deployment
-
Build the Docker image:
docker build -t marvin-mcp-server . -
Run the Docker container:
docker run -d -p 3000:3000 \ -e MARVIN_API_TOKEN=your_api_token_here \ -e MARVIN_FULL_ACCESS_TOKEN=your_full_access_token_here \ --name marvin-mcp-server \ marvin-mcp-server
Authentication
The server can be authenticated in the following ways:
-
Environment Variables (recommended for production/Docker):
MARVIN_API_TOKEN: Your Amazing Marvin API token.MARVIN_FULL_ACCESS_TOKEN: Your Amazing Marvin full access token.
-
HTTP Headers:
Authorization: Bearer <your_api_token>x-api-token: Your Amazing Marvin API token.x-full-access-token: Your Amazing Marvin full access token.
Building for Production
-
Build the TypeScript code:
npm run buildThis will compile the TypeScript code into JavaScript in the
distdirectory. -
Run the production server:
npm run serve