Get the FREE Ultimate OpenClaw Setup Guide →

mcp -csdn

MCP server from Wonjoon0129/mcp-server-csdn

Installation
Run this command in your terminal to add the MCP server to Claude Code.
Run in terminal:
Command
claude mcp add --transport stdio wonjoon0129-mcp-server-csdn node server.js \
  --env CSDN_PASSWORD="CSDN account password or app-specific password" \
  --env CSDN_USERNAME="CSDN account username" \
  --env CSDN_POST_INTERVAL="optional: default interval in seconds between posts"

How to use

This MCP server provides an automated posting service for CSDN. It exposes a server (named csdn) that, when run, can accept tasks to publish posts on a CSDN account. With the included tooling, you can configure credentials via environment variables and trigger posting jobs that generate and publish content to your CSDN博客. Use the server to schedule or batch publish updates, leveraging the MCP protocol to manage jobs and results consistently with other MCP-enabled services.

How to install

Prerequisites:

  • Node.js (v14+)
  • npm (comes with Node.js)
  1. Clone the repository: git clone https://github.com/your-organization/wonjoon0129-mcp-server-csdn.git cd wonjoon0129-mcp-server-csdn

  2. Install dependencies: npm install

  3. Configure environment variables (example):

    • Create a .env file or export variables in your runtime environment: export CSDN_USERNAME="your-csdn-username" export CSDN_PASSWORD="your-csdn-password" export CSDN_POST_INTERVAL="60" # optional
  4. Run the MCP server: node server.js

    or if there is a start script

    npm start

  5. (Optional) Run with npx if the package provides a binary: npx wonjoon0129-mcp-server-csdn

Additional notes

Notes:

  • Ensure your CSDN credentials are kept secure; prefer app passwords if supported by CSDN.
  • If CSDN implements rate limits or anti-spam measures, adjust CSDN_POST_INTERVAL accordingly.
  • The environment variable CSDN_POST_INTERVAL controls how often the server attempts to post; set to 0 or omit to post on-demand only.
  • Review logs for authentication errors or posting failures and adjust permissions as needed.

Related MCP Servers

Sponsor this space

Reach thousands of developers