DeFAI MCP
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| JWT_SECRET | Yes | Dashboard authentication secret. Must be at least 32 characters; the process refuses to start if shorter. | |
| PRIVATE_KEY | Yes | Ethereum EOA private key used to create the Smart Account on BSC Testnet. Generate with `openssl rand -hex 32`; never use a wallet holding real mainnet funds. | |
| GCP_LOCATION | No | Optional Vertex AI region. Defaults to `us-central1`. | |
| GROQ_API_KEY | No | Groq API key for the LLM when `LLM_PROVIDER=groq` (the default). | |
| LLM_PROVIDER | No | Optional LLM provider. Set to `vertex` to use Vertex AI Gemini 3 Pro/Flash instead of Llama; defaults to `groq`. | |
| POSTGRES_URL | No | Postgres connection URL for self-managed Postgres. Alternative to `CLOUD_SQL_CONNECTION_NAME`. | |
| DEFAI_USER_ID | No | Dashboard-generated user UUID used to link MCP tools to your registered wallet. Leave blank on first run, then fill in after dashboard registration. | |
| MCP_TRANSPORT | No | Optional MCP transport. Defaults to `stdio` for Claude Desktop. | |
| TELEGRAM_MODE | No | Optional Telegram mode: `polling` for local default, or `webhook` (required on Cloud Run). | |
| ENCRYPTION_KEY | Yes | AES-256-GCM encryption key. Must be at least 32 characters; the process refuses to start if missing or shorter. | |
| GCP_PROJECT_ID | No | GCP project ID. Required when `LLM_PROVIDER=vertex`. | |
| BSC_TESTNET_RPC | No | Optional BSC Testnet RPC URL. Leave blank to use the default public RPC. | |
| PIMLICO_API_KEY | Yes | Pimlico API key with BSC Testnet (Chain ID 97) enabled. Pays gas via the ERC-4337 paymaster. | |
| TINYFISH_API_KEY | No | Optional TinyFish API key for an optional feature. | |
| TELEGRAM_BOT_TOKEN | Yes | Telegram bot token from BotFather. | |
| TELEGRAM_BOT_USERNAME | Yes | Telegram bot username from BotFather, without the leading @. | |
| CLOUD_SQL_CONNECTION_NAME | No | Cloud SQL connection name when using Cloud SQL/Postgres with the Auth Proxy sidecar. |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Server capabilities have not been inspected yet.
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
No tools | |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
This server cannot be deployed
Maintenance
ActivityInactive
ResponsivenessNo recent community issues