Skip to content

Commit 257098b

Browse files
0.1.2 version
1 parent faa09a6 commit 257098b

File tree

4 files changed

+15
-8
lines changed

4 files changed

+15
-8
lines changed

README.md

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959
- 🔧 Read table contents
6060

6161
## Tool Preview
62-
- The tool ``get_data_via_natural_language`` provides a natural language interface for retrieving data from a database. This server will convert the input natural language into SQL using a built-in model and call the database to return the query results.
62+
- The tool ``get_data`` provides a natural language interface for retrieving data from a database. This server will convert the input natural language into SQL using a built-in model and call the database to return the query results.
6363

6464
- The ``mysql://{table_name}`` resource allows obtaining a portion of sample data from the database for model reference when a specific table_name is specified.
6565
- The ``mysql://`` resource will list the names of the current databases
@@ -200,7 +200,7 @@ database:
200200
201201
## Launch
202202
### Claude desktop
203-
Add this in your claude desktop config file
203+
Add this in your claude desktop config file, ref <a href="https://github.com/XGenerationLab/xiyan_mcp_server/blob/main/imgs/claude_desktop.jpg">claude desktop config example</a>
204204
```json
205205
{
206206
"mcpServers": {
@@ -221,15 +221,22 @@ Add this in your claude desktop config file
221221
prepare the config like [Claude desktop](#claude-desktop)
222222

223223
### Goose
224-
Add following command in the config.
224+
Add following command in the config, ref <a href="https://github.com/XGenerationLab/xiyan_mcp_server/blob/main/imgs/goose.jpg">goose config example</a>
225225

226226
```yaml
227227
env YML=path/to/yml python -m xiyan_mcp_server
228228
```
229-
230229
### Cursor
231-
use the same command like [Goose](#goose)
230+
Use the same command like [Goose](#goose) .
231+
232232

233+
### Witsy
234+
Add following in command.
235+
```yaml
236+
python -m xiyan_mcp_server
237+
```
238+
Add an env: key is YML and value is the path to your yml file.
239+
Ref <a href="https://github.com/XGenerationLab/xiyan_mcp_server/blob/main/imgs/witsy.jpg">witsy config example</a>
233240
## It does not work!
234241
contact us:
235242
<a href="https://github.com/XGenerationLab/xiyan_mcp_server/blob/main/imgs/dinggroup_out.png">Ding Group钉钉群</a>|

README_zh.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
- 🔧 读取表内容
5757

5858
## 工具预览
59-
- 工具 ``get_data_via_natural_language`` 提供了一个自然语言接口,用于从数据库中检索数据。该服务器将输入的自然语言转换为 SQL,使用内置模型并调用数据库返回查询结果。
59+
- 工具 ``get_data`` 提供了一个自然语言接口,用于从数据库中检索数据。该服务器将输入的自然语言转换为 SQL,使用内置模型并调用数据库返回查询结果。
6060

6161
- ``mysql://{table_name}`` 资源允许在指定特定表名时,从数据库获取部分示例数据以供模型参考。
6262
- ``mysql://`` 资源将列出当前数据库的名称。

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "xiyan_mcp_server"
3-
version = "0.1.1"
3+
version = "0.1.2"
44
description = "A Model Context Protocol (MCP) server that utilizes XiyanSQL with databases. This server enables AI assistants to list tables, read data, and execute natural language queries"
55
readme = "README.md"
66
requires-python = ">=3.11"

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
setup(
44
name='xiyan_mcp_server', # 包的名字
5-
version='0.1.1', # 版本号
5+
version='0.1.2', # 版本号
66
packages=find_packages(), # 自动找到项目中的包
77
install_requires=[ # 必要的包依赖
88
# 'numpy', # 示例:若有依赖包,将其列在此

0 commit comments

Comments
 (0)