mcp-server-motherduck 0.4.0__py3-none-any.whl → 0.4.1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of mcp-server-motherduck might be problematic. Click here for more details.
- mcp_server_motherduck/server.py +1 -1
- {mcp_server_motherduck-0.4.0.dist-info → mcp_server_motherduck-0.4.1.dist-info}/METADATA +79 -13
- mcp_server_motherduck-0.4.1.dist-info/RECORD +8 -0
- mcp_server_motherduck-0.4.0.dist-info/RECORD +0 -8
- {mcp_server_motherduck-0.4.0.dist-info → mcp_server_motherduck-0.4.1.dist-info}/WHEEL +0 -0
- {mcp_server_motherduck-0.4.0.dist-info → mcp_server_motherduck-0.4.1.dist-info}/entry_points.txt +0 -0
- {mcp_server_motherduck-0.4.0.dist-info → mcp_server_motherduck-0.4.1.dist-info}/licenses/LICENSE +0 -0
mcp_server_motherduck/server.py
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: mcp-server-motherduck
|
|
3
|
-
Version: 0.4.
|
|
3
|
+
Version: 0.4.1
|
|
4
4
|
Summary: A MCP server for MotherDuck and local DuckDB
|
|
5
5
|
Author-email: tdoehmen <till@motherduck.com>
|
|
6
6
|
License-File: LICENSE
|
|
7
7
|
Requires-Python: >=3.10
|
|
8
|
-
Requires-Dist: duckdb
|
|
8
|
+
Requires-Dist: duckdb==1.2.1
|
|
9
9
|
Requires-Dist: mcp>=1.3.0
|
|
10
10
|
Requires-Dist: pandas>=2.0.0
|
|
11
11
|
Requires-Dist: tabulate>=0.9.0
|
|
@@ -47,7 +47,7 @@ All interactions with both DuckDB and MotherDuck are done through writing SQL qu
|
|
|
47
47
|
|
|
48
48
|
- A MotherDuck account (sign up at [motherduck.com](https://motherduck.com))
|
|
49
49
|
- A MotherDuck access token
|
|
50
|
-
- `
|
|
50
|
+
- `uv` installed, you can install it using `pip install uv` or `brew install uv`
|
|
51
51
|
|
|
52
52
|
If you plan to use MotherDuck MCP with Claude Desktop, you will also need Claude Desktop installed.
|
|
53
53
|
|
|
@@ -57,6 +57,69 @@ If you plan to use MotherDuck MCP with Claude Desktop, you will also need Claude
|
|
|
57
57
|
2. Generate an access token via the [MotherDuck UI](https://app.motherduck.com/settings/tokens?auth_flow=signup)
|
|
58
58
|
3. Store the token securely for use in the configuration
|
|
59
59
|
|
|
60
|
+
### Usage with VS Code
|
|
61
|
+
|
|
62
|
+
[](https://insiders.vscode.dev/redirect/mcp/install?name=mcp-server-motherduck&config=%7B%22command%22%3A%22uvx%22%2C%22args%22%3A%5B%22mcp-server-motherduck%22%2C%22--db-path%22%2C%22md%3A%22%2C%22--motherduck-token%22%2C%22%24%7Binput%3Amotherduck_token%7D%22%5D%7D&inputs=%5B%7B%22type%22%3A%22promptString%22%2C%22id%22%3A%22motherduck_token%22%2C%22description%22%3A%22MotherDuck+Token%22%2C%22password%22%3Atrue%7D%5D) [](https://insiders.vscode.dev/redirect/mcp/install?name=mcp-server-motherduck&config=%7B%22command%22%3A%22uvx%22%2C%22args%22%3A%5B%22mcp-server-motherduck%22%2C%22--db-path%22%2C%22md%3A%22%2C%22--motherduck-token%22%2C%22%24%7Binput%3Amotherduck_token%7D%22%5D%7D&inputs=%5B%7B%22type%22%3A%22promptString%22%2C%22id%22%3A%22motherduck_token%22%2C%22description%22%3A%22MotherDuck+Token%22%2C%22password%22%3Atrue%7D%5D&quality=insiders)
|
|
63
|
+
1. For the quickest installation, click one of the "Install with UV" buttons at the top of this README.
|
|
64
|
+
|
|
65
|
+
### Manual Installation
|
|
66
|
+
|
|
67
|
+
Add the following JSON block to your User Settings (JSON) file in VS Code. You can do this by pressing `Ctrl + Shift + P` and typing `Preferences: Open User Settings (JSON)`.
|
|
68
|
+
|
|
69
|
+
```json
|
|
70
|
+
{
|
|
71
|
+
"mcp": {
|
|
72
|
+
"inputs": [
|
|
73
|
+
{
|
|
74
|
+
"type": "promptString",
|
|
75
|
+
"id": "motherduck_token",
|
|
76
|
+
"description": "MotherDuck Token",
|
|
77
|
+
"password": true
|
|
78
|
+
}
|
|
79
|
+
],
|
|
80
|
+
"servers": {
|
|
81
|
+
"motherduck": {
|
|
82
|
+
"command": "uvx",
|
|
83
|
+
"args": [
|
|
84
|
+
"mcp-server-motherduck",
|
|
85
|
+
"--db-path",
|
|
86
|
+
"md:",
|
|
87
|
+
"--motherduck-token",
|
|
88
|
+
"${input:motherduck_token}"
|
|
89
|
+
]
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
```
|
|
95
|
+
|
|
96
|
+
Optionally, you can add it to a file called `.vscode/mcp.json` in your workspace. This will allow you to share the configuration with others.
|
|
97
|
+
|
|
98
|
+
```json
|
|
99
|
+
{
|
|
100
|
+
"inputs": [
|
|
101
|
+
{
|
|
102
|
+
"type": "promptString",
|
|
103
|
+
"id": "motherduck_token",
|
|
104
|
+
"description": "MotherDuck Token",
|
|
105
|
+
"password": true
|
|
106
|
+
}
|
|
107
|
+
],
|
|
108
|
+
"servers": {
|
|
109
|
+
"motherduck": {
|
|
110
|
+
"command": "uvx",
|
|
111
|
+
"args": [
|
|
112
|
+
"mcp-server-motherduck",
|
|
113
|
+
"--db-path",
|
|
114
|
+
"md:",
|
|
115
|
+
"--motherduck-token",
|
|
116
|
+
"${input:motherduck_token}"
|
|
117
|
+
]
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
```
|
|
122
|
+
|
|
60
123
|
### Usage with Claude Desktop
|
|
61
124
|
|
|
62
125
|
1. Install Claude Desktop from [claude.ai/download](https://claude.ai/download) if you haven't already
|
|
@@ -67,16 +130,18 @@ If you plan to use MotherDuck MCP with Claude Desktop, you will also need Claude
|
|
|
67
130
|
- Add the following configuration to your `claude_desktop_config.json`:
|
|
68
131
|
|
|
69
132
|
```json
|
|
70
|
-
|
|
71
|
-
"
|
|
72
|
-
"
|
|
73
|
-
|
|
74
|
-
"
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
133
|
+
{
|
|
134
|
+
"mcpServers": {
|
|
135
|
+
"mcp-server-motherduck": {
|
|
136
|
+
"command": "uvx",
|
|
137
|
+
"args": [
|
|
138
|
+
"mcp-server-motherduck",
|
|
139
|
+
"--db-path",
|
|
140
|
+
"md:",
|
|
141
|
+
"--motherduck-token",
|
|
142
|
+
"<YOUR_MOTHERDUCK_TOKEN_HERE>"
|
|
143
|
+
],
|
|
144
|
+
}
|
|
80
145
|
}
|
|
81
146
|
}
|
|
82
147
|
```
|
|
@@ -143,6 +208,7 @@ And you can point your clients such as Claude Desktop, Cursor to this endpoint.
|
|
|
143
208
|
- If you encounter connection issues, verify your MotherDuck token is correct
|
|
144
209
|
- For local file access problems, ensure the `--home-dir` parameter is set correctly
|
|
145
210
|
- Check that the `uvx` command is available in your PATH
|
|
211
|
+
- If you encounter [`spawn uvx ENOENT`](https://github.com/motherduckdb/mcp-server-motherduck/issues/6) errors, try specifying the full path to `uvx` (output of `which uvx`)
|
|
146
212
|
- In version previous for v0.4.0 we used environment variables, now we use parameters
|
|
147
213
|
|
|
148
214
|
## License
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
mcp_server_motherduck/__init__.py,sha256=_HXXeC7-S1nr4oaNEQKt_TKJrdrS_1iWRt557_pX6kI,1642
|
|
2
|
+
mcp_server_motherduck/prompt.py,sha256=P7BrmhVXwDkPeSHQ3f25WMP6lpBpN2BxDzYPOQ3fxX8,56699
|
|
3
|
+
mcp_server_motherduck/server.py,sha256=gu00iJLnTNNxyC5UHA7Xt_7G_5iv32IVCi5RptjcCyk,9085
|
|
4
|
+
mcp_server_motherduck-0.4.1.dist-info/METADATA,sha256=39Ru2YTcZDBCwr4R5T0bBcbs1hYLYlsMRM4csQGk4hg,8006
|
|
5
|
+
mcp_server_motherduck-0.4.1.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
6
|
+
mcp_server_motherduck-0.4.1.dist-info/entry_points.txt,sha256=dRTgcvWJn40bz0PVuKPylK6w92cFN32lwunZOgo5j4s,69
|
|
7
|
+
mcp_server_motherduck-0.4.1.dist-info/licenses/LICENSE,sha256=Tj68w9jCiceFKTvZ3jET-008NjhozcQMXpm-fyL9WUI,1067
|
|
8
|
+
mcp_server_motherduck-0.4.1.dist-info/RECORD,,
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
mcp_server_motherduck/__init__.py,sha256=_HXXeC7-S1nr4oaNEQKt_TKJrdrS_1iWRt557_pX6kI,1642
|
|
2
|
-
mcp_server_motherduck/prompt.py,sha256=P7BrmhVXwDkPeSHQ3f25WMP6lpBpN2BxDzYPOQ3fxX8,56699
|
|
3
|
-
mcp_server_motherduck/server.py,sha256=cS1bLPEnrf3RSHklcAoktGUTxctvhH5DMp2SZ3eA1AM,9085
|
|
4
|
-
mcp_server_motherduck-0.4.0.dist-info/METADATA,sha256=766vAQwLLRwi6fNVoZKI6JpJKhGfEf1oKZWUPfjAwy0,5325
|
|
5
|
-
mcp_server_motherduck-0.4.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
6
|
-
mcp_server_motherduck-0.4.0.dist-info/entry_points.txt,sha256=dRTgcvWJn40bz0PVuKPylK6w92cFN32lwunZOgo5j4s,69
|
|
7
|
-
mcp_server_motherduck-0.4.0.dist-info/licenses/LICENSE,sha256=Tj68w9jCiceFKTvZ3jET-008NjhozcQMXpm-fyL9WUI,1067
|
|
8
|
-
mcp_server_motherduck-0.4.0.dist-info/RECORD,,
|
|
File without changes
|
{mcp_server_motherduck-0.4.0.dist-info → mcp_server_motherduck-0.4.1.dist-info}/entry_points.txt
RENAMED
|
File without changes
|
{mcp_server_motherduck-0.4.0.dist-info → mcp_server_motherduck-0.4.1.dist-info}/licenses/LICENSE
RENAMED
|
File without changes
|