Skip to main content

小红书自动化工具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 环境变量中 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

xhs_auto_mcp-0.1.0.tar.gz (72.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

xhs_auto_mcp-0.1.0-py3-none-any.whl (72.8 kB view details)

Uploaded Python 3

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

Hashes for xhs_auto_mcp-0.1.0.tar.gz
Algorithm Hash digest
SHA256 213eb90d9722906ac91c655ea5b86532677a51e9bd6885dd6877becdaa9e80d8
MD5 8c2d1791736ce9f64cf0f1226982876d
BLAKE2b-256 65323fe89004555dfb7d7477aba05cb467d978ad526a67b3e54187bdb76f480c

See more details on using hashes here.

Provenance

The following attestation bundles were made for xhs_auto_mcp-0.1.0.tar.gz:

Publisher: publish.yml on fancyboi999/xhs-auto-mcp

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for xhs_auto_mcp-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3df592d9395f698c93dd4cca54a7e0fec023f43a5a4510d1d8ee4bd12e9c579d
MD5 b8f08f22aed27b5bc41456cacbd97225
BLAKE2b-256 dac46aebabeb56dbe7c7fbe36f141f75ba1857e043ce485c682fb5116385cc8b

See more details on using hashes here.

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

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page