Skip to main content Skip to search

MCP Quick Start

Create and deploy your first MCP server in under 5 minutes

What You'll Build

  • A working MCP server with JWT authentication
  • Basic tools (ping, echo, datetime)
  • Live deployment ready for Commands.com
1

Create Your MCP Server

Use our scaffolding tool to generate a complete MCP server with TypeScript, tests, and deployment configs.

# Interactive mode - prompts for options
npx create-commands-mcp

# Direct mode - specify everything upfront
npx create-commands-mcp my-server --template=basic --deploy=railway

Choose Your Template

Basic: ping, echo, datetime tools
API: external API integrations (weather, cat facts)
Data: file processing (JSON, CSV parsing)

2

Test Locally

cd my-server
npm install
npm run dev

Your server starts at http://localhost:3000

# Test the health endpoint
curl http://localhost:3000/health

# Test a tool (without JWT for local development)
curl -X POST http://localhost:3000/tools/ping \
 -H "Content-Type: application/json" \
 -d '{"message": "Hello World"}'
3

Deploy to Railway

Railway provides the fastest way to get your MCP server live with zero configuration.

# Push to GitHub
git init && git add . && git commit -m "Initial MCP server"
git remote add origin https://github.com/yourusername/my-server.git
git push -u origin main
a

Visit railway.app

Sign up with GitHub and connect your repository

b

Railway auto-detects and deploys

No configuration needed - the railway.json handles everything

c

Get your live URL

Example: https://my-server-production.up.railway.app

4

Register with Commands.com

Submit your server to the Commands.com marketplace to start earning revenue.

1

Visit the Creator Portal

Go to commands.com/mcps/new

2

Submit your server URL

Paste your Railway URL and fill out the marketplace details

3

Start earning 85% revenue

Commands.com handles payments, marketing, and user management

What's Next?

Add Custom Tools

Build tools specific to your use case

Tool Development Guide →

Explore Templates

Try API and data processing templates

Template Reference →

Advanced Deployment

Deploy to AWS, Google Cloud, or Docker

Deployment Options →

Marketplace Best Practices

Optimize for discovery and revenue

Marketplace Guide →