Deploy MCP Gateway using binary files
Currently supports binary deployment for the following platforms:
Suitable for x86_64 architecture Linux systems
Suitable for ARM64 architecture Linux systems
You can view and download the latest binary files at GitHub Releases.
Create Directory and Download Configuration
Adjust PID File Path (macOS Users)
On macOS, /var/run/mcp-gateway.pid
may not have write permissions, so the path needs to be adjusted.
Download Binary Files
Choose the appropriate binary file based on your system architecture:
Linux AMD64:
Linux ARM64:
Start Service
The downloaded .env
file contains all necessary configuration items. Main configurations include:
Database Configuration
Configure database connection information for storing chat messages and gateway configurations
Notification Configuration
Configure notification methods for configuration updates (signal, api, redis, etc.)
Authentication Configuration
Configure JWT secret keys and super admin account information
configs/apiserver.yaml
: API server configurationconfigs/mcp-gateway.yaml
: MCP Gateway core configurationFor detailed configuration instructions, please refer to the Configuration Documentation.
Binary deployment requires you to manage service startup, stop, and monitoring yourself. It is recommended to use process management tools such as systemd or supervisor in production environments.
You can create a systemd service file to manage MCP Gateway:
Save this file as /etc/systemd/system/mcp-gateway.service
, then:
Ensure the following ports are accessible:
5235
: MCP Gateway main service port5335
: Management port (internal access only)If you need a Web management interface, it is recommended to deploy API Server and Web frontend simultaneously, or use the All-in-One Docker deployment method.