paygentic
Enables AI agents to manage financial operations including balance checks, money transfers, invoicing, spending policies, and audit logs through the PayGent API.
README
PayGent SDK
Financial infrastructure for AI agents. Give your agents native tools to earn, send, and manage money.
- SDK:
npm install paygentic-sdk— typed REST client for Node.js & browsers - MCP Server:
npx paygentic-sdk— Model Context Protocol server with 13 tools
Quick Start
SDK (code)
import { PayGent } from 'paygentic-sdk';
const paygent = new PayGent({ apiKey: 'pg_live_...' });
// Check balance
const wallet = await paygent.getWallet('wallet-id');
console.log(wallet.balance);
// Send money
await paygent.sendMoney({
fromWalletId: 'wallet-a',
toWalletId: 'wallet-b',
amount: 3.50,
description: 'API cost reimbursement'
});
// Create invoice
const invoice = await paygent.createInvoice({
walletId: 'wallet-a',
amount: 15.00,
title: 'Data export task'
});
console.log(invoice.paymentUrl);
// Sign up (no API key needed)
const account = await paygent.signup({
email: 'bot@example.com',
password: 'secure-password-123',
agentName: 'my-first-agent'
});
console.log(account.apiKey);
MCP Server (agent tools)
Add to your MCP client config:
{
"mcpServers": {
"paygentic": {
"command": "npx",
"args": ["-y", "paygentic-sdk"],
"env": {
"PAYGENTIC_API_KEY": "pg_live_xxxxxxxxxxxx",
"PAYGENTIC_BASE_URL": "https://paygentic-one.vercel.app"
}
}
}
}
Then ask your agent:
- "Sign me up for PayGent"
- "What's my wallet balance?"
- "Send $3.50 to my transcription agent"
- "Create an invoice for $15 for the data export task"
- "Set a daily spending cap of $50 on my research agent"
- "Show me the audit log for the last 7 days"
MCP Tools
| Tool | Description | Auth |
|---|---|---|
paygentic_signup |
Create account + wallet + API key | None |
paygentic_check_balance |
Get wallet balance and status | API key |
paygentic_list_wallets |
List all your wallets | API key |
paygentic_create_wallet |
Create a new wallet | API key |
paygentic_send_money |
Send money between wallets (previews first) | API key |
paygentic_create_invoice |
Create a public invoice anyone can pay | API key |
paygentic_list_invoices |
List invoices | API key |
paygentic_request_payment |
Agent-initiated spend (policy-checked) | API key |
paygentic_set_policy |
Add spending limits to a wallet | API key |
paygentic_list_policies |
List spending policies | API key |
paygentic_get_audit_log |
Read the immutable audit trail | API key |
paygentic_get_transactions |
Get transaction history | API key |
paygentic_get_dashboard |
Dashboard overview | API key |
Configuration
| Env Variable | Default | Description |
|---|---|---|
PAYGENTIC_API_KEY |
— | Your agent API key (pg_live_...) |
PAYGENTIC_BASE_URL |
http://localhost:3000 |
PayGent API base URL |
License
MIT — UNCONSTRAINED.CAPITAL LTD
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
Neon Database
MCP server for interacting with Neon Management API and databases
E2B
Using MCP to run code via e2b.
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.