PN

patrick130306/nodeloc-mcp

Developer tools

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기

10 stars 4 forks 품질 75 트렌드 26

NodeLoc 커뮤니티의 MCP 서버: 포럼, 에너지, 지불, docs, miniprogram 도구

개요

MCP (Model Context Protocol) NodeLoc 커뮤니티 서버 (TypeScript). 그것은 MCP 호환 AI 클라이언트를 할 수 - Claude Desktop, Cursor, Cherry Studio, Cline, ... - 자연 언어를 통해 포럼과 작업 : 검색 / 게시물 주제, 개인 메시지, likes/bookmarks/polls, 둥지 커뮤니티 (노드), 채팅, 매일 체크 인, 빨간색 봉투, 에너지 포인트 보상, 공식 지불 API, 지식 기반 조회 및 미니 프로그램 CLI 운영. 총; 도구 설명은 영어로되어 있습니다. stdio에 어떤 MCP 클라이언트도 사용. Requires ( fetch와 headers.getSetCookie를 사용). dist/index.js는 자체 유지 — 배포, 이 하나의 파일 플러스 노드 실행 시간; 대상 기계에 npm 설치 필요 없음. 참고: NodeLoc은 Discourse User-Api-Key Flow를 사용하지 않고, 이 서버는 auth (공식 앱과 동일)를 사용합니다. POST /session login → 세션 persisted locally → expiry의 자동 재 로그인.

개요(AI 번역)

Korean · 한국어


한국어

MCP (Model Context Protocol) NodeLoc 커뮤니티 서버 (TypeScript). 그것은 MCP 호환 AI 클라이언트를 할 수 - Claude Desktop, Cursor, Cherry Studio, Cline, … - 자연 언어를 통해 포럼과 작업 : 검색 / 게시물 주제, 개인 메시지, likes/bookmarks/polls, 둥지 커뮤니티 (노드), 채팅, 매일 체크 인, 빨간색 봉투, 에너지 포인트 보상, 공식 지불 API, 지식 기반 조회 및 미니 프로그램 CLI 운영.

**42 도구 ** 총; 도구 설명은 영어로되어 있습니다. stdio에 어떤 MCP 클라이언트도 사용.

특징 그룹

| 그룹 | 도구 | |—||| | 계정 | [T0] | | 검색 | [T1] list_top_topics] read_topic [T4]] get_site_info get_user_profile get_user_summary] search_users | 알림 / PM | [T9]] mark_notifications_read [T11]] send_private_message | | 글쓰기 | [T13] reply_to_topic | | 상호 작용 | [T15] unlike_post] bookmark_post [T18]] unvote_poll | | 노드 | list_nodes list_node_topics] [T22]] [T23]] create_node check_node_slug

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.

README

원문 README의 일부입니다. 원문 보기.

NodeLoc MCP

English · 中文


English

An MCP (Model Context Protocol) server for the NodeLoc community (TypeScript). It lets any MCP-compatible AI client — Claude Desktop, Cursor, Cherry Studio, Cline, … — work with the forum through natural language: browse/post topics, private messages, likes/bookmarks/polls, nested communities (nodes), chat, daily check-in, red envelopes, energy-point rewards, the official payment API, knowledge-base lookup, and miniprogram CLI operations.

42 tools in total; tool descriptions are in English. Works with any MCP client over stdio.

Feature groups

Group Tools
Account get_current_user
Browsing list_latest_topics list_top_topics read_topic list_category_topics get_site_info get_user_profile get_user_summary search_users
Notifications / PM list_notifications mark_notifications_read list_private_messages send_private_message
Writing create_topic reply_to_topic
Interaction like_post unlike_post bookmark_post vote_poll unvote_poll
Nodes list_nodes list_node_topics join_node leave_node create_node check_node_slug
Chat get_chat_messages get_chat_thread_messages send_chat_message mark_chat_read
Energy checkin create_red_envelope give_reward get_points_history get_points_scores
Payment (official API) payment_create payment_query payment_transfer
Knowledge base docs_list_pages docs_get_page docs_search
Miniprograms apps_cli

Requirements & build

Requires Node.js ≥ 20 (uses fetch and headers.getSetCookie()).

npm install
npm run build        # bundles everything into a single dist/index.js (~760 KB)

dist/index.js is self-contained — to distribute, ship this one file plus a Node runtime; no npm install needed on the target machine.

Configuration (environment variables)

Variable Required Description
NODELOC_USERNAME ✅ Forum username or email
NODELOC_PASSWORD ✅ Forum password (only used to obtain a cookie session; the session is stored in a local file)
NODELOC_BASE_URL Default https://www.nodeloc.com
NODELOC_TIMEZONE Default Asia/Shanghai
NODELOC_LOCALE Default zh-CN (used by the check-in request header)
NODELOC_SECOND_FACTOR_METHOD 2FA: 0 none / 1 SMS / 2 TOTP, default 0
NODELOC_PAYMENT_ID payment tools Payment app ID (pay_xxx), apply at payment/applications (TL1+, admin approval)
NODELOC_PAYMENT_TOKEN payment tools Payment app token (tk_xxx)
NODELOC_APPS_CLI apps tools nodeloc-apps CLI path, defaults to PATH lookup
NODELOC_DATA_DIR Session/docs cache directory, default ~/.nodeloc-mcp
GitHub에서 전체 README 보기

설치

This server does not publish a one-line install command.

Open the repository installation guide MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →

설정

{ "mcpServers": { "nodeloc": { "command": "node", "args": ["/absolute/path/to/dist/index.js"], "env": { "NODELOC_USERNAME": "your_username", "NODELOC_PASSWORD": "your_password" } } } }