MCP Server Tencent
by yangbuyiya
This is a Tencent Cloud MCP server project based on Spring Boot 3.x and Spring AI, primarily used for integrating with Tencent Cloud AI services and providing unified API call capabilities.
Last updated: N/A
What is MCP Server Tencent?
The MCP Server Tencent is a Spring Boot application that integrates with Tencent Cloud AI services. It provides a unified interface for calling Tencent Cloud AI APIs, leveraging Spring AI for simplified integration.
How to use MCP Server Tencent?
To use the server, you need to configure the environment (JDK 17+, Maven 3.6+), configure the Tencent Cloud API Cookie through command-line arguments, environment variables, or the application.yml
file, and then run the application using mvn clean package
followed by java -jar target/mcp-server-tencent-1.0.0.jar
.
Key features of MCP Server Tencent
Unified interface for Tencent Cloud AI APIs
Integration with Spring AI
Configuration via command-line arguments, environment variables, or configuration file
Cookie-based authentication
Logging to
data/log/mcp-server-tencent.log
Use cases of MCP Server Tencent
Integrating Tencent Cloud AI services into applications
Providing a standardized way to access Tencent Cloud AI APIs
Building AI-powered applications on Tencent Cloud
Simplifying AI service integration with Spring Boot
FAQ from MCP Server Tencent
How do I configure the Tencent Cloud API Cookie?
How do I configure the Tencent Cloud API Cookie?
You can configure the Cookie through command-line arguments, environment variables (TENCENT_API_COOKIE), or in the application.yml
file.
Where can I find the Cookie?
Where can I find the Cookie?
Log in to the Tencent Cloud console, open the browser's developer tools (F12), go to the Network tab, refresh the page, and find a request to view its Cookie information.
What are the environment requirements?
What are the environment requirements?
JDK 17 or higher and Maven 3.6 or higher.
Where are the logs stored?
Where are the logs stored?
Logs are stored in the data/log/mcp-server-tencent.log
file.
What dependencies are used?
What dependencies are used?
The main dependencies include spring-ai-mcp-server-spring-boot-starter, spring-web, fastjson, retrofit2, lombok, and jackson-databind.