dappier-mcp-server-remote

dappier-mcp-server-remote

1

Dappier MCP Remote Server enables real-time web search and access to premium data from various media. It facilitates building AI agents and can be connected to the MCP Inspector and Claude Desktop for enhanced functionalities.

Dappier MCP Remote Server

Enable fast, free real-time web search and access premium data from trusted media brands—news, financial markets, sports, entertainment, weather, and more. Build powerful AI agents with Dappier


Develop locally

# 1. Clone the Dappier MCP repo
git clone git@github.com:DappierAI/dappier-mcp-server-remote.git

# 2. Install dependencies
cd dappier-mcp-server-remote
npm install

# 3. Run your Worker locally
wrangler dev

Once it’s running, you can access your server’s main route at:

http://localhost:8787/

Your SSE endpoint (for MCP) is:

http://localhost:8787/sse

Connect the MCP Inspector to your server

  1. Install and start the Inspector:
    npx @modelcontextprotocol/inspector
    
  2. In the Inspector UI (usually at http://localhost:5173):
    • Transport Type: select SSE
    • URL: enter http://localhost:8787/sse
    • Click Connect
  3. Log in with any email/password (this is a mock login for local dev)
  4. Once authenticated, you can browse and invoke your tools directly from the Inspector.

Connect Claude Desktop to your local MCP server

Follow Anthropic’s Quickstart, then in Claude Desktop:

  1. Go to Settings › Developer › Edit Config

  2. Replace your mcpServers block with:

    {
      "mcpServers": {
        "dappier": {
          "command": "npx",
          "args": ["mcp-remote", "http://localhost:8787/sse"]
        }
      }
    }
    
  3. Restart Claude. When prompted in the browser, log in, and you’ll see your Dappier tools available.


Deploy to Cloudflare

  1. Create an OAuth KV namespace:
    npx wrangler kv namespace create OAUTH_KV
    
  2. Add the KV binding to your wrangler.toml:
    [[kv_namespaces]]
    binding = "OAUTH_KV"
    id      = "<your-generated-namespace-id>"
    
  3. Publish your Worker:
    wrangler publish
    

Connect remote MCP clients

From the Inspector

npx @modelcontextprotocol/inspector@latest
  • Enter your Worker’s URL (e.g. https://<your-worker>.workers.dev/sse)
  • Click Connect and authenticate.

From Claude Desktop

Update your mcpServers block to point at your production URL:

{
  "mcpServers": {
    "dappier": {
      "command": "npx",
      "args": ["mcp-remote", "https://<your-worker>.workers.dev/sse"]
    }
  }
}

Restart Claude, log in when prompted, and enjoy your live Dappier tools!


Debugging tips

  • Test via CLI
    npx mcp-remote http://localhost:8787/sse
    
  • Clear local auth cache
    rm -rf ~/.mcp-auth
    
  • Restart Claude or re-open the Inspector if tools don’t appear.