Flow Nexus Platform Management
Comprehensive platform management for Flow Nexus - covering authentication, sandbox execution, app deployment, credit management, and coding challenges.
Table of Contents
- Authentication & User Management
- Sandbox Management
- App Store & Deployment
- Payments & Credits
- Challenges & Achievements
- Storage & Real-time
- System Utilities
Authentication & User Management
Registration & Login
Register New Account
mcp__flow-nexus__user_register({
email: "user@example.com",
password: "secure_password",
full_name: "Your Name",
username: "unique_username" // optional
})
Login
mcp__flow-nexus__user_login({
email: "user@example.com",
password: "your_password"
})
Check Authentication Status
mcp__flow-nexus__auth_status({ detailed: true })
Logout
mcp__flow-nexus__user_logout()
Password Management
Request Password Reset
mcp__flow-nexus__user_reset_password({
email: "user@example.com"
})
Update Password with Token
mcp__flow-nexus__user_update_password({
token: "reset_token_from_email",
new_password: "new_secure_password"
})
Verify Email
mcp__flow-nexus__user_verify_email({
token: "verification_token_from_email"
})
Profile Management
Get User Profile
mcp__flow-nexus__user_profile({
user_id: "your_user_id"
})
Update Profile
mcp__flow-nexus__user_update_profile({
user_id: "your_user_id",
updates: {
full_name: "Updated Name",
bio: "AI Developer and researcher",
github_username: "yourusername",
twitter_handle: "@yourhandle"
}
})
Get User Statistics
mcp__flow-nexus__user_stats({
user_id: "your_user_id"
})
Upgrade User Tier
mcp__flow-nexus__user_upgrade({
user_id: "your_user_id",
tier: "pro" // pro, enterprise
})
Sandbox Management
Create & Configure Sandboxes
Create Sandbox
mcp__flow-nexus__sandbox_create({
template: "node", // node, python, react, nextjs, vanilla, base, claude-code
name: "my-sandbox",
env_vars: {
API_KEY: "your_api_key",
NODE_ENV: "development",
DATABASE_URL: "postgres://..."
},
install_packages: ["express", "cors", "dotenv"],
startup_script: "npm run dev",
timeout: 3600, // seconds
metadata: {
project: "my-project",
environment: "staging"
}
})
Configure Existing Sandbox
mcp__flow-nexus__sandbox_configure({
sandbox_id: "sandbox_id",
env_vars: {
NEW_VAR: "value"
},
install_packages: ["axios", "lodash"],
run_commands: ["npm run migrate", "npm run seed"],
anthropic_key: "sk-ant-..." // For Claude Code integration
})
Execute Code
Run Code in Sandbox
mcp__flow-nexus__sandbox_execute({
sandbox_id: "sandbox_id",
code: `
console.log('Hello from sandbox!');
const result = await fetch('https://api.example.com/data');
const data = await result.json();
return data;
`,
language: "javascript",
capture_output: true,
timeout: 60, // seconds
working_dir: "/app",
env_vars: {
TEMP_VAR: "override"
}
})
Manage Sandboxes
List Sandboxes
mcp__flow-nexus__sandbox_list({
status: "running" // running, stopped, all
})
Get Sandbox Status
mcp__flow-nexus__sandbox_status({
sandbox_id: "sandbox_id"
})
Upload File to Sandbox
mcp__flow-nexus__sandbox_upload({
sandbox_id: "sandbox_id",
file_path: "/app/config/database.json",
content: JSON.stringify(databaseConfig, null, 2)
})
Get Sandbox Logs
mcp__flow-nexus__sandbox_logs({
sandbox_id: "sandbox_id",
lines: 100 // max 1000
})
Stop Sandbox
mcp__flow-nexus__sandbox_stop({
sandbox_id: "sandbox_id"
})
Delete Sandbox
mcp__flow-nexus__sandbox_delete({
sandbox_id: "sandbox_id"
})
Sandbox Templates
- node: Node.js environment with npm
- python: Python 3.x with pip
- react: React development setup
- nextjs: Next.js full-stack framework
- vanilla: Basic HTML/CSS/JS
- base: Minimal Linux environment
- claude-code: Claude Code integrated environment
Common Sandbox Patterns
API Development Sandbox
mcp__flow-nexus__sandbox_create({
template: "node",
name: "api-development",
install_packages: [
"express",
"cors",
"helmet",
"dotenv",
"jsonwebtoken",
"bcrypt"
],
env_vars: {
PORT: "3000",
NODE_ENV: "development"
},
startup_script: "npm run dev"
})
Machine Learning Sandbox
mcp__flow-nexus__sandbox_create({
template: "python",
name: "ml-training",
install_packages: [
"numpy",
"pandas",
"scikit-learn",
"matplotlib",
"tensorflow"
],
env_vars: {
CUDA_VISIBLE_DEVICES: "0"
}
})
Full-Stack Development
mcp__flow-nexus__sandbox_create({
template: "nextjs",
name: "fullstack-app",
install_packages: [
"prisma",
"@prisma/client",
"next-auth",
"zod"
],
env_vars: {
DATABASE_URL: "postgresql://...",
NEXTAUTH_SECRET: "secret"
}
})
App Store & Deployment
Browse & Search
Search Applications
mcp__flow-nexus__app_search({
search: "authentication api",
category: "backend",
featured: true,
limit: 20
})
Get App Details
mcp__flow-nexus__app_get({
app_id: "app_id"
})
List Templates
mcp__flow-nexus__app_store_list_templates({
category: "web-api",
tags: ["express", "jwt", "typescript"],
limit: 20
})
Get Template Details
mcp__flow-nexus__template_get({
template_name: "express-api-starter",
template_id: "template_id" // alternative
})
List All Available Templates
mcp__flow-nexus__template_list({
category: "backend",
template_type: "starter",
featured: true,
limit: 50
})
Publish Applications
Publish App to Store
mcp__flow-nexus__app_store_publish_app({
name: "JWT Authentication Service",
description: "Production-ready JWT authentication microservice with refresh tokens",
category: "backend",
version: "1.0.0",
source_code: sourceCodeString,
tags: ["auth", "jwt", "express", "typescript", "security"],
metadata: {
author: "Your Name",
license: "MIT",
repository: "github.com/username/repo",
homepage: "https://yourapp.com",
documentation: "https://docs.yourapp.com"
}
})
Update Application
mcp__flow-nexus__app_update({
app_id: "app_id",
updates: {
version: "1.1.0",
description: "Added OAuth2 support",
tags: ["auth", "jwt", "oauth2", "express"],
source_code: updatedSourceCode
}
})
Deploy Templates
Deploy Template
mcp__flow-nexus__template_deploy({
template_name: "express-api-starter",
deployment_name: "my-production-api",
variables: {
api_key: "your_api_key",
database_url: "postgres://user:pass@host:5432/db",
redis_url: "redis://localhost:6379"
},
env_vars: {
NODE_ENV: "production",
PORT: "8080",
LOG_LEVEL: "info"
}
})
Analytics & Management
Get App Analytics
mcp__flow-nexus__app_analytics({
app_id: "your_app_id",
timeframe: "30d" // 24h, 7d, 30d, 90d
})
View Installed Apps
mcp__flow-nexus__app_installed({
user_id: "your_user_id"
})
Get Market Statistics
mcp__flow-nexus__market_data()
App Categories
- web-api: RESTful APIs and microservices
- frontend: React, Vue, Angular app