
节点Loc社区 MCP 服务器:论坛、能源、支付、文件、小程序工具
概览
一个用于NodeLoc社区(TypeScript)的MCP(模式上下文协议)服务器. 它让任何与MCP相容的AI客户端——克洛德桌面,Cursor,樱桃工作室,Cline,......——通过自然语言与论坛合作:浏览/张贴话题,私人信息,喜欢/书签/投球,巢居社区(节点),聊天,每日登入,红色信封,能量点奖,官方支付API,知识基础取景,以及微型节目CLI操作. ; 工具描述为英文。 与任何MCP客户端合作过Stdio. 需要( 用户获取和标题. getSetCookie ()) 。 dist/index.js是自成一体的——分发,将这个文件加一个节点运行时间;目标机上不需要npm安装. 注:节点Loc已禁用Discourne用户-Api-Key流量,因此此服务器使用auth(同为官方应用程序): POST /session login =会话在本地持续存在 = 到期后自动重登录.
概述(AI 翻译)
英语 ^
– – . . .
□ 英语
一个用于NodeLoc社区(TypeScript)的MCP(模式上下文协议)服务器. 它让任何与MCP相容的AI客户端——克洛德桌面,Cursor,樱桃工作室,Cline,…——通过自然语言与论坛合作:浏览/张贴话题,私人信息,喜欢/书签/投球,巢居社区(节点),聊天,每日登入,红色信封,能量点奖,官方支付API,知识基础取景,以及微型节目CLI操作.
** 工具**共计;工具说明为英文。 与任何MCP客户端合作过Stdio.
QQ 特征组
QQ 组 QQ 工具 QQ |-|-|-. [[T0] 帐户 *
- 通知/首相
QQ 写create_topic[T14]] QQlike_post[T16]][T17]][T18]][T19]] [T20] [T21] [T22] [T23] [T24] [T25]]]
本页由 AI 翻译,技术细节请以原文为准。
README
以下为原文 README 节选,完整内容请查看原文。
NodeLoc MCP
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 |
安装
This server does not publish a one-line install command.
Open the repository installation guide 新手?先看 mcpskill.org 教程 →配置
{
"mcpServers": {
"nodeloc": {
"command": "node",
"args": ["/absolute/path/to/dist/index.js"],
"env": {
"NODELOC_USERNAME": "your_username",
"NODELOC_PASSWORD": "your_password"
}
}
}
}