Agent Setup

All setups connect to the same remote MCP server — no Docker, no local install:

https://mcp.defistream.dev/mcp

You’ll need your DeFiStream API key (dsk_...). Get one at app.defistream.dev if you don’t have one yet.


Claude Code

Claude Code is Anthropic’s CLI tool for using Claude in the terminal. Add DeFiStream with a single command:

claude mcp add defistream --transport http https://mcp.defistream.dev/mcp

Verify the server is registered:

claude mcp list

You should see defistream listed. Claude Code will now have access to all DeFiStream tools in every conversation.


Claude Web (claude.ai)

  1. Open claude.ai and go to Settings
  2. Click Connectors in the left sidebar
  3. Click Add custom connector
  4. Enter the server URL:
    https://mcp.defistream.dev/mcp
  5. Save the connector

The DeFiStream tools will now appear in your Claude conversations. You can toggle the connector on or off from the same Settings page.

Note: The same setup works with Claude Desktop — open Settings, go to Connectors, and add the same URL.


Codex CLI

Codex CLI supports MCP servers similarly to Claude Code:

codex --mcp-server https://mcp.defistream.dev/mcp

Or add it to your Codex configuration file for persistence. Refer to the Codex documentation for config file details.


Troubleshooting

“Server not responding” — Make sure you can reach https://mcp.defistream.dev/mcp from your network. The server requires HTTPS.

“Unauthorized” / 401 errors — Double-check your API key. It should start with dsk_ and be passed in the X-API-Key header.

Tools not appearing — Some clients cache tool lists. Try restarting the client or re-adding the integration.