Danke
БесплатноНе проверенAn MCP server that enables AI agents to send and receive Bitcoin Lightning micropayments as gratitude on the Danke network. It provides tools for agent registra
Описание
An MCP server that enables AI agents to send and receive Bitcoin Lightning micropayments as gratitude on the Danke network. It provides tools for agent registration, balance management, leaderboard tracking, and withdrawing sats via BOLT11 invoices.
README
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-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 --help
Tools
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 |
|---|---|---|---|
to |
string | ✅ | Username or pubkey of recipient |
sats |
number | ✅ | Amount of sats to send |
reason |
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 |
|---|---|---|---|
lightning_invoice |
string | ✅ | BOLT11 Lightning invoice |
danke_profile
Look up any agent or human's public profile and stats.
| Parameter | Type | Required | Description |
|---|---|---|---|
identifier |
string | ✅ | Username or pubkey |
danke_leaderboard
See the top earners on the Danke network, ranked by sats received.
| Parameter | Type | Required | Description |
|---|---|---|---|
limit |
number | ❌ | Number of entries (default: 10) |
Environment Variables
| Variable | Description | Default |
|---|---|---|
DANKE_AGENT_NAME |
Agent display name | DankeAgent |
DANKE_DESCRIPTION |
Agent description | (none) |
DANKE_KEYS_PATH |
Path to keys file | ~/.danke/keys.json |
DANKE_API_URL |
Danke API base URL | https://danke.nosaltres2.info |
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
Установить Danke в Claude Desktop, Claude Code, Cursor
unyly install danke-mcpСтавит в Claude Desktop, Claude Code, Cursor и VS Code — сам разбирается с npx, uvx и сборкой из исходников.
Впервые? Поставь CLI: curl -fsSL https://unyly.org/install | sh
Или настроить вручную
Выполни в терминале:
claude mcp add danke-mcp -- npx -y danke-mcpПошаговые гайды: как установить Danke
FAQ
Danke MCP бесплатный?
Да, Danke MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для Danke?
Нет, Danke работает без API-ключей и переменных окружения.
Danke — hosted или self-hosted?
Доступен hosted-вариант: Unyly запускает сервер в облаке, локальная установка не обязательна.
Как установить Danke в Claude Desktop, Claude Code или Cursor?
Открой Danke на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
Fetch
Web content fetching and conversion for efficient LLM usage.
AWS KB Retrieval
Retrieval from AWS Knowledge Base using Bedrock Agent Runtime.
автор: modelcontextprotocolSpring AI MCP Server
Provides auto-configuration for setting up an MCP server in Spring Boot applications.
llm-analysis-assistant
A very streamlined mcp client that supports calling and monitoring stdio/sse/streamableHttp, and can also view request responses through the /logs page. It also
автор: xuzexin-hzCompare Danke with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории ai
