
text2sql mcp server
一个用于将文本转换为 SQL 查询的服务端应用。
Repository Info
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
Clone the repository
git clone https://github.com/mariaccc/text2sql-mcp-serverInstall dependencies
cd text2sql-mcp-server
npm installFollow the documentation
Check the repository's README.md file for specific installation and usage instructions.
Repository Details
Recommended MCP Servers
Discord MCP
Enable AI assistants to seamlessly interact with Discord servers, channels, and messages.
Knit MCP
Connect AI agents to 200+ SaaS applications and automate workflows.
Apify MCP Server
Deploy and interact with Apify actors for web scraping and data extraction.
BrowserStack MCP
BrowserStack MCP Server for automated testing across multiple browsers.
Zapier MCP
A Zapier server that provides automation capabilities for various apps.