Skip to main content
Glama
tas1337

MCP A2A AP2 Food Delivery & Payments

by tas1337
start.jsโ€ข1.78 kB
// ============================================================================= // START SCRIPT // ============================================================================= // Builds and starts all services with Docker Compose. // ============================================================================= import { execSync } from 'child_process'; import { dirname, join } from 'path'; import { fileURLToPath } from 'url'; const __dirname = dirname(fileURLToPath(import.meta.url)); const projectRoot = join(__dirname, '..'); function run(cmd, cwd = projectRoot) { console.log(`\n> ${cmd}\n`); execSync(cmd, { stdio: 'inherit', cwd }); } console.log('๐Ÿš€ Starting MCP-A2A-AP2 services...\n'); // Stop existing containers const containers = ['registry', 'doordash-agent', 'ubereats-agent', 'grubhub-agent', 'mcp-server', 'stripe-agent', 'user-wallet']; for (const c of containers) { try { execSync(`docker stop ${c}`, { stdio: 'ignore' }); } catch {} try { execSync(`docker rm ${c}`, { stdio: 'ignore' }); } catch {} } // Build and start Docker containers (Docker handles npm install and tsc) run('docker compose -f deploy/docker-compose.yml up --build -d'); console.log('\nโœ… All services are running!\n'); console.log('๐Ÿ“ MCP Server: http://localhost:8000/mcp'); console.log('๐Ÿ“ Registry: http://localhost:8004'); console.log('๐Ÿ“ DoorDash Agent: http://localhost:8001 (A2A)'); console.log('๐Ÿ“ UberEats Agent: http://localhost:8002 (A2A)'); console.log('๐Ÿ“ Grubhub Agent: http://localhost:8003 (A2A)'); console.log('๐Ÿ“ Stripe Agent: http://localhost:8005 (AP2 with Mandates)'); console.log('๐Ÿ“ฑ User Wallet: http://localhost:8006 (Signs mandates after Face ID)'); console.log('\nView logs: docker compose -f deploy/docker-compose.yml logs -f\n');

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/tas1337/mcp-a2a-ap2-im-hungry'

If you have feedback or need assistance with the MCP directory API, please join our Discord server