Back to Home
omniagentpay icon

mcp-server

Verified Safe

by omniagentpay

Overview

Serves as a production-ready FastMCP server for AI agents to securely manage wallets and execute payments via OmniAgentPay payment tools.

Installation

Run Command
uvicorn app.main:app --host 0.0.0.0 --port 8000

Environment Variables

  • CIRCLE_API_KEY
  • ENTITY_SECRET
  • ENVIRONMENT
  • MCP_AUTH_ENABLED
  • MCP_AUTH_TOKEN
  • MCP_JWT_SECRET
  • OMNIAGENTPAY_DAILY_BUDGET
  • OMNIAGENTPAY_HOURLY_BUDGET
  • OMNIAGENTPAY_TX_LIMIT
  • OMNIAGENTPAY_RATE_LIMIT_PER_MIN
  • OMNIAGENTPAY_WHITELISTED_RECIPIENTS
  • OMNIAGENTPAY_WEBHOOK_SECRET
  • OMNIAGENTPAY_MERCHANT_ID
  • SECRET_KEY
  • ACCESS_TOKEN_EXPIRE_MINUTES
  • BACKEND_CORS_ORIGINS

Security Notes

The core application uses FastAPI with Pydantic for input validation, supports Bearer token/JWT authentication, and integrates payment guardrails (budget, rate limit, recipient whitelist) via OmniAgentPay SDK. Structured logging and a health check are present. However, hardcoded example secrets (API keys, auth tokens) are directly embedded in the `deploy-first-time.sh` and `cloudbuild.yaml` scripts as environment variables. While documentation advises using secure methods like Google Cloud Secret Manager, the provided deployment scripts themselves demonstrate a critical security anti-pattern by exposing secrets in plaintext, which could lead to accidental exposure if real keys are used similarly. Webhook signature verification is bypassed in 'dev' environment and requires `OMNIAGENTPAY_WEBHOOK_SECRET` for production.

Similar Servers

Stats

Interest Score0
Security Score5
Cost ClassMedium
Stars0
Forks0
Last Update2026-01-18

Tags

paymentsmcpfastapiai-agentsfintechweb3