PN

patrick130306/nodeloc-mcp

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

10 stars 4 forks 品質 75 トレンド 26

NodeLocコミュニティのMCPサーバー:フォーラム、エネルギー、支払い、ドキュメント、ミニプログラムツール

概要

NodeLoc コミュニティ (TypeScript) の MCP (Model Context Protocol) サーバです。 MCP 互換の AI クライアント — Claude デスクトップ、Cursor、Cherry Studio、Cline、... — 自然言語によるフォーラムと連携: 参照/投稿トピック、プライベート メッセージ、いいねs/bookmarks/polls、ネストされたコミュニティ(ノード)、チャット、毎日のチェックイン、赤い封筒、エネルギーポイント報酬、公式の支払い API、ナレッジベース検索、ミニプログラム CLI 操作。 ツールの説明は英語です。 stdio上の任意のMCPクライアントで動作します。 fetch と headers.getSetCookie() を使用する。 dist/index.js は自己完結型で、このファイルと Node のランタイムを配布し、npm をインストールする必要はありません。 注意: NodeLoc は Discourse User-Api-Key フローを無効化しているため、このサーバーは auth (正式なアプリと同じ): POST /session login → session は、ローカル → expiry の自動再ログインを主張しました.

概要(AI 翻訳)

日本語 English

お問い合わせ

##英語

NodeLoc コミュニティ (TypeScript) の MCP (Model Context Protocol) サーバです。 MCP 互換の AI クライアント — Claude デスクトップ、Cursor、Cherry Studio、Cline、… — 自然言語によるフォーラムと連携: 参照/投稿トピック、プライベート メッセージ、いいねs/bookmarks/polls、ネストされたコミュニティ(ノード)、チャット、毎日のチェックイン、赤い封筒、エネルギーポイント報酬、公式の支払い API、ナレッジベース検索、ミニプログラム CLI 操作。

42 ツール 合計; ツールの説明は英語です。 stdio上の任意のMCPクライアントで動作します。

###特徴グループ

| グループ | ツール | お問い合わせ | アカウント情報 | [[T0] | | ブラウジング | list_latest_topics list_top_topics [[T3] [list_category_topics]] [get_site_info]]] [get_user_summary] [search_users] | | お知らせ・PM | [[T9] mark_notifications_read list_private_messages] [send_private_message]] | | 執筆 | [[T13] 〔[T14] 〕 | | 相互作用 | [[T15] unlike_post bookmark_post [vote_poll] [[unvote_poll]]]] | ノード | [list_nodes list_node_topics join_node [[leave_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" } } } }