awslabs.documentdb-mcp-server 1.0.0__py3-none-any.whl → 1.0.2__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.
@@ -1,13 +1,16 @@
1
1
  # Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
2
2
  #
3
- # Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance
4
- # with the License. A copy of the License is located at
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
5
6
  #
6
- # http://www.apache.org/licenses/LICENSE-2.0
7
+ # http://www.apache.org/licenses/LICENSE-2.0
7
8
  #
8
- # or in the 'license' file accompanying this file. This file is distributed on an 'AS IS' BASIS, WITHOUT WARRANTIES
9
- # OR CONDITIONS OF ANY KIND, express or implied. See the License for the specific language governing permissions
10
- # and limitations under the License.
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
11
14
 
12
15
  """AWS Labs DocumentDB MCP Server package."""
13
16
 
@@ -1,13 +1,16 @@
1
1
  # Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
2
2
  #
3
- # Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance
4
- # with the License. A copy of the License is located at
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
5
6
  #
6
- # http://www.apache.org/licenses/LICENSE-2.0
7
+ # http://www.apache.org/licenses/LICENSE-2.0
7
8
  #
8
- # or in the 'license' file accompanying this file. This file is distributed on an 'AS IS' BASIS, WITHOUT WARRANTIES
9
- # OR CONDITIONS OF ANY KIND, express or implied. See the License for the specific language governing permissions
10
- # and limitations under the License.
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
11
14
 
12
15
  """Analytic tools for DocumentDB MCP Server."""
13
16
 
@@ -1,13 +1,16 @@
1
1
  # Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
2
2
  #
3
- # Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance
4
- # with the License. A copy of the License is located at
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
5
6
  #
6
- # http://www.apache.org/licenses/LICENSE-2.0
7
+ # http://www.apache.org/licenses/LICENSE-2.0
7
8
  #
8
- # or in the 'license' file accompanying this file. This file is distributed on an 'AS IS' BASIS, WITHOUT WARRANTIES
9
- # OR CONDITIONS OF ANY KIND, express or implied. See the License for the specific language governing permissions
10
- # and limitations under the License.
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
11
14
 
12
15
  """Configuration settings for DocumentDB MCP Server."""
13
16
 
@@ -1,13 +1,16 @@
1
1
  # Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
2
2
  #
3
- # Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance
4
- # with the License. A copy of the License is located at
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
5
6
  #
6
- # http://www.apache.org/licenses/LICENSE-2.0
7
+ # http://www.apache.org/licenses/LICENSE-2.0
7
8
  #
8
- # or in the 'license' file accompanying this file. This file is distributed on an 'AS IS' BASIS, WITHOUT WARRANTIES
9
- # OR CONDITIONS OF ANY KIND, express or implied. See the License for the specific language governing permissions
10
- # and limitations under the License.
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
11
14
 
12
15
  """Connection management tools for DocumentDB MCP Server."""
13
16
 
@@ -1,13 +1,16 @@
1
1
  # Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
2
2
  #
3
- # Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance
4
- # with the License. A copy of the License is located at
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
5
6
  #
6
- # http://www.apache.org/licenses/LICENSE-2.0
7
+ # http://www.apache.org/licenses/LICENSE-2.0
7
8
  #
8
- # or in the 'license' file accompanying this file. This file is distributed on an 'AS IS' BASIS, WITHOUT WARRANTIES
9
- # OR CONDITIONS OF ANY KIND, express or implied. See the License for the specific language governing permissions
10
- # and limitations under the License.
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
11
14
 
12
15
  """Database management tools for DocumentDB MCP Server."""
13
16
 
@@ -1,13 +1,16 @@
1
1
  # Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
2
2
  #
3
- # Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance
4
- # with the License. A copy of the License is located at
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
5
6
  #
6
- # http://www.apache.org/licenses/LICENSE-2.0
7
+ # http://www.apache.org/licenses/LICENSE-2.0
7
8
  #
8
- # or in the 'license' file accompanying this file. This file is distributed on an 'AS IS' BASIS, WITHOUT WARRANTIES
9
- # OR CONDITIONS OF ANY KIND, express or implied. See the License for the specific language governing permissions
10
- # and limitations under the License.
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
11
14
 
12
15
  """Query tools for DocumentDB MCP Server."""
13
16
 
@@ -1,13 +1,16 @@
1
1
  # Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
2
2
  #
3
- # Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance
4
- # with the License. A copy of the License is located at
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
5
6
  #
6
- # http://www.apache.org/licenses/LICENSE-2.0
7
+ # http://www.apache.org/licenses/LICENSE-2.0
7
8
  #
8
- # or in the 'license' file accompanying this file. This file is distributed on an 'AS IS' BASIS, WITHOUT WARRANTIES
9
- # OR CONDITIONS OF ANY KIND, express or implied. See the License for the specific language governing permissions
10
- # and limitations under the License.
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
11
14
 
12
15
  """AWS Labs DocumentDB MCP Server implementation for querying AWS DocumentDB."""
13
16
 
@@ -1,13 +1,16 @@
1
1
  # Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
2
2
  #
3
- # Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance
4
- # with the License. A copy of the License is located at
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
5
6
  #
6
- # http://www.apache.org/licenses/LICENSE-2.0
7
+ # http://www.apache.org/licenses/LICENSE-2.0
7
8
  #
8
- # or in the 'license' file accompanying this file. This file is distributed on an 'AS IS' BASIS, WITHOUT WARRANTIES
9
- # OR CONDITIONS OF ANY KIND, express or implied. See the License for the specific language governing permissions
10
- # and limitations under the License.
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
11
14
 
12
15
  """Write tools for DocumentDB MCP Server."""
13
16
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: awslabs.documentdb-mcp-server
3
- Version: 1.0.0
3
+ Version: 1.0.2
4
4
  Summary: An AWS Labs Model Context Protocol (MCP) server for documentdb
5
5
  Project-URL: homepage, https://awslabs.github.io/mcp/
6
6
  Project-URL: docs, https://awslabs.github.io/mcp/servers/documentdb-mcp-server/
@@ -22,7 +22,7 @@ Classifier: Programming Language :: Python :: 3.12
22
22
  Classifier: Programming Language :: Python :: 3.13
23
23
  Requires-Python: >=3.10
24
24
  Requires-Dist: loguru>=0.7.0
25
- Requires-Dist: mcp[cli]>=1.6.0
25
+ Requires-Dist: mcp[cli]>=1.11.0
26
26
  Requires-Dist: pydantic>=2.10.6
27
27
  Requires-Dist: pymongo>=4.12.1
28
28
  Description-Content-Type: text/markdown
@@ -193,6 +193,34 @@ insert_result = await use_mcp_tool(
193
193
  # ValueError: "Operation not permitted: Server is configured in read-only mode. Use --allow-write flag when starting the server to enable write operations."
194
194
  ```
195
195
 
196
+ ### Configure in your MCP client
197
+
198
+ | Cursor | VS Code |
199
+ |:------:|:-------:|
200
+ | [![Install MCP Server](https://cursor.com/deeplink/mcp-install-light.svg)](https://cursor.com/install-mcp?name=awslabs.documentdb-mcp-server&config=eyJjb21tYW5kIjoidXZ4IGF3c2xhYnMuZG9jdW1lbnRkYi1tY3Atc2VydmVAbGF0ZXN0IiwiZW52Ijp7IkZBU1RNQ1BfTE9HX0xFVkVMIjoiRVJST1IiLCJBV1NfUFJPRklMRSI6InlvdXItYXdzLXByb2ZpbGUifSwiZGlzYWJsZWQiOmZhbHNlLCJhdXRvQXBwcm92ZSI6W119) | [![Install on VS Code](https://img.shields.io/badge/Install_on-VS_Code-FF9900?style=flat-square&logo=visualstudiocode&logoColor=white)](https://insiders.vscode.dev/redirect/mcp/install?name=DocumentDB%20MCP%20Server&config=%7B%22command%22%3A%22uvx%22%2C%22args%22%3A%5B%22awslabs.documentdb-mcp-server%40latest%22%5D%2C%22env%22%3A%7B%22FASTMCP_LOG_LEVEL%22%3A%22ERROR%22%2C%22AWS_PROFILE%22%3A%22your-aws-profile%22%7D%2C%22disabled%22%3Afalse%2C%22autoApprove%22%3A%5B%5D%7D) |
201
+
202
+ Configure the MCP server in your MCP client configuration (e.g., for Amazon Q Developer CLI, edit ~/.aws/amazonq/mcp.json):
203
+
204
+ ```json
205
+ {
206
+ "mcpServers": {
207
+ "awslabs.documentdb-mcp-server": {
208
+ "command": "uvx",
209
+ "args": [
210
+ "awslabs.documentdb-mcp-server@latest",
211
+ ],
212
+ "env": {
213
+ "AWS_PROFILE": "your-aws-profile",
214
+ "AWS_REGION": "us-east-1",
215
+ "FASTMCP_LOG_LEVEL": "ERROR"
216
+ },
217
+ "disabled": false,
218
+ "autoApprove": []
219
+ }
220
+ }
221
+ }
222
+ ```
223
+
196
224
  ## Prerequisites
197
225
 
198
226
  - Network access to your DocumentDB cluster
@@ -0,0 +1,14 @@
1
+ awslabs/documentdb_mcp_server/__init__.py,sha256=fT8EYYd7MMmckTbwwjj_Bw3F9S5RbfFWRP3Vevq8S-I,685
2
+ awslabs/documentdb_mcp_server/analytic_tools.py,sha256=RZwj16btvZG6iBhTI2tQlEkVOp__XzO1uDrhoxuAyOY,14196
3
+ awslabs/documentdb_mcp_server/config.py,sha256=ADAH5mPfaNOH6p_3VP1cp3_NCYOXvEw_Tj1_pMwrMQ8,1097
4
+ awslabs/documentdb_mcp_server/connection_tools.py,sha256=i9gHLiBUtt17SN-FUWVvPeEcnLI9OxdzB7QTAnRp6_c,8285
5
+ awslabs/documentdb_mcp_server/db_management_tools.py,sha256=M7fARVw14YJ05_S29dplVxTYa_fODcjh5P2Y-cJoDf0,7043
6
+ awslabs/documentdb_mcp_server/query_tools.py,sha256=2xFqnJBLjVMpbUn9L8Ons63K8Hsoimg7UGpCmsBLhoY,4719
7
+ awslabs/documentdb_mcp_server/server.py,sha256=uUeUeB5mmp_HgvqZTXcmpA6jwNoFgASTCXxvCemzoEA,4914
8
+ awslabs/documentdb_mcp_server/write_tools.py,sha256=ONf-sPhkyIJFSpumy-gKAT2ArQI7TSoQHuwvQC8_iLU,8110
9
+ awslabs_documentdb_mcp_server-1.0.2.dist-info/METADATA,sha256=IM4FTRGOy0wsjZ-bDVExGYsIJBYPrAcNMJgWLkVhpp8,8612
10
+ awslabs_documentdb_mcp_server-1.0.2.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
11
+ awslabs_documentdb_mcp_server-1.0.2.dist-info/entry_points.txt,sha256=VqOHtSIp1uNoaD3MwshRt1fj6SNqm5Xp33ynSk7htPU,92
12
+ awslabs_documentdb_mcp_server-1.0.2.dist-info/licenses/LICENSE,sha256=CeipvOyAZxBGUsFoaFqwkx54aPnIKEtm9a5u2uXxEws,10142
13
+ awslabs_documentdb_mcp_server-1.0.2.dist-info/licenses/NOTICE,sha256=NgUq7a0KPM2X1_lzFwJFWKd-_cuMJxfz2OfCt9x1Xt4,97
14
+ awslabs_documentdb_mcp_server-1.0.2.dist-info/RECORD,,
@@ -1,14 +0,0 @@
1
- awslabs/documentdb_mcp_server/__init__.py,sha256=AeBSwDSR0J2kTEnmEERBRKJd9vPctUVkl8QDA-CF_Tg,628
2
- awslabs/documentdb_mcp_server/analytic_tools.py,sha256=V2TO59EwdQbcz06CMDov6lzwAviUzPGHXelNjiHrkzQ,14139
3
- awslabs/documentdb_mcp_server/config.py,sha256=nA10pn4a6Dbc7o7Q8UuxNHt_-wZseuYNrhp8x7RFxAI,1040
4
- awslabs/documentdb_mcp_server/connection_tools.py,sha256=PpA2gfz3u1CEk4_s5tH16fml1Wg-JpfJZTjDMjbfeUI,8228
5
- awslabs/documentdb_mcp_server/db_management_tools.py,sha256=jLbCsx58qT5E90LCireFXogW_1zEF0ADsX9UfKOF0S0,6986
6
- awslabs/documentdb_mcp_server/query_tools.py,sha256=0Fa6j7Jxcouu7lcgRIQHvfNQTAVSn4bOOEnEs0RnglM,4662
7
- awslabs/documentdb_mcp_server/server.py,sha256=MUW8FT2wxitMjVwPfpxt3PkHbQ5-PguR1XU4KyorFk4,4857
8
- awslabs/documentdb_mcp_server/write_tools.py,sha256=hsooYSqOvz4wLC_QWoTDHwEwl1a0Ep-Ahri7OZRHPro,8053
9
- awslabs_documentdb_mcp_server-1.0.0.dist-info/METADATA,sha256=Dh9_dxGOSia53wMMPJSwR8tnNxLpHFo2D8KghifOeH0,7197
10
- awslabs_documentdb_mcp_server-1.0.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
11
- awslabs_documentdb_mcp_server-1.0.0.dist-info/entry_points.txt,sha256=VqOHtSIp1uNoaD3MwshRt1fj6SNqm5Xp33ynSk7htPU,92
12
- awslabs_documentdb_mcp_server-1.0.0.dist-info/licenses/LICENSE,sha256=CeipvOyAZxBGUsFoaFqwkx54aPnIKEtm9a5u2uXxEws,10142
13
- awslabs_documentdb_mcp_server-1.0.0.dist-info/licenses/NOTICE,sha256=NgUq7a0KPM2X1_lzFwJFWKd-_cuMJxfz2OfCt9x1Xt4,97
14
- awslabs_documentdb_mcp_server-1.0.0.dist-info/RECORD,,