๐ค 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:
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 yourstdio-server.jsfile - Replace
YOUR_API_KEY_HEREwith 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โ
- Close Cursor completely
- Reopen Cursor
- 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 balanceget_balance- Get current balanceget_freefire_plans- Get Free Fire plansorder_freefire- Order Free Fire diamondsget_pubg_products- Get PUBG productsorder_pubg- Order PUBG UCget_flexy_plans- Get mobile topup plansorder_flexy- Order mobile topupget_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โ
- Check JSON syntax: Validate your JSON (no trailing commas!)
- Check API key: Ensure it's correct in the
envsection - Restart Cursor: Completely close and reopen Cursor
- Check Node.js: Make sure Node.js is installed (
node --version)
API Errorsโ
- "API key is required": Check your API key in the config
- "Invalid API key": Verify your key at https://myapp.wasmou.net/api-settings
- "Insufficient balance": Add funds to your account
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