MCP Server Studio
Launch, deposit into, rebalance and redeem onchain funds on Solana mainnet.
Registry name: io.github.DFM-Finance/dfm-agent
Add to claude_desktop_config.json:
{
"mcpServers": {
"dfm-agent": {
"command": "npx",
"args": [
"-y",
"@dfm-fi/[email protected]"
],
"env": {
"DFM_API_KEY": "<DFM_API_KEY>",
"DFM_AGENT_WRITE_ENABLED": "<DFM_AGENT_WRITE_ENABLED>",
"DFM_MCP_CONFIRM_REQUIRED": "<DFM_MCP_CONFIRM_REQUIRED>"
}
}
}
}Run in your terminal:
claude mcp add dfm-agent -e DFM_API_KEY='<DFM_API_KEY>' -e DFM_AGENT_WRITE_ENABLED='<DFM_AGENT_WRITE_ENABLED>' -e DFM_MCP_CONFIRM_REQUIRED='<DFM_MCP_CONFIRM_REQUIRED>' -- npx -y @dfm-fi/[email protected]Add to .cursor/mcp.json:
{
"mcpServers": {
"dfm-agent": {
"command": "npx",
"args": [
"-y",
"@dfm-fi/[email protected]"
],
"env": {
"DFM_API_KEY": "<DFM_API_KEY>",
"DFM_AGENT_WRITE_ENABLED": "<DFM_AGENT_WRITE_ENABLED>",
"DFM_MCP_CONFIRM_REQUIRED": "<DFM_MCP_CONFIRM_REQUIRED>"
}
}
}
}Add to .vscode/mcp.json:
{
"servers": {
"dfm-agent": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@dfm-fi/[email protected]"
],
"env": {
"DFM_API_KEY": "<DFM_API_KEY>",
"DFM_AGENT_WRITE_ENABLED": "<DFM_AGENT_WRITE_ENABLED>",
"DFM_MCP_CONFIRM_REQUIRED": "<DFM_MCP_CONFIRM_REQUIRED>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json:
{
"mcpServers": {
"dfm-agent": {
"command": "npx",
"args": [
"-y",
"@dfm-fi/[email protected]"
],
"env": {
"DFM_API_KEY": "<DFM_API_KEY>",
"DFM_AGENT_WRITE_ENABLED": "<DFM_AGENT_WRITE_ENABLED>",
"DFM_MCP_CONFIRM_REQUIRED": "<DFM_MCP_CONFIRM_REQUIRED>"
}
}
}
}Add to claude_desktop_config.json:
{
"mcpServers": {
"dfm-agent": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://app.dfm.finance/api/v2/mcp",
"--header",
"Authorization: <Authorization>"
]
}
}
}Run in your terminal:
claude mcp add --transport http dfm-agent https://app.dfm.finance/api/v2/mcp --header 'Authorization: <Authorization>'Add to .cursor/mcp.json:
{
"mcpServers": {
"dfm-agent": {
"url": "https://app.dfm.finance/api/v2/mcp",
"headers": {
"Authorization": "<Authorization>"
}
}
}
}Add to .vscode/mcp.json:
{
"servers": {
"dfm-agent": {
"type": "http",
"url": "https://app.dfm.finance/api/v2/mcp",
"headers": {
"Authorization": "<Authorization>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json:
{
"mcpServers": {
"dfm-agent": {
"serverUrl": "https://app.dfm.finance/api/v2/mcp",
"headers": {
"Authorization": "<Authorization>"
}
}
}
}| Name | Required | What it is |
|---|---|---|
DFM_API_KEY | No | dfm_ API key from app.dfm.finance → Agent → Keys (read-only by default). Optional for public reads. |
DFM_AGENT_WRITE_ENABLED | No | Set to true to enable the write tools (real money on Solana mainnet). Default false. |
DFM_MCP_CONFIRM_REQUIRED | No | 1 = every write needs the human to type the tool name. |