Back to Home
CorgiBoyG icon

mcp-server-csdn

Verified Safe

by CorgiBoyG

Overview

The server automatically publishes Markdown articles to the CSDN platform, acting as a tool called by a Spring AI agent.

Installation

Run Command
docker run -d -p 8101:8101 -v $(pwd)/data:/app/data mcp-server-csdn:1.0.0

Environment Variables

  • CSDN_API_COOKIE
  • CSDN_API_CATEGORIES
  • SPRING_APPLICATION_NAME
  • ALIYUN_USERNAME
  • ALIYUN_PASSWORD

Security Notes

The example `application.yml` in the project's README and provided source code includes a very long, real-looking CSDN authentication cookie directly. This encourages users to hardcode sensitive session information in a configuration file, which is a critical security risk if committed to version control or otherwise exposed. While the `push.sh` script handles Aliyun credentials more securely via a `.local-config` file, the primary CSDN API key (cookie) is suggested to be directly in `application.yml`. The server also hardcodes numerous HTTP headers for the CSDN API, which might be brittle but not inherently a security flaw.

Similar Servers

Stats

Interest Score35
Security Score4
Cost ClassLow
Stars8
Forks0
Last Update2025-11-22

Tags

Spring AICSDNArticle PublishingMarkdownJava