实时音视频 MCP添加福利群:解决AI开发者的「MCP实战痛点」本仓库提供了一个基于命令行界面(CLI)的模型上下文协议(MCP)服务器,它能够将腾讯云软件开发工具包(SDK)文档和腾讯云 API 资源提供给基于大语言模型(LLM)的工具。这增强了 LLM 人工智能代理理解和与腾讯云 SDK 及 API 交互的能力,有助于将腾讯云服务无缝集成到应用程序中。
Node.js(版本 >= 18)和 npm
支持 MCP 的 Cursor IDE
在本地运行腾讯云 MCP 服务器或通过 npx 将其添加到 Cursor IDE 的推荐方式:
如果您的应用在腾讯云中国站,可以使用如下方案:
npx -y @tencentcloud/sdk-mcp
如果您的应用在腾讯云国际站,可以使用如下方案:
npx -y @tencent-rtc/mcp
要使用 MCP 服务器,Cursor 必须处于代理模式(AGENT MODE),Cursor IDE 通过 JSON 配置文件发现 MCP 服务器。可全局或按项目配置腾讯云 MCP 服务器。
编辑或创建~/.cursor/mcp.json文件:
{ "mcpServers": { "tencent-rtc": { "command": "npx", "args": ["-y", "@tencentcloud/sdk-mcp"], } } }
{ "mcpServers": { "tencent-rtc": { "command": "npx", "args": ["-y", "@tencent-rtc/mcp"], } } }
在项目目录中,创建.cursor/mcp.json文件:
{ "mcpServers": { "tencent-rtc": { "command": "npx", "args": ["-y", "@tencentcloud/sdk-mcp"], } } }
{ "mcpServers": { "tencent-rtc": { "command": "npx", "args": ["-y", "@tencent-rtc/mcp"], } } }
This repository provides a Model Context Protocol (MCP) server based on the Command Line Interface (CLI). It delivers Tencent Cloud SDK documentation and API resources to Large Language Model (LLM) based tools. This enhances the ability of LLM AI agents to understand and interact with Tencent Cloud SDKs and APIs, facilitating seamless integration of Tencent Cloud services into applications.
To run the Tencent Cloud MCP server locally or add it to Cursor IDE via npx:
npx -y @tencent-rtc/mcp
To use the MCP server, Cursor must be in AGENT MODE. The Cursor IDE discovers MCP servers through a JSON configuration file. You can configure the Tencent Cloud MCP server globally or per project.
Edit or create the file ~/.cursor/mcp.json:
{ "mcpServers": { "tencent-rtc": { "command": "npx", "args": ["-y", "@tencent-rtc/mcp"], } } }
In the project directory, create .cursor/mcp.json:
{ "mcpServers": { "tencent-rtc": { "command": "npx", "args": ["-y", "@tencent-rtc/mcp"], } } }