Reddit 扩展
🎥Plug & Play
Watch the demo
本教程介绍如何把 Reddit MCP 服务器 添加为 goose 扩展,用来获取热门帖子、分析 Reddit 帖子内容,并浏览子版块讨论。
快速安装
- goose Desktop
- goose CLI
命令
uvx --from git+https://github.com/adhikasp/mcp-reddit.git mcp-reddit
配置
信息
运行此命令需要系统已安装 uv,因为会用到 uvx。
- goose Desktop
- goose CLI
- Launch the installer
- Click
Yesto confirm the installation - Click the button in the top-left to open the sidebar
- Navigate to the chat
- Run the
configurecommand:
goose configure
- Choose to add a
Command-line Extension.
┌ goose-configure
│
◇ What would you like to configure?
│ Add Extension
│
◆ What type of extension would you like to add?
│ ○ Built-in Extension
│ ● Command-line Extension (Run a local command or script)
│ ○ Remote Extension (Streamable HTTP)
└
- Give your extension a name.
┌ goose-configure
│
◇ What would you like to configure?
│ Add Extension
│
◇ What type of extension would you like to add?
│ Command-line Extension
│
◆ What would you like to call this extension?
│ Reddit MCP
└
- Enter the command to run when this extension is used.
┌ goose-configure
│
◇ What would you like to configure?
│ Add Extension
│
◇ What type of extension would you like to add?
│ Command-line Extension
│
◇ What would you like to call this extension?
│ Reddit MCP
│
◆ What command should be run?
│ uvx --from git+https://github.com/adhikasp/mcp-reddit.git mcp-reddit
└
- Enter the number of seconds goose should wait for actions to complete before timing out. Default is
300seconds.
┌ goose-configure
│
◇ What would you like to configure?
│ Add Extension
│
◇ What type of extension would you like to add?
│ Command-line Extension
│
◇ What would you like to call this extension?
│ Reddit MCP
│
◇ What command should be run?
│ uvx --from git+https://github.com/adhikasp/mcp-reddit.git mcp-reddit
│
◆ Please set the timeout for this tool (in secs):
│ 300
└
- Enter a description for this extension.
┌ goose-configure
│
◇ What would you like to configure?
│ Add Extension
│
◇ What type of extension would you like to add?
│ Command-line Extension
│
◇ What would you like to call this extension?
│ Reddit MCP
│
◇ What command should be run?
│ uvx --from git+https://github.com/adhikasp/mcp-reddit.git mcp-reddit
│
◇ Please set the timeout for this tool (in secs):
│ 300
│
◆ Enter a description for this extension:
│ Fetch and analyze Reddit content
└
- Choose
Nowhen asked to add environment variables.
┌ goose-configure
│
◇ What would you like to configure?
│ Add Extension
│
◇ What type of extension would you like to add?
│ Command-line Extension
│
◇ What would you like to call this extension?
│ Reddit MCP
│
◇ What command should be run?
│ uvx --from git+https://github.com/adhikasp/mcp-reddit.git mcp-reddit
│
◇ Please set the timeout for this tool (in secs):
│ 300
│
◇ Enter a description for this extension:
│ Fetch and analyze Reddit content
│
◆ Would you like to add environment variables?
│ No
│
└ Added Reddit MCP extension
使用示例
这个示例用 goose 和 Reddit MCP 服务器,为 AI 话题做一个定制新闻流。goose 会拉取 Reddit 上热门的 AI 帖子,并做成可滚动、带图片和要点的社交媒体风格信息流。
它像 Reddit,但只为你精选。
goose 提示词
goose,用 reddit MCP 服务器,把最新的 AI 帖子做成一份个性化社交信息流。加上图片,并排成真正的社交媒体应用那样。
goose 输出
桌面版
我来用 Reddit 的帖子和子帖为你做一份个性化社交媒体信息流。先看我们要用的内容,再创建这个 Web 应用。
先从两个子版块取一些示例帖子,确认数据结构:
────────────── Fetch Reddit Hot Threads ─────────────────
接下来用 JavaScript 创建这个 Web 应用:
────────────── Text Editor ─────────────────
我已经在默认浏览器里打开了这个 Web 应用。你现在应该能看到个性化社交信息流。
页面默认会自动拉取 r/ProgrammerAIHumor 的最新帖子。点击顶部按钮可以切换到 r/AI。每条帖子都可以点击,并在新标签页打开原来的 Reddit 讨论串。
如果想调整这些方面,告诉我:
- 配色
- 布局
- 刷新频率
- 显示的帖子数量
以及其他功能。
如果页面打不开,也告诉我,我来帮你排查。