Skip to main content

๐Ÿค– AI Assistant (MCP Integration)

Use AI to interact with the WASMOU API using natural language!

What is MCP?โ€‹

Model Context Protocol (MCP) allows AI assistants like Claude in Cursor to connect directly to your WASMOU account and perform actions through natural language commands.

Instead of writing code, you can simply ask:

  • "Check my WASMOU balance"
  • "Buy 100 Free Fire diamonds for player ID 123456789"
  • "Show me Mobilis top-up plans"

And the AI will execute the API calls for you!

โœจ Featuresโ€‹

โœ… Natural Language Interface - Talk to your API
โœ… All Services Supported - Free Fire, PUBG, Flexy, SMM, and more
โœ… Secure - Uses your API key safely
โœ… Works with Cursor - Built-in AI coding assistant
โœ… Simple Setup - Download one file and configure

๐Ÿš€ Quick Setup (3 Steps!)โ€‹

Step 1: Download MCP Serverโ€‹

Download the WASMOU MCP server file:

Option A: Direct Download (Recommended)

# Download stdio-server.js (standalone - no dependencies needed)
curl -o stdio-server.js https://gateway.wasmou.net/mcp-server/stdio-server.js

# Or use PowerShell on Windows:
# Invoke-WebRequest -Uri https://gateway.wasmou.net/mcp-server/stdio-server.js -OutFile stdio-server.js

Save it to a permanent location, for example:

  • Windows: C:\Users\YourName\wasmou-mcp\stdio-server.js
  • Mac/Linux: ~/wasmou-mcp/stdio-server.js

Option B: Clone Repository

# If you have the repository, the file is at:
# mcp-server/stdio-server.js

Option C: Create Manually Create a file named stdio-server.js anywhere on your computer with the MCP server code (you can copy it from the repository).

Step 2: Get Your API Keyโ€‹

Get your API key from your WASMOU dashboard:

๐Ÿ”— Get API Key

Step 3: Configure Cursorโ€‹

Open Cursor MCP settings file:

Windows: %APPDATA%\Cursor\User\globalStorage\saoudrizwan.claude-dev\settings\cline_mcp_settings.json

Mac: ~/Library/Application Support/Cursor/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json

Linux: ~/.config/Cursor/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json

Create the file if it doesn't exist, then add this configuration:

Windows Example:

{
"mcpServers": {
"wasmou": {
"command": "node",
"args": [
"C:\\path\\to\\stdio-server.js"
],
"env": {
"WASMOU_API_KEY": "YOUR_API_KEY_HERE",
"WASMOU_GATEWAY_URL": "https://gateway.wasmou.net"
}
}
}
}

Mac/Linux Example:

{
"mcpServers": {
"wasmou": {
"command": "node",
"args": [
"/path/to/stdio-server.js"
],
"env": {
"WASMOU_API_KEY": "YOUR_API_KEY_HERE",
"WASMOU_GATEWAY_URL": "https://gateway.wasmou.net"
}
}
}
}

โš ๏ธ Important:

  • Replace C:\\path\\to\\stdio-server.js (Windows) or /path/to/stdio-server.js (Mac/Linux) with the actual absolute path to your stdio-server.js file
  • Replace YOUR_API_KEY_HERE with your actual API key from the dashboard
  • On Windows, use double backslashes \\ or forward slashes / in the path
  • Ensure the JSON is valid (no trailing commas)

Step 3: Restart Cursorโ€‹

  1. Close Cursor completely
  2. Reopen Cursor
  3. The MCP server should now be available!

You can verify it's working by asking Claude: "Check my WASMOU balance"

๐Ÿ’ฌ Usage Examplesโ€‹

Check Account & Balanceโ€‹

You: "Check my WASMOU balance"
AI: "Your current balance is 5,000 DZD with 4,500 DZD available."

Get Service Plansโ€‹

You: "What Free Fire diamond packages are available?"
AI: "Here are the available packages:
- 100 Diamonds: 1000 DZD
- 500 Diamonds: 4500 DZD
..."

Place Ordersโ€‹

You: "Buy 100 Free Fire diamonds for player ID 123456789 using plan FF100"
AI: "Order placed successfully! Transaction ID: 550e8400-..."

Check Ordersโ€‹

You: "Show my order history"
AI: "Here are your recent orders: ..."

๐Ÿ› ๏ธ Available MCP Toolsโ€‹

The AI can help you with:

  • get_account - Get account info and balance
  • get_balance - Get current balance
  • get_freefire_plans - Get Free Fire plans
  • order_freefire - Order Free Fire diamonds
  • get_pubg_products - Get PUBG products
  • order_pubg - Order PUBG UC
  • get_flexy_plans - Get mobile topup plans
  • order_flexy - Order mobile topup
  • get_all_orders - Get order history

๐Ÿ”’ Securityโ€‹

  • Your API key is stored locally in your Cursor config
  • Never shared with third parties
  • All requests go directly to your WASMOU account
  • Same security as using the API directly

๐Ÿ› Troubleshootingโ€‹

Tools Not Loadingโ€‹

  1. Check JSON syntax: Validate your JSON (no trailing commas!)
  2. Check API key: Ensure it's correct in the env section
  3. Restart Cursor: Completely close and reopen Cursor
  4. Check Node.js: Make sure Node.js is installed (node --version)

API Errorsโ€‹

Debuggingโ€‹

Check Cursor logs for MCP errors:

Windows: %APPDATA%\Cursor\logs
Mac: ~/Library/Logs/Cursor
Linux: ~/.config/Cursor/logs

๐Ÿ“š More Informationโ€‹


Need Help? Contact support at https://myapp.wasmou.net