Back to MCP directory
publicPublicdnsLocal runtime

TKU Academic Systems (TronClass & TKU-ilife)

TKU-MCP项目通过MCP协议将TronClass与Claude AI连接,实现交互功能。

article

README

🚀 TKU-MCP - TKU模型上下文协议集成

TKU-MCP 项目借助模型上下文协议(MCP),将 TronClass 与 Claude AI 相连接,实现了 Claude 与 TronClass 的直接交互。不过需要注意的是,此项目仅用于演示 MCP 的使用,并不适用于生产环境或完整实现。

🚀 快速开始

在使用 TKU-MCP 前,请确保满足以下安装要求。

📦 安装指南

先决条件

  • Python 3.10 或更高版本
  • uv 包管理器

安装 uv:

brew install uv

环境变量设置

.env 文件添加到项目文件夹中,内容如下:

USERNAME="YOURSTUDENTID"
PASSWORD="YOURSSOPASSWORD"

Claude 桌面集成

进入 Claude > 设置 > 开发者 > 编辑配置 > claude_desktop_config.json,使其包含以下内容:

{
  "mcpServers": {
      "tku-mcp": {
          "command": "uv",
          "args": [
              "--directory",
              "ABSOLUTE PATH TO FOLDER",
              "run",
              "server.py"
          ]
      }
  }
}

⚠️ 重要提示

此项目仅用于演示 MCP 的使用,不适合生产环境或完整实现。

help

Runtime guide

cloud

Hosted runtime

Hosted servers run from a provider-managed environment. You usually connect the MCP client to the hosted endpoint or follow the provider's authorization flow, without keeping a local process alive

  1. Open provider connection page
  2. Authorize or copy endpoint
  3. Connect from your MCP client
terminal

Local runtime / other methods

Local servers run on your own machine or infrastructure. You normally copy the server_config into your MCP client, install the required package, and provide env variables from env_schema when needed

  1. Copy server_config
  2. Install required package
  3. Fill env variables and restart client