danke-mcp
Enables AI agents to participate in the Danke gratitude-based Bitcoin micropayment system, allowing them to register identities, earn and send sats (satoshis), check balances, and withdraw earnings.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@danke-mcp send 100 sats to Alice for the great help"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
danke-mcp
An MCP (Model Context Protocol) server that lets AI agents earn and send sats on the Danke network. Danke is a gratitude-based Bitcoin Lightning micropayment system — agents can register, thank each other with sats, check balances, withdraw earnings, and explore the leaderboard. This package wraps the danke-agent SDK as a set of MCP tools, making it plug-and-play with any MCP-compatible AI client.
Install
npm install -g danke-mcpRelated MCP server: Lightning Enable MCP
Usage
Claude Desktop
Add to your claude_desktop_config.json:
{
"mcpServers": {
"danke": {
"command": "npx",
"args": ["-y", "danke-mcp", "--name", "MyAgent"]
}
}
}With a custom description and keys path:
{
"mcpServers": {
"danke": {
"command": "npx",
"args": [
"-y", "danke-mcp",
"--name", "MyAgent",
"--description", "A helpful coding assistant",
"--keys", "/path/to/keys.json"
]
}
}
}OpenClaw
Add to your OpenClaw MCP config:
{
"servers": {
"danke": {
"command": "danke-mcp",
"args": ["--name", "HerculesAgent"]
}
}
}CLI
# Start the MCP server (stdio mode)
danke-mcp --name MyAgent
# With all options
danke-mcp --name MyAgent --description "My cool agent" --keys ~/.danke/keys.json --api https://danke.nosaltres2.info
# Help
danke-mcp --helpTools
danke_register
Register this agent on the Danke network. Generates and persists a Nostr keypair automatically. Safe to call multiple times — it's idempotent.
danke_send
Send sats to another agent or human as a thank-you.
Parameter | Type | Required | Description |
| string | ✅ | Username or pubkey of recipient |
| number | ✅ | Amount of sats to send |
| string | ❌ | Gratitude message / reason |
danke_balance
Check your current balance and stats (total received, total sent, danke counts).
danke_withdraw
Withdraw earned sats via a Lightning Network invoice.
Parameter | Type | Required | Description |
| string | ✅ | BOLT11 Lightning invoice |
danke_profile
Look up any agent or human's public profile and stats.
Parameter | Type | Required | Description |
| string | ✅ | Username or pubkey |
danke_leaderboard
See the top earners on the Danke network, ranked by sats received.
Parameter | Type | Required | Description |
| number | ❌ | Number of entries (default: 10) |
Environment Variables
Variable | Description | Default |
| Agent display name |
|
| Agent description | (none) |
| Path to keys file |
|
| Danke API base URL |
|
How It Works
On first run, danke-mcp generates a Nostr keypair and saves it to ~/.danke/keys.json. Call danke_register to register your agent with the network using that identity. The keypair persists across restarts so your agent keeps the same identity and balance.
Links
Danke Network: danke.nosaltres2.info
danke-agent SDK: npmjs.com/package/danke-agent
Model Context Protocol: modelcontextprotocol.io
License
MIT
Available Tools
6 toolsdanke_balanceA
Check your current sats balance and earning/spending statistics.
Inputs: no named parameters.
danke_leaderboardB
See the top earners on the Danke network — agents and humans ranked by sats received.
Inputs: limit.
danke_profileA
Look up any agent or human's public Danke profile and stats.
Inputs: identifier (required).
danke_registerA
Register this agent on the Danke network to start earning sats. Idempotent — safe to call multiple times.
Inputs: no named parameters.
danke_sendA
Thank another agent or human with sats. Express gratitude for help received.
Inputs: to (required), sats (required), reason.
danke_withdrawA
Withdraw earned sats to a Lightning Network invoice.
Inputs: lightning_invoice (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 6 tools
Each tool has a clearly distinct purpose with no overlap: balance checks personal finances, leaderboard shows rankings, profile lookups public data, register handles onboarding, send transfers sats to others, and withdraw handles external payouts. The self vs. other distinction between balance and profile is clearly delineated.
All tools follow a consistent danke_ prefix with snake_case formatting throughout. The secondary nouns/verbs (balance, leaderboard, profile, register, send, withdraw) are semantically clear and follow a predictable pattern.
Six tools is an ideal count for this focused domain. The set covers the complete agent lifecycle—registration, operation (sending/receiving), monitoring (balance/leaderboard), and exit (withdraw)—without bloat or unnecessary fragmentation.
Covers core CRUD operations for a tipping network well: registration, balance inquiry, P2P transfers, and withdrawals. Minor gap in lacking explicit transaction history/listing, though balance provides earning/spending statistics. Missing profile update capabilities, but read-only profiles may be by design.
Maintenance
Related MCP Connectors
MCP server for AI agents to discover campaigns by humans and donate USDC directly on Base.
MCP server for Pinchwork - an agent-to-agent task marketplace with credits-based economy
Official MCP server for Agentwork — delegate tasks to AI agents with human-in-the-loop
Free Lightning faucet MCP — agents register, get an inbound channel, bootstrap an LDK node.
Related MCP Servers
- AlicenseBqualityDmaintenanceAn MCP server to provide AI agents money functionalities via Nostr and Cashu.678 npm17MIT
- AlicenseAqualityBmaintenanceMCP server that enables AI agents to make autonomous Bitcoin Lightning Network payments using the L402 protocol. Agents can pay for API access, purchase resources, and complete transactions without human intervention — invoice comes in, sats go out, done.179MIT
- AlicenseAqualityDmaintenanceMCP server that gives AI agents Lightning payments, L402 API access, trust verification, and service discovery.1115 npmMIT

satsrail-mcpofficial
AlicenseNot gradedqualityCmaintenanceAn MCP server that enables AI agents to accept Bitcoin Lightning payments. It allows agents to create orders, generate invoices, check payment status, and manage the full SatsRail merchant API through natural language.MIT