Python
Reddit MCP 서버 ⚙️
Reddit 콘텐츠를 가져오고 생성하는 도구를 제공하는 모델 컨텍스트 프로토콜(MCP)입니다.
🧑💻 정보
https://www.linkedin.com/feed/update/urn:li:activity:7328864060534419457/
🔧 사용 가능한 도구(기능)
읽기 전용 도구(클라이언트 자격 증명):
get_user_info(username)
- 참여 통찰력을 통해 자세한 사용자 분석을 받으세요get_top_posts(subreddit, time_filter, limit)
- 인기 게시물을 가져오고 분석합니다.get_subreddit_stats(subreddit)
- 포괄적인 subreddit 분석 받기get_trending_subreddits()
- 인기 있는 서브레딧 목록 가져오기
읽기-쓰기 도구(사용자 자격 증명):
create_post(subreddit, title, content, flair, is_self)
- 최적화된 게시물을 만듭니다.reply_to_post(post_id, content, subreddit)
- 참여 통찰력을 담은 답글 추가reply_to_comment(comment_id, content, subreddit)
- 전략적 답변 추가
🔌 설치
git clone https://github.com/alexandros-lekkas/reddit-mcp-server
- 여기에서 Reddit 앱을 만드세요
"스크립트"를 선택해야 합니다!
- 클라이언트 ID와 클라이언트 비밀번호를 복사하세요
.env.example
기반으로.env
파일을 만듭니다.
REDDIT_CLIENT_ID
및 REDDIT_CLIENT_SECRET
사용하여 이 작업을 수행하세요.
게시물을 작성하려면 REDDIT_USERNAME
과 REDDIT_PASSWORD
포함해야 합니다. (걱정하지 마세요. 훔치지 않을 거예요 😜)
npm run dev
로 실행하고 검사 서버를 엽니다( http://127.0.0.1:6274/ )
- 연결이 작동하면 MCP 구성에 이것을 추가하세요(사용 중인 에이전트에 따라 Cursor 또는 Claude용).
지엑스피1
(환경 변수를 😜 이모티콘이 아닌 실제 키로 바꿔야 합니다.)
📚 크레딧
- 이 도구의 영감과 구현에 대한 공로는 Arindam200의 Python Reddit MCP Server 에 있습니다. 현재 이 저장소는 Python 구현의 Node.js 포팅 버전입니다.
- MCP 서버를 만드는 방법에 대한 튜토리얼을 제공한 사람은 Eugene Sh 입니다(이 구현의 참고 자료로 사용됨).
This server cannot be installed
local-only server
The server can only run on the client's local machine because it depends on local resources.
레딧-mcp-서버
Related MCP Servers
- Python
- PythonMIT License
- -securityAlicense-qualityMCP server that enables interaction with Reddit, allowing users to read trending posts, analyze discussions, create posts, add comments, and vote on content through Claude and Cursor.Last updated -PythonMIT License