mcp-server

by wangle201210

8 stars
173 downloads
Not rated
GitHub

Description

# mcp-server ## text2sql ### 安装 ```bash go install github.com/wangle201210/mcp-server/cmd/text2sql@latest ``` ### 配置 ```json { "mcpServers": { "text2sql": { "descriptions": "自然语言转sql", "icons": "📁", "autoApprove": [ "all" ], "type": "stdio", "command": "text2sql", "args": []…

About

# mcp-server ## text2sql ### 安装 ```bash go install github.com/wangle201210/mcp-server/cmd/text2sql@latest ``` ### 配置 ```json { "mcpServers": { "text2sql": { "descriptions": "自然语言转sql", "icons": "📁", "autoApprove": [ "all" ], "type": "stdio", "command": "text2sql", "args": [], "env": { "link"…

Details

Author
wangle201210
GitHub stars
8
Downloads
173
Categories
Other

- text2sql: translates natural language to SQL queries
- dify retriever: retrieves documents from a Dify knowledge base
- data_transfer: transforms data between formats
- All tools use stdio transport with simple environment-based configuration

Install each tool via go install github.com/wangle201210/mcp-server/cmd/<tool>@latest, then configure it as a stdio MCP server with the required environment variables for your database or Dify endpoint.

# mcp-server ## text2sql ### 安装 ```bash go install github.com/wangle201210/mcp-server/cmd/text2sql@latest ``` ### 配置 ```json { "mcpServers": { "text2sql": { "descriptions": "自然语言转sql", "icons": "📁", "autoApprove": [ "all" ], "type": "stdio", "command": "text2sql", "args": [], "env": { "link": "root:@tcp(127.0.0.1:3306)/goadmin?charset=utf8mb4&parseTime=True&loc=Local", } } } } ``` ## dify retriever ### 安装 ```bash go install github.com/wangle201210/mcp-server/cmd/dify@latest ``` ### 配置 ```json { "mcpServers": { "dify_retriever": { "descriptions": "dify知识库检索", "icons": "📁", "autoApprove": [ "all" ], "type": "stdio", "command": "dify", "args": [], "env":{ "DIFY_DATASET_API_KEY": "dataset-***", "DIFY_ENDPOINT": "your DIFY_ENDPOINT", "DIFY_DATASET_ID": "your DIFY_DATASET_ID", "DIFY_DATASET_NAME": "deepchat 快捷键介绍" } } } } ``` ## 数据转换 ### 安装 ```bash go install github.com/wangle201210/mcp-server/cmd/dt@latest ``` ### 配置 ```json { "mcpServers": { "data_transfer": { "descriptions": "数据转换", "icons": "📁", "autoApprove": [ "all" ], "type": "stdio", "command": "dt", "args": [], "env":{ } } } } ```
No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.