Show HN: Xpack – open-source platform to host and monetize MCP-style APIs/tools

3 months ago 3

b1

English | 简体中文

XPack is the world’s first open-source MCP marketplace, to quickly create and sell your own MCP services in just minutes.


✨ With XPack, you can:

  • One-click OpenAPI → MCP service config
  • 🧾 SEO-friendly homepage + mcp service page
  • 💳 Built-in billing (per-call or token usage)
  • 👥 User account management
  • 🛠 Support Stripe Payment
  • 🔐 Support Email & Google OAuth Sign in

Everything is open-source and licensed under Apache 2.0 — ready for commercial use.


😍 Deploying XPack is incredibly simple. With just one command line, you can deploy your MCP Market in 10 minutes.

curl -sSO https://xpack.ai/install/quick-start.sh; bash quick-start.sh

Learn how to deploy your mcp market in 10 minutes


b2 b3 b4 b5


  • CPU: 8 cores
  • Memory: 16 GB
  • Storage: 200 GB
  • Operating System: Linux
  • Architecture: AMD64
  • CPU: 2 cores
  • Memory: 4 GB
  • Storage: 200 GB
  • Operating System: Linux / macOS
  • Architecture: AMD64 / ARM64

XPack-MCP-Market requires the following services (self-hosted or containerized):

Component Minimum Version
MySQL ≥ 5.7.x
Redis ≥ 6.2.x
RabbitMQ ≥ 4.0

Ensure these services are available and properly configured before running the backend.


😍 Deploying XPack is incredibly simple. With just one command line, you can deploy your MCP Market in 10 minutes.

curl -sSO https://xpack.ai/install/quick-start.sh; bash quick-start.sh

🔖Docker-Compose Deployment

To install XPack-MCP-Market using this method, you need to have Docker and Docker Compose installed.

  1. Edit the docker-compose.yml file

  1. Modify the configuration, you can reference the original file at docker-compose.yml
version: '3' services: xpack-mysql: image: mysql:8.0.37 privileged: true restart: always container_name: xpack-mysql hostname: xpack-mysql command: - "--character-set-server=utf8mb4" - "--collation-server=utf8mb4_unicode_ci" ports: - "33306:3306" environment: - MYSQL_ROOT_PASSWORD=mysql_ZTdhRB - MYSQL_DATABASE=xpack volumes: - /var/lib/xpack/mysql:/var/lib/mysql networks: - xpack xpack-mcp-market: image: xpackai/xpack-mcp-market container_name: xpack-mcp-market privileged: true restart: always networks: - xpack ports: - "3000:3000" - "8002:8002" depends_on: - xpack-mysql - xpack-redis - xpack-rabbitmq xpack-redis: container_name: xpack-redis image: redis:7.2.4 hostname: xpack-redis privileged: true restart: always ports: - 6379:6379 command: - bash - -c - "redis-server --protected-mode yes --logfile redis.log --appendonly no --port 6379 --requirepass redis_6sJZDm" networks: - xpack xpack-rabbitmq: image: rabbitmq:4.1.2-alpine container_name: xpack-rabbitmq privileged: true restart: always environment: - RABBITMQ_DEFAULT_USER=rabbitmq - RABBITMQ_DEFAULT_PASS=rabbitmq_Gs123dA networks: - xpack networks: xpack: driver: bridge ipam: driver: default config: - subnet: 172.101.0.0/24

  1. Start XPack-MCP-Market

  1. Access XPack-MCP-Market in your browser at port 3000
  • Admin User Login Address: http://{IP}:3000/admin-signin
  • Admin User: admin
  • Admin Password: 123456789
  1. Clone the XPack repository.
git clone https://github.com/xpack-ai/XPack-MCP-Market.git
  1. Enter the project directory.

Requirements:

  • Node >= 22.x
  • Pnpm >= 10.x
  1. Execute the frontend build script
cd scripts && ./frontend_build.sh && cd ../

After compilation, the frontend code will be built into the frontend/out directory.

  1. Start the UI interface
cd frontend/out && node server.js

Requirements:

  • Python >= 3.11
  1. Create virtual environment
  1. Activate virtual environment
source .venv/bin/activate
  1. Install dependencies
uv pip install -r requirements.txt
  1. Copy environment variable file
  1. Edit environment variables
  1. Start admin backend service Foreground
uvicorn services.admin_service.main:app --host 0.0.0.0 --port 8001 --reload

Background

uvicorn services.admin_service.main:app --host 0.0.0.0 --port 8001 --reload &
  1. Start API to MCP service Foreground
uvicorn services.api_service.main:app --host 0.0.0.0 --port 8002 --reload

Background

uvicorn services.api_service.main:app --host 0.0.0.0 --port 8002 --reload &
docker build -t xpack-mcp-market --build-arg APP=xpack-mcp-market --build-arg VERSION=1.0.0 -f ./scripts/Dockerfile ./
image image image image

XPack-MCP-Market is licensed under the Apache 2.0 License.
For details, please see the LICENSE file.


Read Entire Article