# @dfm-fi/agent

DFM v2 MCP server — drive the full fund launch → deposit → redeem (+ manage) lifecycle from an AI agent against the live API.

- **Type:** MCP server
- **Trust:** 60/100 (B), scored on the package rubric
- **Verification:** community-indexed — nobody has claimed this listing
- **Version:** 0.2.1969
- **Author:** Unknown
- **License:** MIT
- **npm:** @dfm-fi/agent
- **Source:** https://github.com/DFM-Finance/dfm-agent
- **Compatible clients:** claude-code, cursor, copilot, gemini (basis: transport)

## Trust

60/100 (B), scored on the package rubric
- Publisher verified: no
- Install scripts: nothing suspicious found
- Prompt-injection scan: not run
- Obfuscation scan: not run
- Evidence age: 0 days

## Security scan

- **Status:** clean
- **Scanned:** 2026-10-20T22:16:12.605Z
- **Version scanned:** 0.2.1969
- **CVEs:** none found by OSV at scan time

## Tools

38 declared. Statically extracted from the shipped source — a floor on the surface, not a census.
- `list_dtfs` — List funds from the live DFM v2 API (GET /vaults) — the same filter,
- `get_vault` — Get full detail for one vault from the live API (GET /vaults/:address):
- `discover_tokens` — Turn WORDS into MINTS via Jupiter (GET /assets/search). Any basket idea —
- `get_token_price` — Live USD price for up to 20 mints (GET /prices/:mint per mint).
- `zap_status` — Get the decoded zap-v2 escrow for a (vault, user) from the live API
- `get_portfolio` — Get the user's primary DFM app-wallet positions + summary from the live API
- `app_wallet` — The user's APP WALLET: whether one exists, its status, its LIVE onchain SOL + USDC,
- `trader_profile` — A trader's public profile (display name, username, bio, funds created, TVL managed) by wallet or
- `follow_trader` — Follow a trader by wallet address. Moves no funds.
- `unfollow_trader` — Stop following a trader by wallet address. Moves no funds.
- `report_bug` — Send a bug report to the DFM team. Use when something in DFM fails: a short title,
- `create_app_wallet` — Create this agent's DFM APP WALLET without a browser. Generates a P-256 owner key on THIS machine
- `create_identity_wallet` — The Solana keypair this agent signs in to DFM with (SIWS). If DFM_AGENT_KEYPAIR_PATH / DFM_AGENT_KEYPAIR_JSON
- `set_profile` — Set this agent's public DFM profile: displayName (required), optional @username and bio. The avatar is the
- `create_api_key` — Mint a dfm_ API key for this agent's owner (SIWS session only). READ-ONLY: write keys and write caps are
- `onboard` — Run the headless onboarding in order —
- `close_empty_accounts` — Close every EMPTY token account of this agent's own app wallet (owner = the local P-256 key from
- `xp_status` — The user's XP (total and by kind: deposit, launch, profile, referral) and the top of the XP leaderboard.
- `whoami` — Report the user's profile, acting wallet, portfolio/app wallet, separate
- `launch_vault` — REAL-MONEY (gated). Create a new fund. Your APP WALLET signs, pays and
- `deposit` — REAL-MONEY (gated). Open a zap-v2 deposit (pull USDC, pin plan). The backend
- `swap_quote` — READ-ONLY. Price a swap of one token for another out of the app wallet, routed by
- `swap` — REAL-MONEY, runs without a confirmation phrase. Swap one token for another out of the
- `redeem` — REAL-MONEY (gated). Open a zap-v2 redeem (burn shares → escrow basket,
- `attach_metadata` — Retry the share-token metadata (name, symbol, logo) of a fund you launched when the launch
- `zap_v2_cancel` — REAL-MONEY (gated). Return a stalled escrow current USDC + per-asset
- `zap_v2_update_envelope` — REAL-MONEY (gated). LOOSEN the per-leg min-out floors so a stuck mid-crank
- `update_vault_assets` — REAL-MONEY (gated). MANAGER action — only works on a vault your app wallet
- `transfer_admin` — NOT AVAILABLE YET IN THIS MCP. Admin transfer has no app-wallet executor here, so this
- `accept_admin_transfer` — NOT AVAILABLE YET IN THIS MCP for new acceptances (they are refused). It only
- `update_vault_policy` — ⚠️ HIGH-SENSITIVITY CONTROL (explicit-human-only). Create or amend the
- `app_wallet_withdraw` — REAL-MONEY (gated). Return the app wallet's USDC + SOL to the owner's saved
- `list_app_wallet_assets` — EVERY token in your app wallet — fund shares included — with amount, decimals
- `withdraw_asset` — REAL-MONEY (gated). Send ONE mint from the app wallet to the owner's saved
- `app_wallet_rearm` — ⚠️ REAL CONTROL (explicit-human-only). Supersede the current app-wallet
- `app_wallet_fund` — REAL-MONEY (gated). Move USDC and/or SOL from YOUR OWN wallet into your app
- `init_rebalancer` — REAL-MONEY (gated). MANAGER action — only works on a vault your app wallet
- `rebalance_to_targets` — REAL-MONEY (gated). MANAGER duty: the config is the promise, holdings are the

## Install

**Verdict: review** — Installable, but 1 thing to check first: No publisher has proved control of this listing; it is indexed, not vouched for.
**Cautions** (coverage gaps and advisories — never blocking)
- No publisher has proved control of this listing; it is indexed, not vouched for.
**Config** (claude-code):
```json
"{\n  \"mcpServers\": {\n    \"agent\": {\n      \"command\": \"npx\",\n      \"args\": [\n        \"-y\",\n        \"@dfm-fi/agent\"\n      ],\n      \"env\": {\n        \"DFM_API_KEY\": \"<YOUR_DFM_API_KEY>\"\n      }\n    }\n  }\n}"
```
**Credentials it will ask for** (names only — Forge never holds a value):
- `DFM_API_KEY` — Dfm API Key (optional)
Placeholders only. Forge never holds, brokers, or transmits a credential value — replace each <YOUR_NAME> in your own config file. Do not send a value back to Forge; no Forge endpoint accepts one.
- This entry needs 1 credential (0 required). The generated config carries placeholders, so it will fail in the editor rather than at runtime if they are left unset.

## Blast radius

Moderate blast radius — holds an api key; runs on your machine.
- Floor 23, ceiling 23 (tier: moderate)
- This is impact, not likelihood. A high radius is not a defect: a filesystem server is supposed to write files. It is never part of the trust score.

## Machine-readable views of this entry

- Signed JSON: https://forgeregistry.com/api/v1/packages/%40dfm-fi%2Fagent
- Install plan: https://forgeregistry.com/api/v1/packages/%40dfm-fi%2Fagent/install-plan
- Alternatives: https://forgeregistry.com/api/v1/alternatives/%40dfm-fi%2Fagent
- HTML page: https://forgeregistry.com/registry/%40dfm-fi%2Fagent
- MCP: POST https://forgeregistry.com/api/mcp → `forge_get_package` / `forge_install_plan`

## About this document

Generated by Forge (https://forgeregistry.com) — a compact rendering of the same record served, signed, at the JSON URL above. Trust and scan facts are the registry's own measurements; anything Forge did not measure is named as unmeasured rather than omitted.
