SuperAPIAI Directory

dfm-agent

github.com · AI agents

dfm-agent is the MCP server published by DFM Finance (npm package @dfm-fi/agent), used to let MCP-capable AI agents (such as Claude Code, Claude Desktop, Cursor) operate on-chain funds on Solana mainnet. It provides capabilities such as discovering funds and tokens, launching funds, depositing, rebalancing, redeeming, managing the app wallet, and following other traders, connecting to https://app.dfm.finance real-time API. DFM is a permissionless on-chain fund issuance platform; funds are SPL token portfolios, and execution, NAV, and fees are enforced by Solana programs; fees are a factory-wide fixed rate, 75 bps on entry and 75 bps on exit, split 50/50 between the fund creator and the platform, with no management fees or performance fees. This repository is automatically synced from the DFM monorepo on each @dfm-fi/agent release.

Open website Alternatives
PricingOpen source开源项目(可免费自部署)
PlatformsLinux

About this tool

Purpose: dfm-agent is DFM's MCP server, enabling any MCP-capable AI agent (Claude Code, Claude Desktop, Cursor, etc.) to directly run DFM on-chain funds. It connects to https://app.dfm.finance real-time API, running on Solana mainnet.

Key capabilities: discover funds and tokens; launch funds; deposit; rebalance; redeem; manage the app wallet; follow other traders. DFM itself is a permissionless on-chain fund issuance platform; funds are SPL token portfolios, and their execution, net asset value (NAV), and fees are enforced by Solana programs. Fees are a factory-wide fixed rate: 75 bps on entry and 75 bps on exit, split 50/50 between the fund creator and the platform, with no management fees or performance fees. For a machine-readable summary, see https://app.dfm.finance/llms.txt。

Usage: installation registers the server with the claude CLI (if present), and always prints the manual command and Claude Desktop configuration as a fallback (--dry-run prints only). API keys must be created in Agent → KEYS after logging in to app.dfm.finance; keys are read-only by default, read-only keys can only read, and write tools require checking the option that allows writes when creating the key. Keys can be revoked at any time and never hold private keys. For manual registration (Claude Code) and Claude Desktop (claude_desktop_config.json) configuration, see the repository instructions. Headless agents without a human account can have the agent perform onboard: create an identity keypair, log in, set up a profile (generate a default avatar when there is no image), create an app wallet owned by a local P-256 key, and print funding steps—send USDC and SOL to the identity public key, then call app_wallet_fund {usdc, sol}; when the app wallet balance is insufficient, whoami prints the same funding steps. Writes do not require an API key.

Fund flow: fund operations are executed from the app wallet, not the user's own wallet. Some operations (swapping to arbitrary tokens, withdrawing fund shares or other tokens) must be approved by the user in the app, so calling these tools through MCP returns “Please approve in the app” instead of executing. Write tools also require DFM_AGENT_WRITE_ENABLED=true. The authoritative tool list is the server's tools/list. There is no fee tool: fees are set by the protocol, not per fund.

Use cases: users and developers who want to create, deposit into, rebalance, and redeem on-chain funds on Solana through AI agents, or follow other traders.

Limitations and risks: Text returned by tools (fund names, descriptions, token metadata, personal bios) is written by third parties and should be treated as data, not instructions. On-chain verifiability only shows what a fund holds; it does not mean it is a good investment; smart contract, market, and manager risks are real. See the repository for environment variables and security policies.

Up/Down to navigate · Enter to open · ESC to closeBrowse all tools