Tencent RTC

Tencent RTC

CLI-based MCP server exposing Tencent SDK docs and API resources to LLM tools.

4
Stars
2
Forks
0
Releases

Overview

This repository provides a CLI-based MCP server designed to expose Tencent SDK documentation and Tencent API resources to LLM-powered tools. It enables AI agents and LLMs to understand and interact with Tencent's SDKs and APIs by offering a JSON-RPC interface over standard input/output. The server retrieves official Tencent SDK documentation (HTML → Markdown) across multiple languages, including JavaScript, Java, Swift, Objective-C, and Kotlin, with API reference sections focused on configuration and calls. It also supports dedicated retrieval for Tencent TUICallKit and ChatUIKit documentation, covering their respective languages and topics: TUICallKit (JavaScript, Kotlin, Swift) with configuration and calls function; ChatUIKit (JavaScript, Kotlin, Swift) with configuration and chat function. Remote HTML articles are converted to Markdown using jsdom and turndown to ensure consistent formatting. Input validation is implemented with Zod schemas for all tool parameters to provide robust error handling. The MCP server is designed for extensibility via the Model Context Protocol SDK with McpServer and StdioServerTransport, and is intended for Cursor IDE users with MCP support to streamline documentation access during prompt generation.

Details

Owner
Tencent-RTC
Language
JavaScript
License
Updated
2025-12-07

Features

JSON-RPC over STDIN/STDOUT

Exposes Tencent tooling for interaction via JSON-RPC over standard input/output.

Tencent SDK Documentation Retrieval

Fetch official Tencent SDK docs (HTML→Markdown) across JavaScript, Java, Swift, Objective-C, and Kotlin; with API sections for configuration and calls.

TUICallKit Documentation Retrieval

Fetch TUICallKit docs (HTML→Markdown) for JavaScript, Kotlin, and Swift; topics include configuration and calls function.

ChatUIKit Documentation Retrieval

Fetch ChatUIKit docs (HTML→Markdown) for JavaScript, Kotlin, and Swift; topics include configuration and chat function.

HTML to Markdown Conversion

Convert remote HTML articles to Markdown using jsdom and turndown for consistent formatting.

Input Validation with Zod

Validate all tool parameters with Zod schemas to ensure robust error handling.

Extensible MCP Tool Definitions

Leverage MCP SDK components (McpServer and StdioServerTransport) for extensible tool definitions.

Audience

AI developersUse the MCP server to access Tencent SDK/API documentation within LLM-powered tools.
Cursor IDE usersEnable MCP in Cursor IDE to integrate Tencent docs into prompts and tooling workflows.
LLM/AI engineers building Tencent SDK appsLeverage documentation retrieval and Markdown conversion to accelerate development of Tencent SDK-based applications.

Tags

MCPModel Context ProtocolTencentSDK documentationCLIJSON-RPCHTML to MarkdownjsdomturndownZodCursor IDETUICallKitChatUIKitJavaScriptJavaSwiftObjective-CKotlin