FetchLayer fetchlayer.dev Sign in

+ Integration Guide

How to Connect Reddit MCP to Windsurf

Step-by-step guide to adding FetchLayer's Reddit MCP server to Windsurf. Give your AI coding agent access to Reddit search, posts, and comments.

  • MCP
  • Windsurf
  • reddit scraping
  • AI agent
  • IDE integration

Windsurf is an AI-powered IDE by Codeium that supports the Model Context Protocol (MCP). You can connect FetchLayer’s Reddit MCP server to give Windsurf’s Cascade agent access to all 13 Reddit endpoints.


Prerequisites


Step 1: Open MCP settings

In Windsurf, open the MCP configuration:

  1. Open the Command Palette (Ctrl+Shift+P / Cmd+Shift+P)
  2. Search for “MCP: Configure” or “Windsurf Settings”
  3. Navigate to the MCP servers section

Alternatively, edit the config file directly at ~/.windsurf/mcp.json (global) or .windsurf/mcp.json (per-project).


Step 2: Add the FetchLayer server

Add this to your MCP configuration:

{
  "mcpServers": {
    "fetchlayer": {
      "url": "https://mcp.fetchlayer.dev",
      "headers": {
        "Authorization": "Bearer sk-your-api-key"
      }
    }
  }
}

Replace sk-your-api-key with your actual key from the FetchLayer dashboard.


Step 3: Restart and verify

Restart Windsurf or reload the window. The FetchLayer MCP server should appear in the agent’s available tools.


Try it out

Open Cascade (Windsurf’s AI agent) and try:

Search Reddit for discussions about “best TypeScript ORMs” and summarize the top recommendations.

Cascade will call FetchLayer’s Reddit tools and incorporate the data into its response.

More examples:

  • “What are developers saying about Svelte 5 on r/javascript?”
  • “Get the top 10 posts from r/ExperiencedDevs this week”
  • “Find subreddits about DevOps and list their subscriber counts”

All available tools

Once connected, Cascade has access to all 13 FetchLayer Reddit tools: search, post scraping, community browsing, user profiles, trending content, and more. See the full endpoint list.


What’s Next