Get the FREE Ultimate OpenClaw Setup Guide →

tencent-send-article

这是一个基于 MCP (Model Context Protocol) 协议的服务器,专门用于自动化发布文章到腾讯云开发者社区。通过集成 Spring Boot 3.x 和 Spring AI,为 AI 助手提供了与腾讯云开发者社区交互的能力,实现文章的自动发布和管理。

Installation
Run this command in your terminal to add the MCP server to Claude Code.
Run in terminal:
Command
claude mcp add --transport stdio yangbuyiya-tencent-send-article-mcp-server java -Dspring.ai.mcp.server.stdio=true -Dfile.encoding=utf-8 -jar /path/to/tencent-send-article-mcp-server-app.jar --tencent.api.cookie=your_cookie_here \
  --env TENCENT_API_COOKIE="your_cookie_here"

How to use

This MCP server automates publishing articles to Tencent Cloud Developer Community by integrating Spring Boot 3.x and Spring AI. It exposes a server that can communicate with MCP clients via STDIO (and optionally SSE) and provides a programmable interface to craft and publish articles, manage metadata like categories, tags, and columns, and handle authentication through the Tencent API cookie. Use the STDIO configuration to run the server as a local process and feed requests from your MCP client. The server is designed to work with the Tencent API cookie you provide, enabling authenticated publishing flows.

How to install

Prerequisites:

  • Java 17 or newer
  • Maven 3.6 or newer
  • A Tencent Cloud Developer Community account and a valid API cookie

Installation steps:

  1. Clone the repository and navigate into the project:
git clone https://github.com/yangbuyiya/tencent-send-article-mcp-server.git
cd tencent-send-article-mcp-server
  1. Build the project with Maven:
mvn clean package
  1. Prepare authentication cookie:
  • Obtain your Tencent Cloud Developer Community cookie as described in the README and keep it available (ENV or CLI).
  1. Run the server (example):
# Ensure the jar path matches your build output
java -Dspring.ai.mcp.server.stdio=true -Dfile.encoding=utf-8 -jar target/tencent-send-article-mcp-server-app.jar --tencent.api.cookie=your_cookie_here
  1. Alternatively, configure MCP client to connect via STDIO or SSE as documented in the README (see mcp_config example).

Additional notes

Tips and common considerations:

  • Keep your Tencent API cookie secure; prefer environment variables over placing cookies in command history.
  • The MCP client can operate in STDIO mode by passing the appropriate system properties and jar path; SSE mode requires additional configuration in the YAML/JSON client config and enabling the corresponding Spring AI dependency.
  • If you switch to SSE mode, ensure the server port and endpoints (e.g., /sse, /mcp/messages) are correctly exposed in your environment.
  • When debugging, consult the logs located under data/log/tencent-send-article-mcp-server.log and enable verbose logging if needed.
  • For article customization, you typically modify article request parameters in the Tencent API request (as shown in the README) to set source type, categories, tags, cover image, and other options before publishing.

Related MCP Servers

Sponsor this space

Reach thousands of developers