mariaccc
MCP Servermariacccpublic

text2sql mcp server

一个用于将文本转换为 SQL 查询的服务端应用。

Repository Info

8
Stars
1
Forks
8
Watchers
0
Issues
Java
Language
-
License

About This Server

一个用于将文本转换为 SQL 查询的服务端应用。

Model Context Protocol (MCP) - This server can be integrated with AI applications to provide additional context and capabilities, enabling enhanced AI interactions and functionality.

Documentation

text2sql-mcp-server

使用

服务启动

修改application.yml,直接运行

  datasource:
    url: ${SPRING_DATASOURCE_URL:jdbc:mysql://127.0.0.1:3306/mysql?characterEncoding=UTF-8&useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true}
    username: ${SPRING_DATASOURCE_USERNAME:root}
    password: ${SPRING_DATASOURCE_PASSWORD:password}

或者修改docker-compose.yaml,使用docker compose up --build -d

environment:
  SPRING_DATASOURCE_URL: "jdbc:mysql://127.0.0.1:3306/mysql?characterEncoding=UTF-8&useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true"
  SPRING_DATASOURCE_USERNAME: "root"
  SPRING_DATASOURCE_PASSWORD: "password"

客户端配置

cherry-studio配置

{
  "name": "text2sql-mcp-server",
  "type": "sse",
  "description": "",
  "isActive": true,
  "baseUrl": "http://localhost:8080/sse"
}

提示词模板

数据库:xxx 查询xxx

Quick Start

1

Clone the repository

git clone https://github.com/mariaccc/text2sql-mcp-server
2

Install dependencies

cd text2sql-mcp-server
npm install
3

Follow the documentation

Check the repository's README.md file for specific installation and usage instructions.

Repository Details

Ownermariaccc
Repotext2sql-mcp-server
LanguageJava
License-
Last fetched8/10/2025

Recommended MCP Servers

💬

Discord MCP

Enable AI assistants to seamlessly interact with Discord servers, channels, and messages.

integrationsdiscordchat
🔗

Knit MCP

Connect AI agents to 200+ SaaS applications and automate workflows.

integrationsautomationsaas
🕷️

Apify MCP Server

Deploy and interact with Apify actors for web scraping and data extraction.

apifycrawlerdata
🌐

BrowserStack MCP

BrowserStack MCP Server for automated testing across multiple browsers.

testingqabrowsers

Zapier MCP

A Zapier server that provides automation capabilities for various apps.

zapierautomation