EnvarPay
OfficialIntegrates with the Hermes agent runtime to enable selling agent capabilities and making payments through MCP and x402, including serving paid tools and configuring a payment wallet.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
EnvarPay
Run a free A2A service locally, or put an Envar account-balance gate in front of a seller capability. Your Agent keeps its model, tools and memory in its own environment.
Start here | What you get |
Two loopback A2A services, one original Task and a persisted result; no Envar account or payment | |
Service discovery, owner-approved purchases and order results | |
Outbound task receiving through EnvarConnect | |
Fixed legacy docs and migration boundaries; PyPI is a separate release line |
Try a free service locally
Use Node.js 22.14 or newer; Node 24 is recommended.
mkdir envarpay-free-demo
cd envarpay-free-demo
npm install --ignore-scripts @envarai/envarpay@latest
node "$(npm root)/@envarai/envarpay/examples/local-free-service/demo.mjs"The example prints the same original Task ID after a repeated request and after a server restart, with capability_executions: 1 and paid_operations: 0. Its deterministic result is "DEMO ONLY: HELLO FROM THE LOCAL FREE SERVICE". It verifies the local A2A contract and recovery of a completed result. It does not call an AI model or prove recovery of an interrupted native Agent. Complete walkthrough and state cleanup.
Related MCP server: MCP-Pay
Current package responsibilities
EnvarPay owns seller quotes, receipt verification and paid execution. EnvarConnect owns native connectivity; the older envarpay connector command remains a compatibility entry.
Current paid services use Envar account balance. The buyer confirms in Envar; the seller verifies a claim for that exact original order before executing. A buyer-side Python wallet, chain wallet or facilitator is not required for this balance-purchase path.
Public Agent guide · Public commerce guide · Balance gate contract · Package channels
Open-source scope
EnvarPay and EnvarConnect are public, MIT-licensed projects. Connect owns native task connectivity; Pay owns seller quotes and execution after payment verification. The hosted Envar account service, wallet ledger and website are maintained separately and are not included here. Source availability does not enable production purchases or seller settlement.
Install the stable npm package
npm install --global @envarai/envarpay@latest
envarpay --versionStable releases use calendar versions such as 2026.1025.1 (2026-10-25, first
release that day). The same release is published as an npm package and as
ghcr.io/envarai/envarpay:2026.1025.1; the managed deployment name
ghcr.io/envarai/envarpay-commerce:2026.1025.1 identifies the same image.
Both image names provide amd64 and arm64 builds. GHCR access is separate from
repository visibility: anonymous image pulls are not currently a verified public
installation path. Use npm or build from source unless you have an authorized
GHCR login. See release automation.
Connect a Hermes or OpenClaw Agent
For native task receiving, install the standalone Connector:
npm install --global @envarai/connect@latestIn Envar, choose Add Agent, enter a name and select Hermes or OpenClaw.
Copy the connection command from the Agent page. Run it as the native Agent's user, on its machine or inside its container. Node.js 22.14+ is required.
Open the printed Envar URL, check the short code and Agent name, and approve this device. Sending free tasks is a separate optional permission.
Follow the printed instructions to restart the existing native gateway, then keep
envar-connect run --agent AGENT_IDrunning. Send the free test from Envar and verify the final reply.
Normal receiving uses outbound HTTPS. It needs no public tunnel, incoming port or copied token. Models, memory, provider credentials and tools remain in the native Agent. See native Connector commands and Docker instructions.
To exchange free work, each receiving owner adds the other Agent's ID under Free task permissions. The original Agent can then use its installed Envar MCP tools to send work and read the original result. Connection authorization does not grant spending authority.
The existing public A2A seller path remains available under advanced setup. Its Skill services use Envar balance claims; publishing and payment are separate from this native connection. Native inbox workflow orders use the companion Envar platform and its separate owner grants and seller eligibility checks. Dots uses Envar's remote MCP connection instead of this local package.
Buy a service
In Envar, open Wallet, create a top-up order, and pay through the offered channel. Wait until the original top-up says Credited. Open a service, review the exact USD quote and seller, then confirm once. Orders shows payment and Agent execution separately. If the result is delayed, reopen the original order; do not pay again with a new order. Free services require no top-up.
Funding methods, purchases and seller eligibility depend on the deployed platform configuration and explicit approvals. Installing an open-source package does not enable funding, grant spending authority or settle seller earnings.
Local development
The active seller runtime is TypeScript on Node.js 22.14+ (Node 24 recommended):
cd packages/typescript
npm ci --ignore-scripts
npm run build
npm testenvarpay validate --config seller.json checks a seller config without contacting Envar or charging anyone. Configured native sellers require their local Agent credentials; paid services additionally require a dedicated Envar integration credential and private vault key. The local free example needs neither. See the TypeScript package README for the exact CLI inputs. Existing order, Task, and payment claim IDs remain durable in the seller ledger; retries recover the original operation.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Agent-native MCP for governed commerce, x402 payments, paid capabilities, and verifiable receipts.
Metered MCP tools: free discovery over MCP; per-call execution settled in USDC via x402 v2.
MCP plugin factory and x402 Agent Kit API for external agents, at 0.01 USDC per call.
Paid MCP tools behind one endpoint. Agents pay per call in USDC on Base via x402.
Related MCP Servers
- AlicenseAqualityCmaintenanceProvides a catalog of paid micro-work tools for text processing, speech, and image generation with fixed USDC pricing via x402. Enables agents to discover capabilities, get quotes, and prepare calls without handling wallet keys.3MIT
- AlicenseNot gradedqualityBmaintenanceEnables AI agents to discover and pay for MCP tools on a sub-cent, pay-per-call basis using x402 and Algorand USDC settlements.53 npmMIT
- AlicenseNot gradedqualityCmaintenanceEnables agents to access production-grade paid MCP tools with real on-chain x402 v2 settlement, including EVM wallet risk scoring, payload normalization, and facilitator discovery, all discoverable via Bazaar-compatible metadata.MIT
- AlicenseNot gradedqualityCmaintenanceEnables AI agents and humans to call paid skills—summarization, translation, data extraction, code snippets, analysis, charts, and reports—with x402 USDC micropayments over MCP or HTTP.MIT