loading…
Search for a command to run...
loading…
Provides a Model Context Protocol interface to the Sponge wallet API for managing digital assets and transaction histories. It enables users to securely check b
Provides a Model Context Protocol interface to the Sponge wallet API for managing digital assets and transaction histories. It enables users to securely check balances, retrieve addresses, and perform transfers using DAuth-style credential exchange.
A scaffold for a Sponge MCP server built with dedalus-mcp and DAuth-style credential exchange.
This server follows a DAuth-style credential exchange pattern:
Connection with SecretKeys.SPONGE_API_KEY).SPONGE_BASE_URL.cp .env.example .env
Required:
SPONGE_API_KEY (provided by the MCP client via DAuth credentials in production flows)Optional:
SPONGE_BASE_URL (defaults to https://api.wallet.paysponge.com)DEDALUS_AS_URL (defaults to https://as.dedaluslabs.ai)HOST (defaults to 127.0.0.1)PORT (defaults to 8080)uv run python src/main.py
For the current published Dedalus Python SDK, hosted MCP credentials are matched
using a slug-derived connection name. For this deploy, use tsion-sponge-mcp
when constructing runtime SecretValues:
import os
from dedalus_labs import AsyncDedalus, DedalusRunner
from dedalus_mcp.auth import Connection, SecretKeys, SecretValues
sponge = Connection(
name="name-of-server", #if name of server is tsion/sponge-mcp use tsion-sponge-mcp
secrets=SecretKeys(api_key="SPONGE_API_KEY"),
base_url="https://api.wallet.paysponge.com",
auth_header_format="Bearer {api_key}",
)
sponge_secrets = SecretValues(sponge, api_key=os.getenv("SPONGE_API_KEY", ""))
client = AsyncDedalus(
api_key=os.getenv("DEDALUS_API_KEY"),
as_base_url="https://as.dedaluslabs.ai",
)
runner = DedalusRunner(client)
result = await runner.run(
input="Use Sponge to get my wallet balances.",
model="openai/gpt-4.1-mini",
mcp_servers=["tsion/sponge-mcp"],
credentials=[sponge_secrets],
)
sponge_get_addressessponge_get_balancessponge_get_balancesponge_get_transaction_historysponge_get_transaction_statussmoke_pinghttps://api.wallet.paysponge.com.Добавь это в claude_desktop_config.json и перезапусти Claude Desktop.
{
"mcpServers": {
"sponge-mcp-server": {
"command": "npx",
"args": []
}
}
}