trackmcp
Back to directory
crazyfrankie

sqlassistant

View on GitHub

A SQL automation do questions MCP Server

3 stars GoServers & Infrastructure Updated Aug 27, 2025

Documentation

SQL-Assistant

SQL-Assistant 是一个基于 MCP协议 构建的 MCP 服务.

通过将做 SQL 题目的一系列方法暴露给 AI, 再由用户对AI发出指令进行驱动,达到自动化做题的效果。

旨在简化大学生的操作, 让大学生从繁忙且无用的大学计算机教育中脱身, 花更少的时间完成任务,把时间留着学习真正的实用的技术。

对应的网站: 希冀, 且必须是其中的 SQL 作业.

下载方式

前置条件

下载

code
go install github.com/crazyfrankie/sqlassistant

等待下载,下载成功后进行下一步配置.

配置

请确认已经准备好 vscode + cline 插件.

来到 Cline 的界面, 选择右上角, 会看到如下界面.

img.png

然后选择下方 `Installed`

img.png

再选择 `Configure MCP Servers`, 填写配置, 对于本项目, 一个基础的配置可采用如下方式:

code
{
  "mcpServers": {
    "sqlassistant": {
      "command": "sqlassistant.exe",
      "autoApprove": [
        "GetQuestion",
        "SetCode",
        "StartNum",
        "SubmitCode"
      ]
    }
  }
}

如不是 Windows 平台, 去掉 `"command": "sqlassistant.exe"` 中的exe后缀

配置完毕后, ctrl + s 保存该文件即可生效.

下一步, 配置 AI 模型. 来到设置界面:

img.png

选择想要使用的大模型, 并填入个人的 API Key

仍然是该界面, 滑到最下方

img.png

点击 `Relauch Browser with Debug Mode`, 并将上方 `Use Remote browser connection` 勾选.

此时会打开一个新的 Chrome 界面, 在该界面上打开数据库做题网站, 并登录, 登录成功后即可, 后续过程中不能关闭该界面。

使用

上述配置完成之后,来到聊天界面,

img.png

发送 prompt, 如下(仅参考):

code
“我需要使用sqlassistant进行做题, 先输入起止题号,再循环执行 GetProblem、SetCode、SubmitCode,直到收到结束信息为止,其他失败原因都进行重试。”

Frequently asked questions

What is sqlassistant?

sqlassistant is A SQL automation do questions MCP Server

How do I install sqlassistant?

Open the GitHub repository and follow its README. Most MCP servers are added to your client's MCP config, then called by your agent.

Is sqlassistant open source?

Yes — it is hosted on GitHub at https://github.com/crazyfrankie/sqlassistant and has 3 stars.

Related MCP tools

Run your own MCP server? See who uses it and what to fix.

Measure it with TrackMCP