Sponsored by Deepsite.site

RTC MCP Server

Created By
gnuhpc9 months ago
A Model Context Protocol (MCP) server implementation for managing Alibaba Cloud Realtime Computing Flink resources
Content

RTC MCP Server

A Model Context Protocol (MCP) server implementation for managing Alibaba Cloud Realtime Compute for Apache Flink resources. This server provides a standardized interface for AI models to interact with Alibaba Cloud Flink services.

Features

  • Create and manage Flink clusters
  • Create and manage Flink SQL jobs
  • Deploy and control Flink applications
  • Monitor job status and metrics
  • Create and manage savepoints
  • List and manage deployments
  • Workspace and namespace management

Prerequisites

  • JDK 17 or higher
  • Maven 3.6 or higher
  • Alibaba Cloud account with RTC (Realtime Compute) access
  • Alibaba Cloud Access Key ID and Secret

Client Configuration

To use this server as an MCP client, add the following configuration to your MCP settings file (e.g., cline_mcp_settings.json):

{
  "mcpServers": {
    "rtc-mcp-server": {
      "command": "java",
      "args": [
        "-Dtransport.mode=stdio",
        "-Dspring.main.web-application-type=none",
        "-Dspring.main.banner-mode=off",
        "-Dlogging.file.name=/path/to/rtc-mcp-server/mcpserver.log",
        "-jar",
        "/path/to/rtc-mcp-server/target/rtc-mcp-server-1.0-SNAPSHOT.jar"
      ],
      "env": {
        "ALIYUN_ACCESS_KEY_ID": "your-access-key-id",
        "ALIYUN_ACCESS_KEY_SECRET": "your-access-key-secret"
      },
      "disabled": false,
      "autoApprove": []
    }
  }
}

Replace /path/to/rtc-mcp-server with your actual server path and provide your Alibaba Cloud credentials in the environment variables.

Available Tools

The server provides the following MCP tools:

  1. Job Management

    • start_job: Start a deployed Flink job
    • stop_job: Stop a running Flink job
    • list_jobs: List all jobs in a deployment
    • delete_job: Delete a non-running job
    • get_job_diagnosis: Get job diagnosis information
  2. Deployment Management

    • create_deployment: Create a new Flink deployment
    • get_deployment_metrics: Get deployment metrics
    • create_savepoint: Create a savepoint for a job
  3. Variable Management

    • create_variable: Create a new variable
    • update_variable: Update an existing variable
    • delete_variable: Delete a variable
    • list_variables: List variables with pagination
  4. Workspace Management

    • create_workspace: Create a new workspace
    • get_workspace_info: Get workspace information
    • list_workspaces: List all workspaces
  5. Catalog Operations

    • get_catalogs: Get catalog information
    • get_deployment_databases: Get database information
    • get_tables: Get table information
    • execute_sql_statement: Execute SQL statements

Build and Run

  1. Build the project:
mvn clean package
  1. Run the server:
java -jar target/rtc-mcp-server-1.0-SNAPSHOT.jar

For development mode with stdio transport:

java -Dtransport.mode=stdio -Dspring.main.web-application-type=none -jar target/rtc-mcp-server-1.0-SNAPSHOT.jar

Server Modes

The server supports multiple transport modes:

  • webflux: Default mode using Spring WebFlux
  • stdio: Command-line mode for development and testing

Logging

Logs are configured in application.yml with the following default settings:

  • Root level: WARN
  • Application level (com.rtc): INFO
  • Log files are rotated daily with GZIP compression

Contributing

  1. Fork the repository
  2. Create a feature branch
  3. Commit your changes
  4. Create a pull request

License

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Recommend Servers
TraeBuild with Free GPT-4.1 & Claude 3.7. Fully MCP-Ready.
Zhipu Web SearchZhipu Web Search MCP Server is a search engine specifically designed for large models. It integrates four search engines, allowing users to flexibly compare and switch between them. Building upon the web crawling and ranking capabilities of traditional search engines, it enhances intent recognition capabilities, returning results more suitable for large model processing (such as webpage titles, URLs, summaries, site names, site icons, etc.). This helps AI applications achieve "dynamic knowledge acquisition" and "precise scenario adaptation" capabilities.
MiniMax MCPOfficial MiniMax Model Context Protocol (MCP) server that enables interaction with powerful Text to Speech, image generation and video generation APIs.
CursorThe AI Code Editor
EdgeOne Pages MCPAn MCP service designed for deploying HTML content to EdgeOne Pages and obtaining an accessible public URL.
TimeA Model Context Protocol server that provides time and timezone conversion capabilities. This server enables LLMs to get current time information and perform timezone conversions using IANA timezone names, with automatic system timezone detection.
Visual Studio Code - Open Source ("Code - OSS")Visual Studio Code
Amap Maps高德地图官方 MCP Server
Serper MCP ServerA Serper MCP Server
AiimagemultistyleA Model Context Protocol (MCP) server for image generation and manipulation using fal.ai's Stable Diffusion model.
BlenderBlenderMCP connects Blender to Claude AI through the Model Context Protocol (MCP), allowing Claude to directly interact with and control Blender. This integration enables prompt assisted 3D modeling, scene creation, and manipulation.
Howtocook Mcp基于Anduin2017 / HowToCook (程序员在家做饭指南)的mcp server,帮你推荐菜谱、规划膳食,解决“今天吃什么“的世纪难题; Based on Anduin2017/HowToCook (Programmer's Guide to Cooking at Home), MCP Server helps you recommend recipes, plan meals, and solve the century old problem of "what to eat today"
Jina AI MCP ToolsA Model Context Protocol (MCP) server that integrates with Jina AI Search Foundation APIs.
Playwright McpPlaywright MCP server
MCP AdvisorMCP Advisor & Installation - Use the right MCP server for your needs
Context7Context7 MCP Server -- Up-to-date code documentation for LLMs and AI code editors
DeepChatYour AI Partner on Desktop
Tavily Mcp
ChatWiseThe second fastest AI chatbot™
Baidu Map百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
WindsurfThe new purpose-built IDE to harness magic