Skip to content
VS Code

DFM · The Fund Management OS for VS Code

io.github.dfm-finance/dfm-agent

Launch, deposit into, rebalance and redeem onchain funds on Solana mainnet.

client:VS Code transport:stdio runtime:npm

Install DFM · The Fund Management OS in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "dfm-api-key",
      "description": "DFM_API_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "dfm-agent-write-enabled",
      "description": "DFM_AGENT_WRITE_ENABLED",
      "password": true
    },
    {
      "type": "promptString",
      "id": "dfm-mcp-confirm-required",
      "description": "DFM_MCP_CONFIRM_REQUIRED",
      "password": true
    }
  ],
  "servers": {
    "dfm-agent": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@dfm-fi/agent"
      ],
      "env": {
        "DFM_API_KEY": "${input:dfm-api-key}",
        "DFM_AGENT_WRITE_ENABLED": "${input:dfm-agent-write-enabled}",
        "DFM_MCP_CONFIRM_REQUIRED": "${input:dfm-mcp-confirm-required}"
      }
    }
  }
}

VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs

DFM · The Fund Management OS in other clients