Reddit MCP Server Tutorial (#2949)

This commit is contained in:
Ebony Louis
2025-06-16 18:59:16 -04:00
committed by GitHub
parent 2f3ac32766
commit 4a93d42303

View File

@@ -0,0 +1,97 @@
---
title: Reddit Extension
description: Add Reddit MCP Server as a Goose Extension
---
import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';
import YouTubeShortEmbed from '@site/src/components/YouTubeShortEmbed';
import CLIExtensionInstructions from '@site/src/components/CLIExtensionInstructions';
<!-- <YouTubeShortEmbed videoUrl="https://www.youtube.com/embed/VIDEO_ID" /> -->
This tutorial covers how to add the [Reddit MCP Server](https://github.com/adhikasp/mcp-reddit) as a Goose extension to fetch trending threads, analyze Reddit post content, and explore subreddit discussions.
:::tip TLDR
<Tabs groupId="interface">
<TabItem value="ui" label="Goose Desktop" default>
[Launch the installer](goose://extension?cmd=uvx&arg=--from&arg=git%2Bhttps%3A%2F%2Fgithub.com%2Fadhikasp%2Fmcp-reddit.git&arg=mcp-reddit&id=reddit&name=Reddit&description=Fetch%20and%20analyze%20Reddit%20content)
</TabItem>
<TabItem value="cli" label="Goose CLI">
**Command**
```sh
uvx --from git+https://github.com/adhikasp/mcp-reddit.git mcp-reddit
```
</TabItem>
</Tabs>
:::
## Configuration
:::info
Note that you'll need [uv](https://docs.astral.sh/uv/#installation) installed on your system to run this command, as it uses `uvx`.
:::
<Tabs groupId="interface">
<TabItem value="ui" label="Goose Desktop" default>
1. [Launch the installer](goose://extension?cmd=uvx&arg=--from&arg=git%2Bhttps%3A%2F%2Fgithub.com%2Fadhikasp%2Fmcp-reddit.git&arg=mcp-reddit&id=reddit&name=Reddit&description=Fetch%20and%20analyze%20Reddit%20content)
2. Press <code>Yes</code> to confirm the installation
3. Click <code>Save Configuration</code>
4. Scroll to the top and click <code>Exit</code> from the upper left corner
</TabItem>
<TabItem value="cli" label="Goose CLI (No Env Vars)">
<CLIExtensionInstructions
name="Reddit MCP"
command="uvx --from git+https://github.com/adhikasp/mcp-reddit.git mcp-reddit"
timeout={300}
/>
</TabItem>
</Tabs>
## Example Usage
In this example, Ill use Goose with the Reddit MCP Server to build a custom news feed for AI topics. Goose will pull top AI threads from Reddit and turn them into a scrollable, social media-style feed with images and highlights.
Its like Reddit, but curated just for you.
### Goose Prompt
> goose using the reddit MCP server, create a personalized social feed of the latest AI threads. Include images and format it like a real social media app.
### Goose Output
:::note Desktop
I'll help you create a personalized social media feed using reddits threads and subthreads. Lets first check the content we'll be working with, and then create the web app.
Let's fetch some sample posts from both subreddits to ensure we have the data structure:
────────────── Fetch Reddit Hot Threads ─────────────────
Let's create the web app using javascript:
────────────── Text Editor ─────────────────
I've opened the web app in your default browser. You should now see your personalized social media feed.
The page will automatically fetch the latest posts from r/ProgrammerAIHumor by default, and you can switch to r/AI by clicking the button at the top. Each post is clickable and will take you to the original Reddit thread in a new tab.
Let me know if you'd like to make any adjustments to:
- The color scheme
- The layout
- The refresh rate
- The number of posts shown
Any other features!
Also, if you're having any issues viewing the page, please let me know and I'll help troubleshoot.
:::