小红书自动化工具mcp服务器,提供小红书内容发布及交互功能
Project description
自动化小红书MCP服务器
快速开始
1. 环境
- node
- python 3.12
- uv (pip install uv)
2. 安装依赖
git clone https://github.com/fancyboi999/xhs-auto-mcp.git
cd xhs-auto-mcp
uv venv
source .venv/bin/activate
uv pip install -e .
3. 获取小红书的cookie
打开web小红书
登录后,获取cookie,将cookie配置到第4步的 XHS_COOKIE 环境变量中
4. 配置mcp server
{
"mcpServers": {
"xhs-auto-mcp": {
"command": "uvx",
"args":["xhs-auto-mcp", "--transport", "stdio"]
"env": {
"XHS_COOKIE": "xxxx",
"JSON_PATH": "your_token_save_path"
}
}
}
}
免责声明
本项目仅用于学习交流,禁止用于其他用途,任何涉及商业盈利目的均不得使用,否则风险自负。
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file xhs_auto_mcp-0.1.0.tar.gz.
File metadata
- Download URL: xhs_auto_mcp-0.1.0.tar.gz
- Upload date:
- Size: 72.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
213eb90d9722906ac91c655ea5b86532677a51e9bd6885dd6877becdaa9e80d8
|
|
| MD5 |
8c2d1791736ce9f64cf0f1226982876d
|
|
| BLAKE2b-256 |
65323fe89004555dfb7d7477aba05cb467d978ad526a67b3e54187bdb76f480c
|
Provenance
The following attestation bundles were made for xhs_auto_mcp-0.1.0.tar.gz:
Publisher:
publish.yml on fancyboi999/xhs-auto-mcp
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
xhs_auto_mcp-0.1.0.tar.gz -
Subject digest:
213eb90d9722906ac91c655ea5b86532677a51e9bd6885dd6877becdaa9e80d8 - Sigstore transparency entry: 271333007
- Sigstore integration time:
-
Permalink:
fancyboi999/xhs-auto-mcp@f1d18f6534def307b12e2b6fe5b54f8fcc51c4ad -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/fancyboi999
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@f1d18f6534def307b12e2b6fe5b54f8fcc51c4ad -
Trigger Event:
release
-
Statement type:
File details
Details for the file xhs_auto_mcp-0.1.0-py3-none-any.whl.
File metadata
- Download URL: xhs_auto_mcp-0.1.0-py3-none-any.whl
- Upload date:
- Size: 72.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3df592d9395f698c93dd4cca54a7e0fec023f43a5a4510d1d8ee4bd12e9c579d
|
|
| MD5 |
b8f08f22aed27b5bc41456cacbd97225
|
|
| BLAKE2b-256 |
dac46aebabeb56dbe7c7fbe36f141f75ba1857e043ce485c682fb5116385cc8b
|
Provenance
The following attestation bundles were made for xhs_auto_mcp-0.1.0-py3-none-any.whl:
Publisher:
publish.yml on fancyboi999/xhs-auto-mcp
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
xhs_auto_mcp-0.1.0-py3-none-any.whl -
Subject digest:
3df592d9395f698c93dd4cca54a7e0fec023f43a5a4510d1d8ee4bd12e9c579d - Sigstore transparency entry: 271333023
- Sigstore integration time:
-
Permalink:
fancyboi999/xhs-auto-mcp@f1d18f6534def307b12e2b6fe5b54f8fcc51c4ad -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/fancyboi999
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@f1d18f6534def307b12e2b6fe5b54f8fcc51c4ad -
Trigger Event:
release
-
Statement type: