DojoPoints

senpi-logo-with-text.pngopenclaw-logo-with-text.pngQuickstart Guide

This provides your agent with access to Senpi and to trade on your behalf, at your instructions or autonomously.

⚠️ Important: Never give this token to anyone after you’ve entered it securely into Railway. Your agent cannot give you or anyone your token. You can always expire tokens and create new ones on this page.

Create an account on Railway with the $5 plan. (Required for hosting Senpi x OpenClaw and easy setup)

go.senpi.ai/railway →

You'll need to enter 6 environment variables in the Senpi Railway Quickstart:

Railway Configuration Variables

1. Your AI API Key from OpenAI, Anthropic, Gemini, or OpenRouter

AI_API_KEY

2. The name of the AI provider, all lowercase: openai, anthropic, gemini, or openrouter (all lowercase)

AI_PROVIDER
Make sure to spell correctly

3. Set a password (you'll need it when accessing OpenClaw dashboard)

SETUP_PASSWORD

4. Your Senpi Authorization Token (from the top of this page)

SENPI_AUTH_TOKEN

5. Your Telegram username

TELEGRAM_USERNAME

6. Your Telegram bot token.

TELEGRAM_BOT_TOKEN
You’ll get this by DM’ing @botfather on telegram
  1. 1. Create a new Bottelegram-bot-step1.png
  2. 2. Create a new Bottelegram-bot-step2.png
  3. 3. Setup bottelegram-bot-step3.png
  4. 4. Click starttelegram-bot-step4.png

Click DEPLOY.

⏱️ Note: Deployment takes 3-5 minutes. Sit tight … You’ll know it’s done when your Agent messages you via the Telegram bot!

Bonus!

Get ahead quickly by installing Senpi skills

Senpi skills →

Already Runningopenclaw-logo-with-text.png?ADVANCED

If you already have an OpenClaw instance deployed, you can add Senpi to it instead of using the hosted quickstart above. However, this path requires manual configuration and won’t receive the same automatic updates — we strongly recommend the Railway-hosted option above for the smoothest experience.

Same as Step 1 above—create a token at the top of this page. Keep it somewhere safe; you’ll need it in the next step.

Add Senpi as a remote MCP server in your OpenClaw configuration. Open your openclaw.json and add the following to your agent’s MCP servers:

{ 
   "mcpServers": { 
      "senpi": { 
         "url": "https://mcp.prod.senpi.ai", 
         "headers": { 
            "Authorization": "YOUR_SENPI_AUTH_TOKEN" 
         } 
      } 
   } 
}

Replace YOUR_SENPI_AUTH_TOKEN with the token you generated in Step 1. If your openclaw.json already has other MCP servers configured, add senpi alongside them:

{ 
   "mcpServers": { 
      "existing-server": { ... },
      "senpi": { 
         "url": "https://mcp.prod.senpi.ai", 
         "headers": { 
            "Authorization": "YOUR_SENPI_AUTH_TOKEN" 
         } 
      } 
   } 
}

Restart your OpenClaw instance so it picks up the new MCP server configuration:

openclaw gateway restart

Once it’s back online, your agent should now have access to all 31 Senpi trading tools. You can verify the connection by messaging your agent on Telegram and asking it to check your Senpi account or list available tools.