awslabs.dynamodb-mcp-server 2.0.10__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.
- awslabs/__init__.py +17 -0
- awslabs/dynamodb_mcp_server/__init__.py +17 -0
- awslabs/dynamodb_mcp_server/cdk_generator/__init__.py +19 -0
- awslabs/dynamodb_mcp_server/cdk_generator/generator.py +276 -0
- awslabs/dynamodb_mcp_server/cdk_generator/models.py +521 -0
- awslabs/dynamodb_mcp_server/cdk_generator/templates/README.md +57 -0
- awslabs/dynamodb_mcp_server/cdk_generator/templates/stack.ts.j2 +70 -0
- awslabs/dynamodb_mcp_server/common.py +94 -0
- awslabs/dynamodb_mcp_server/db_analyzer/__init__.py +30 -0
- awslabs/dynamodb_mcp_server/db_analyzer/analyzer_utils.py +394 -0
- awslabs/dynamodb_mcp_server/db_analyzer/base_plugin.py +355 -0
- awslabs/dynamodb_mcp_server/db_analyzer/mysql.py +450 -0
- awslabs/dynamodb_mcp_server/db_analyzer/plugin_registry.py +73 -0
- awslabs/dynamodb_mcp_server/db_analyzer/postgresql.py +215 -0
- awslabs/dynamodb_mcp_server/db_analyzer/sqlserver.py +255 -0
- awslabs/dynamodb_mcp_server/markdown_formatter.py +513 -0
- awslabs/dynamodb_mcp_server/model_validation_utils.py +845 -0
- awslabs/dynamodb_mcp_server/prompts/dynamodb_architect.md +851 -0
- awslabs/dynamodb_mcp_server/prompts/json_generation_guide.md +185 -0
- awslabs/dynamodb_mcp_server/prompts/transform_model_validation_result.md +168 -0
- awslabs/dynamodb_mcp_server/server.py +524 -0
- awslabs_dynamodb_mcp_server-2.0.10.dist-info/METADATA +306 -0
- awslabs_dynamodb_mcp_server-2.0.10.dist-info/RECORD +27 -0
- awslabs_dynamodb_mcp_server-2.0.10.dist-info/WHEEL +4 -0
- awslabs_dynamodb_mcp_server-2.0.10.dist-info/entry_points.txt +2 -0
- awslabs_dynamodb_mcp_server-2.0.10.dist-info/licenses/LICENSE +175 -0
- awslabs_dynamodb_mcp_server-2.0.10.dist-info/licenses/NOTICE +2 -0
|
@@ -0,0 +1,306 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: awslabs.dynamodb-mcp-server
|
|
3
|
+
Version: 2.0.10
|
|
4
|
+
Summary: The official MCP Server for interacting with AWS DynamoDB
|
|
5
|
+
Project-URL: homepage, https://awslabs.github.io/mcp/
|
|
6
|
+
Project-URL: docs, https://awslabs.github.io/mcp/servers/dynamodb-mcp-server/
|
|
7
|
+
Project-URL: documentation, https://awslabs.github.io/mcp/servers/dynamodb-mcp-server/
|
|
8
|
+
Project-URL: repository, https://github.com/awslabs/mcp.git
|
|
9
|
+
Project-URL: changelog, https://github.com/awslabs/mcp/blob/main/src/dynamodb-mcp-server/CHANGELOG.md
|
|
10
|
+
Author: Amazon Web Services
|
|
11
|
+
Author-email: AWSLabs MCP <203918161+awslabs-mcp@users.noreply.github.com>, Erben Mo <moerben@amazon.com>
|
|
12
|
+
License: Apache-2.0
|
|
13
|
+
License-File: LICENSE
|
|
14
|
+
License-File: NOTICE
|
|
15
|
+
Classifier: License :: OSI Approved :: Apache Software License
|
|
16
|
+
Classifier: Operating System :: OS Independent
|
|
17
|
+
Classifier: Programming Language :: Python
|
|
18
|
+
Classifier: Programming Language :: Python :: 3
|
|
19
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
20
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
21
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
22
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
23
|
+
Requires-Python: >=3.10
|
|
24
|
+
Requires-Dist: awslabs-aws-api-mcp-server==1.0.2
|
|
25
|
+
Requires-Dist: awslabs-mysql-mcp-server==1.0.9
|
|
26
|
+
Requires-Dist: boto3>=1.40.5
|
|
27
|
+
Requires-Dist: dspy-ai>=2.6.27
|
|
28
|
+
Requires-Dist: jinja2>=3.1.0
|
|
29
|
+
Requires-Dist: loguru==0.7.3
|
|
30
|
+
Requires-Dist: mcp[cli]==1.23.0
|
|
31
|
+
Requires-Dist: psutil==7.1.1
|
|
32
|
+
Requires-Dist: pydantic==2.11.7
|
|
33
|
+
Requires-Dist: strands-agents>=1.5.0
|
|
34
|
+
Requires-Dist: typing-extensions==4.14.1
|
|
35
|
+
Description-Content-Type: text/markdown
|
|
36
|
+
|
|
37
|
+
# AWS DynamoDB MCP Server
|
|
38
|
+
|
|
39
|
+
The official developer experience MCP Server for Amazon DynamoDB. This server provides DynamoDB expert design guidance and data modeling assistance.
|
|
40
|
+
|
|
41
|
+
## Available Tools
|
|
42
|
+
|
|
43
|
+
The DynamoDB MCP server provides three tools for data modeling and validation:
|
|
44
|
+
|
|
45
|
+
- `dynamodb_data_modeling` - Retrieves the complete DynamoDB Data Modeling Expert prompt with enterprise-level design patterns, cost optimization strategies, and multi-table design philosophy. Guides through requirements gathering, access pattern analysis, and schema design.
|
|
46
|
+
|
|
47
|
+
**Example invocation:** "Design a data model for my e-commerce application using the DynamoDB data modeling MCP server"
|
|
48
|
+
|
|
49
|
+
- `dynamodb_data_model_validation` - Validates your DynamoDB data model by loading dynamodb_data_model.json, setting up DynamoDB Local, creating tables with test data, and executing all defined access patterns. Saves detailed validation results to dynamodb_model_validation.json.
|
|
50
|
+
|
|
51
|
+
**Example invocation:** "Validate my DynamoDB data model"
|
|
52
|
+
|
|
53
|
+
- `source_db_analyzer` - Analyzes existing MySQL databases to extract schema structure, access patterns from Performance Schema, and generates timestamped analysis files for use with dynamodb_data_modeling. Supports both RDS Data API-based access and connection-based access.
|
|
54
|
+
|
|
55
|
+
**Example invocation:** "Analyze my MySQL database and help me design a DynamoDB data model"
|
|
56
|
+
|
|
57
|
+
- `generate_resources` - Generates various resources from the DynamoDB data model JSON file (dynamodb_data_model.json). Currently only the `cdk` resource type is supported. Passing `cdk` as `resource_type` parameter generates a CDK app to deploy DynamoDB tables. The CDK app reads the dynamodb_data_model.json to create tables with proper configuration.
|
|
58
|
+
|
|
59
|
+
**Example invocation:** "Generate the resources to deploy my DynamoDB data model using CDK"
|
|
60
|
+
|
|
61
|
+
## Prerequisites
|
|
62
|
+
|
|
63
|
+
1. Install `uv` from [Astral](https://docs.astral.sh/uv/getting-started/installation/) or the [GitHub README](https://github.com/astral-sh/uv#installation)
|
|
64
|
+
2. Install Python using `uv python install 3.10`
|
|
65
|
+
3. Set up AWS credentials with access to AWS services
|
|
66
|
+
|
|
67
|
+
## Installation
|
|
68
|
+
|
|
69
|
+
| Kiro | Cursor | VS Code |
|
|
70
|
+
|:------:|:-------:|:-------:|
|
|
71
|
+
| [](https://kiro.dev/launch/mcp/add?name=awslabs.dynamodb-mcp-server&config=%7B%22command%22%3A%22uvx%22%2C%22args%22%3A%5B%22awslabs.dynamodb-mcp-server%40latest%22%5D%2C%22env%22%3A%7B%22DDB-MCP-READONLY%22%3A%22true%22%2C%22AWS_PROFILE%22%3A%22default%22%2C%22AWS_REGION%22%3A%22us-west-2%22%2C%22FASTMCP_LOG_LEVEL%22%3A%22ERROR%22%7D%7D)| [](https://cursor.com/en/install-mcp?name=awslabs.dynamodb-mcp-server&config=JTdCJTIyY29tbWFuZCUyMiUzQSUyMnV2eCUyMGF3c2xhYnMuZHluYW1vZGItbWNwLXNlcnZlciU0MGxhdGVzdCUyMiUyQyUyMmVudiUyMiUzQSU3QiUyMkFXU19QUk9GSUxFJTIyJTNBJTIyZGVmYXVsdCUyMiUyQyUyMkFXU19SRUdJT04lMjIlM0ElMjJ1cy13ZXN0LTIlMjIlMkMlMjJGQVNUTUNQX0xPR19MRVZFTCUyMiUzQSUyMkVSUk9SJTIyJTdEJTJDJTIyZGlzYWJsZWQlMjIlM0FmYWxzZSUyQyUyMmF1dG9BcHByb3ZlJTIyJTNBJTVCJTVEJTdE)| [](https://insiders.vscode.dev/redirect/mcp/install?name=DynamoDB%20MCP%20Server&config=%7B%22command%22%3A%22uvx%22%2C%22args%22%3A%5B%22awslabs.dynamodb-mcp-server%40latest%22%5D%2C%22env%22%3A%7B%22AWS_PROFILE%22%3A%22default%22%2C%22AWS_REGION%22%3A%22us-west-2%22%2C%22FASTMCP_LOG_LEVEL%22%3A%22ERROR%22%7D%2C%22disabled%22%3Afalse%2C%22autoApprove%22%3A%5B%5D%7D) |
|
|
72
|
+
|
|
73
|
+
> **Note:** The install buttons above configure `AWS_REGION` to `us-west-2` by default. Update this value in your MCP configuration after installation if you need a different region.
|
|
74
|
+
|
|
75
|
+
Add the MCP server to your configuration file (for [Kiro](https://kiro.dev/docs/mcp/) add to `.kiro/settings/mcp.json` - see [configuration path](https://kiro.dev/docs/cli/mcp/configuration/#mcp-server-loading-priority)):
|
|
76
|
+
|
|
77
|
+
```json
|
|
78
|
+
{
|
|
79
|
+
"mcpServers": {
|
|
80
|
+
"awslabs.dynamodb-mcp-server": {
|
|
81
|
+
"command": "uvx",
|
|
82
|
+
"args": ["awslabs.dynamodb-mcp-server@latest"],
|
|
83
|
+
"env": {
|
|
84
|
+
"FASTMCP_LOG_LEVEL": "ERROR"
|
|
85
|
+
},
|
|
86
|
+
"disabled": false,
|
|
87
|
+
"autoApprove": []
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
```
|
|
92
|
+
|
|
93
|
+
### Windows Installation
|
|
94
|
+
|
|
95
|
+
For Windows users, the MCP server configuration format is slightly different:
|
|
96
|
+
|
|
97
|
+
```json
|
|
98
|
+
{
|
|
99
|
+
"mcpServers": {
|
|
100
|
+
"awslabs.dynamodb-mcp-server": {
|
|
101
|
+
"disabled": false,
|
|
102
|
+
"timeout": 60,
|
|
103
|
+
"type": "stdio",
|
|
104
|
+
"command": "uv",
|
|
105
|
+
"args": [
|
|
106
|
+
"tool",
|
|
107
|
+
"run",
|
|
108
|
+
"--from",
|
|
109
|
+
"awslabs.dynamodb-mcp-server@latest",
|
|
110
|
+
"awslabs.dynamodb-mcp-server.exe"
|
|
111
|
+
],
|
|
112
|
+
"env": {
|
|
113
|
+
"FASTMCP_LOG_LEVEL": "ERROR"
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
```
|
|
119
|
+
|
|
120
|
+
### Docker Installation
|
|
121
|
+
|
|
122
|
+
After a successful `docker build -t awslabs/dynamodb-mcp-server .`:
|
|
123
|
+
|
|
124
|
+
```json
|
|
125
|
+
{
|
|
126
|
+
"mcpServers": {
|
|
127
|
+
"awslabs.dynamodb-mcp-server": {
|
|
128
|
+
"command": "docker",
|
|
129
|
+
"args": [
|
|
130
|
+
"run",
|
|
131
|
+
"--rm",
|
|
132
|
+
"--interactive",
|
|
133
|
+
"--env",
|
|
134
|
+
"FASTMCP_LOG_LEVEL=ERROR",
|
|
135
|
+
"awslabs/dynamodb-mcp-server:latest"
|
|
136
|
+
],
|
|
137
|
+
"env": {},
|
|
138
|
+
"disabled": false,
|
|
139
|
+
"autoApprove": []
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
```
|
|
144
|
+
|
|
145
|
+
## Data Modeling
|
|
146
|
+
|
|
147
|
+
### Data Modeling in Natural Language
|
|
148
|
+
|
|
149
|
+
Use the `dynamodb_data_modeling` tool to design DynamoDB data models through natural language conversation with your AI agent. Simply ask: "use my DynamoDB MCP to help me design a DynamoDB data model."
|
|
150
|
+
|
|
151
|
+
The tool provides a structured workflow that translates application requirements into DynamoDB data models:
|
|
152
|
+
|
|
153
|
+
**Requirements Gathering Phase:**
|
|
154
|
+
- Captures access patterns through natural language conversation
|
|
155
|
+
- Documents entities, relationships, and read/write patterns
|
|
156
|
+
- Records estimated requests per second (RPS) for each pattern
|
|
157
|
+
- Creates `dynamodb_requirements.md` file that updates in real-time
|
|
158
|
+
- Identifies patterns better suited for other AWS services (OpenSearch for text search, Redshift for analytics)
|
|
159
|
+
- Flags special design considerations (e.g., massive fan-out patterns requiring DynamoDB Streams and Lambda)
|
|
160
|
+
|
|
161
|
+
**Design Phase:**
|
|
162
|
+
- Generates optimized table and index designs
|
|
163
|
+
- Creates `dynamodb_data_model.md` with detailed design rationale
|
|
164
|
+
- Provides estimated monthly costs
|
|
165
|
+
- Documents how each access pattern is supported
|
|
166
|
+
- Includes optimization recommendations for scale and performance
|
|
167
|
+
|
|
168
|
+
The tool is backed by expert-engineered context that helps reasoning models guide you through advanced modeling techniques. Best results are achieved with reasoning-capable models such as Anthropic Claude 4/4.5 Sonnet, OpenAI o3, and Google Gemini 2.5.
|
|
169
|
+
|
|
170
|
+
### Data Model Validation
|
|
171
|
+
|
|
172
|
+
**Prerequisites for Data Model Validation:**
|
|
173
|
+
To use the data model validation tool, you need one of the following:
|
|
174
|
+
- **Container Runtime**: Docker, Podman, Finch, or nerdctl with a running daemon
|
|
175
|
+
- **Java Runtime**: Java JRE version 17 or newer (set `JAVA_HOME` or ensure `java` is in your system PATH)
|
|
176
|
+
|
|
177
|
+
After completing your data model design, use the `dynamodb_data_model_validation` tool to automatically test your data model against DynamoDB Local. The validation tool closes the loop between generation and execution by creating an iterative validation cycle.
|
|
178
|
+
|
|
179
|
+
**How It Works:**
|
|
180
|
+
|
|
181
|
+
The tool automates the traditional manual validation process:
|
|
182
|
+
|
|
183
|
+
1. **Setup**: Spins up DynamoDB Local environment (Docker/Podman/Finch/nerdctl or Java fallback)
|
|
184
|
+
2. **Generate Test Specification**: Creates `dynamodb_data_model.json` listing tables, sample data, and access patterns to test
|
|
185
|
+
3. **Deploy Schema**: Creates tables, indexes, and inserts sample data locally
|
|
186
|
+
4. **Execute Tests**: Runs all read and write operations defined in your access patterns
|
|
187
|
+
5. **Validate Results**: Checks that each access pattern behaves correctly and efficiently
|
|
188
|
+
6. **Iterative Refinement**: If validation fails (e.g., query returns incomplete results due to misaligned partition key), the tool records the issue, and regenerates the affected schema and rerun tests until all patterns pass
|
|
189
|
+
|
|
190
|
+
**Validation Output:**
|
|
191
|
+
|
|
192
|
+
- `dynamodb_model_validation.json`: Detailed validation results with pattern responses
|
|
193
|
+
- `validation_result.md`: Summary of validation process with pass/fail status for each access pattern
|
|
194
|
+
- Identifies issues like incorrect key structures, missing indexes, or inefficient query patterns
|
|
195
|
+
|
|
196
|
+
### Source Database Analysis
|
|
197
|
+
|
|
198
|
+
The `source_db_analyzer` tool extracts schema and access patterns from your existing database to help design your DynamoDB model. This is useful when migrating from relational databases.
|
|
199
|
+
|
|
200
|
+
The tool supports two connection methods for MySQL:
|
|
201
|
+
- **RDS Data API-based access**: Serverless connection using cluster ARN
|
|
202
|
+
- **Connection-based access**: Traditional connection using hostname/port
|
|
203
|
+
|
|
204
|
+
**Supported Databases:**
|
|
205
|
+
- MySQL / Aurora MySQL
|
|
206
|
+
- PostgreSQL
|
|
207
|
+
- SQL Server
|
|
208
|
+
|
|
209
|
+
**Execution Modes:**
|
|
210
|
+
- **Self-Service Mode**: Generate SQL queries, run them yourself, provide results (MYSQL, PSQL, MSSQL)
|
|
211
|
+
- **Managed Mode**: Direct connection via AWS RDS Data API (MySQL only)
|
|
212
|
+
|
|
213
|
+
We recommend running this tool against a non-production database instance.
|
|
214
|
+
|
|
215
|
+
### Self-Service Mode (MYSQL, PSQL, MSSQL)
|
|
216
|
+
|
|
217
|
+
Self-service mode allows you to analyze any database without AWS connectivity:
|
|
218
|
+
|
|
219
|
+
1. **Generate Queries**: Tool writes SQL queries (based on selected database) to a file
|
|
220
|
+
2. **Run Queries**: You execute queries against your database
|
|
221
|
+
3. **Provide Results**: Tool parses results and generates analysis
|
|
222
|
+
|
|
223
|
+
### Managed Mode (MYSQL, PSQL, MSSQL)
|
|
224
|
+
|
|
225
|
+
Managed mode allow you to connect tool, to AWS RDS Data API, to analyzes existing MySQL/Aurora databases to extract schema and access patterns for DynamoDB modeling.
|
|
226
|
+
|
|
227
|
+
#### Prerequisites for MySQL Integration (Managed Mode)
|
|
228
|
+
|
|
229
|
+
**For RDS Data API-based access:**
|
|
230
|
+
1. MySQL cluster with RDS Data API enabled
|
|
231
|
+
2. Database credentials stored in AWS Secrets Manager
|
|
232
|
+
3. AWS credentials with permissions to access RDS Data API and Secrets Manager
|
|
233
|
+
|
|
234
|
+
**For Connection-based access:**
|
|
235
|
+
1. MySQL server accessible from your environment
|
|
236
|
+
2. Database credentials stored in AWS Secrets Manager
|
|
237
|
+
3. AWS credentials with permissions to access Secrets Manager
|
|
238
|
+
|
|
239
|
+
**For both connection methods:**
|
|
240
|
+
4. Enable Performance Schema for access pattern analysis (optional but recommended):
|
|
241
|
+
- Set `performance_schema` parameter to 1 in your DB parameter group
|
|
242
|
+
- Reboot the DB instance after changes
|
|
243
|
+
- Verify with: `SHOW GLOBAL VARIABLES LIKE '%performance_schema'`
|
|
244
|
+
- Consider tuning:
|
|
245
|
+
- `performance_schema_digests_size` - Maximum rows in events_statements_summary_by_digest
|
|
246
|
+
- `performance_schema_max_digest_length` - Maximum byte length per statement digest (default: 1024)
|
|
247
|
+
- Without Performance Schema, analysis is based on information schema only
|
|
248
|
+
|
|
249
|
+
#### MySQL Environment Variables
|
|
250
|
+
|
|
251
|
+
Add these environment variables to enable MySQL integration:
|
|
252
|
+
|
|
253
|
+
**For RDS Data API-based access:**
|
|
254
|
+
- `MYSQL_CLUSTER_ARN`: MySQL cluster ARN
|
|
255
|
+
- `MYSQL_SECRET_ARN`: ARN of secret containing database credentials
|
|
256
|
+
- `MYSQL_DATABASE`: Database name to analyze
|
|
257
|
+
- `AWS_REGION`: AWS region of the cluster
|
|
258
|
+
|
|
259
|
+
**For Connection-based access:**
|
|
260
|
+
- `MYSQL_HOSTNAME`: MySQL server hostname or endpoint
|
|
261
|
+
- `MYSQL_PORT`: MySQL server port (optional, default: 3306)
|
|
262
|
+
- `MYSQL_SECRET_ARN`: ARN of secret containing database credentials
|
|
263
|
+
- `MYSQL_DATABASE`: Database name to analyze
|
|
264
|
+
- `AWS_REGION`: AWS region where Secrets Manager is located
|
|
265
|
+
|
|
266
|
+
**Common options:**
|
|
267
|
+
- `MYSQL_MAX_QUERY_RESULTS`: Maximum rows in analysis output files (optional, default: 500)
|
|
268
|
+
|
|
269
|
+
**Note:** Explicit tool parameters take precedence over environment variables. Only one connection method (cluster ARN or hostname) should be specified.
|
|
270
|
+
|
|
271
|
+
#### MCP Configuration with MySQL
|
|
272
|
+
|
|
273
|
+
```json
|
|
274
|
+
{
|
|
275
|
+
"mcpServers": {
|
|
276
|
+
"awslabs.dynamodb-mcp-server": {
|
|
277
|
+
"command": "uvx",
|
|
278
|
+
"args": ["awslabs.dynamodb-mcp-server@latest"],
|
|
279
|
+
"env": {
|
|
280
|
+
"AWS_PROFILE": "default",
|
|
281
|
+
"AWS_REGION": "us-west-2",
|
|
282
|
+
"FASTMCP_LOG_LEVEL": "ERROR",
|
|
283
|
+
"MYSQL_CLUSTER_ARN": "arn:aws:rds:$REGION:$ACCOUNT_ID:cluster:$CLUSTER_NAME",
|
|
284
|
+
"MYSQL_SECRET_ARN": "arn:aws:secretsmanager:$REGION:$ACCOUNT_ID:secret:$SECRET_NAME",
|
|
285
|
+
"MYSQL_DATABASE": "<DATABASE_NAME>",
|
|
286
|
+
"MYSQL_MAX_QUERY_RESULTS": 500
|
|
287
|
+
},
|
|
288
|
+
"disabled": false,
|
|
289
|
+
"autoApprove": []
|
|
290
|
+
}
|
|
291
|
+
}
|
|
292
|
+
}
|
|
293
|
+
```
|
|
294
|
+
|
|
295
|
+
#### Using Source Database Analysis
|
|
296
|
+
|
|
297
|
+
1. Run `source_db_analyzer` against your Database (Self-service or Managed mode)
|
|
298
|
+
2. Review the generated timestamped analysis folder (database_analysis_YYYYMMDD_HHMMSS)
|
|
299
|
+
3. Read the manifest.md file first - it lists all analysis files and statistics
|
|
300
|
+
4. Read all analysis files to understand schema structure and access patterns
|
|
301
|
+
5. Use the analysis with `dynamodb_data_modeling` to design your DynamoDB schema
|
|
302
|
+
|
|
303
|
+
The tool generates Markdown files with:
|
|
304
|
+
- Schema structure (tables, columns, indexes, foreign keys)
|
|
305
|
+
- Access patterns from Performance Schema (query patterns, RPS, frequencies)
|
|
306
|
+
- Timestamped analysis for tracking changes over time
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
awslabs/__init__.py,sha256=S-EDeDHGZzllMFhAeuJx_47fv85t2OUMOcsOisD5d_8,796
|
|
2
|
+
awslabs/dynamodb_mcp_server/__init__.py,sha256=ZoxZncG7mq0MMRBrPk5gH31QYOQK7-sZ5F4TqkkFX18,674
|
|
3
|
+
awslabs/dynamodb_mcp_server/common.py,sha256=JdJbe3Bx6_56g9dVgf99crH3sr89kaeeUVyj-BKJRpw,3101
|
|
4
|
+
awslabs/dynamodb_mcp_server/markdown_formatter.py,sha256=EbtpgzkqBDK_832JD1-4X2A_UW8R4hmhO-CLpj3_mko,22293
|
|
5
|
+
awslabs/dynamodb_mcp_server/model_validation_utils.py,sha256=E7CYlnD61N_J3LQnqkhf4IO7y8XsExb2NLE-hRyrXP8,28951
|
|
6
|
+
awslabs/dynamodb_mcp_server/server.py,sha256=cFNLJIVnsPIqqNKMtDMToT2mS2SuR_1q2udEa-k0DpU,21885
|
|
7
|
+
awslabs/dynamodb_mcp_server/cdk_generator/__init__.py,sha256=GRsVYZrNr-zRcK9hLhyDJowrkDSCyLzxkdHqDPUDwbg,850
|
|
8
|
+
awslabs/dynamodb_mcp_server/cdk_generator/generator.py,sha256=O2Es7_7Epumip8K4zK0uPqQLtzz1VP3xoWtUSLLNej4,10343
|
|
9
|
+
awslabs/dynamodb_mcp_server/cdk_generator/models.py,sha256=IQhmeDnJADxJfEicAmEPvIyqwQJyHXBNNs04umScpUA,19418
|
|
10
|
+
awslabs/dynamodb_mcp_server/cdk_generator/templates/README.md,sha256=ImERVaBfxyrn946mrOsuEHc-2dSGwmDuX0ThRYai4uk,1388
|
|
11
|
+
awslabs/dynamodb_mcp_server/cdk_generator/templates/stack.ts.j2,sha256=Kw-iWVR3tJulhd7Fi3HCCTuj_ONMQu8_wmWKBH0GI5w,2234
|
|
12
|
+
awslabs/dynamodb_mcp_server/db_analyzer/__init__.py,sha256=-Bo25EyWyjIYIH81OVzbKExb7srzrxnkhNHN9vdDsSw,1174
|
|
13
|
+
awslabs/dynamodb_mcp_server/db_analyzer/analyzer_utils.py,sha256=Dc94RSzuEOKVR9-qXkVqqdQ3BI57gijDsrKbH1rKEXk,14859
|
|
14
|
+
awslabs/dynamodb_mcp_server/db_analyzer/base_plugin.py,sha256=s39slZb-HtcXbApodO_PMPWqKvLVsmFL343TsVEUgZ0,13279
|
|
15
|
+
awslabs/dynamodb_mcp_server/db_analyzer/mysql.py,sha256=lNzaSIFc0ZQLUu9VF4DZpTRqZ1EzSd5x4hx2zmEGIJk,18673
|
|
16
|
+
awslabs/dynamodb_mcp_server/db_analyzer/plugin_registry.py,sha256=oPQaH2co0UuMZ_aGVmmcL5xhv9zaJ3o4U-3pmLSX3Vo,2736
|
|
17
|
+
awslabs/dynamodb_mcp_server/db_analyzer/postgresql.py,sha256=Kaw_70MHN9gYYlOg5f_NFvPpBLluuXJMw-Rfb76VcR8,9086
|
|
18
|
+
awslabs/dynamodb_mcp_server/db_analyzer/sqlserver.py,sha256=6vwoLe6XcWvkMZq3Hlxc0TOkG1xCvPdJR4vTMd04l2g,11211
|
|
19
|
+
awslabs/dynamodb_mcp_server/prompts/dynamodb_architect.md,sha256=jeODuo6CZoi90C2XuVRFqbzNiZ7K66OKWRYZ9RV4jPI,41280
|
|
20
|
+
awslabs/dynamodb_mcp_server/prompts/json_generation_guide.md,sha256=HP8OMf3Z6D3UPB8uyTNP-SstyyKjNqCuE_hbvuXGWbA,8852
|
|
21
|
+
awslabs/dynamodb_mcp_server/prompts/transform_model_validation_result.md,sha256=BBeiIAfCeVWd8ar8D2StoSQKnzqkFhHDpniy-K3LYpM,6762
|
|
22
|
+
awslabs_dynamodb_mcp_server-2.0.10.dist-info/METADATA,sha256=tjnxqiai3tM-m6VnX8NzXs4McA8HL5GMEiXng7-PAHU,14532
|
|
23
|
+
awslabs_dynamodb_mcp_server-2.0.10.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
|
|
24
|
+
awslabs_dynamodb_mcp_server-2.0.10.dist-info/entry_points.txt,sha256=Vn6TvAN9d67Lsbkcs0UcIiOBI5xDpNBm_MOOzc1h-YU,88
|
|
25
|
+
awslabs_dynamodb_mcp_server-2.0.10.dist-info/licenses/LICENSE,sha256=CeipvOyAZxBGUsFoaFqwkx54aPnIKEtm9a5u2uXxEws,10142
|
|
26
|
+
awslabs_dynamodb_mcp_server-2.0.10.dist-info/licenses/NOTICE,sha256=47UMmTFkf8rUc_JaJfdWe6NsAJQOcZNPZIL6JzU_k5U,95
|
|
27
|
+
awslabs_dynamodb_mcp_server-2.0.10.dist-info/RECORD,,
|
|
@@ -0,0 +1,175 @@
|
|
|
1
|
+
|
|
2
|
+
Apache License
|
|
3
|
+
Version 2.0, January 2004
|
|
4
|
+
http://www.apache.org/licenses/
|
|
5
|
+
|
|
6
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
7
|
+
|
|
8
|
+
1. Definitions.
|
|
9
|
+
|
|
10
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
11
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
12
|
+
|
|
13
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
14
|
+
the copyright owner that is granting the License.
|
|
15
|
+
|
|
16
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
17
|
+
other entities that control, are controlled by, or are under common
|
|
18
|
+
control with that entity. For the purposes of this definition,
|
|
19
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
20
|
+
direction or management of such entity, whether by contract or
|
|
21
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
22
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
23
|
+
|
|
24
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
25
|
+
exercising permissions granted by this License.
|
|
26
|
+
|
|
27
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
28
|
+
including but not limited to software source code, documentation
|
|
29
|
+
source, and configuration files.
|
|
30
|
+
|
|
31
|
+
"Object" form shall mean any form resulting from mechanical
|
|
32
|
+
transformation or translation of a Source form, including but
|
|
33
|
+
not limited to compiled object code, generated documentation,
|
|
34
|
+
and conversions to other media types.
|
|
35
|
+
|
|
36
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
37
|
+
Object form, made available under the License, as indicated by a
|
|
38
|
+
copyright notice that is included in or attached to the work
|
|
39
|
+
(an example is provided in the Appendix below).
|
|
40
|
+
|
|
41
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
42
|
+
form, that is based on (or derived from) the Work and for which the
|
|
43
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
44
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
45
|
+
of this License, Derivative Works shall not include works that remain
|
|
46
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
47
|
+
the Work and Derivative Works thereof.
|
|
48
|
+
|
|
49
|
+
"Contribution" shall mean any work of authorship, including
|
|
50
|
+
the original version of the Work and any modifications or additions
|
|
51
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
52
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
53
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
54
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
55
|
+
means any form of electronic, verbal, or written communication sent
|
|
56
|
+
to the Licensor or its representatives, including but not limited to
|
|
57
|
+
communication on electronic mailing lists, source code control systems,
|
|
58
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
59
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
60
|
+
excluding communication that is conspicuously marked or otherwise
|
|
61
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
62
|
+
|
|
63
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
64
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
65
|
+
subsequently incorporated within the Work.
|
|
66
|
+
|
|
67
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
68
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
69
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
70
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
71
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
72
|
+
Work and such Derivative Works in Source or Object form.
|
|
73
|
+
|
|
74
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
75
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
76
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
77
|
+
(except as stated in this section) patent license to make, have made,
|
|
78
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
79
|
+
where such license applies only to those patent claims licensable
|
|
80
|
+
by such Contributor that are necessarily infringed by their
|
|
81
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
82
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
83
|
+
institute patent litigation against any entity (including a
|
|
84
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
85
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
86
|
+
or contributory patent infringement, then any patent licenses
|
|
87
|
+
granted to You under this License for that Work shall terminate
|
|
88
|
+
as of the date such litigation is filed.
|
|
89
|
+
|
|
90
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
91
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
92
|
+
modifications, and in Source or Object form, provided that You
|
|
93
|
+
meet the following conditions:
|
|
94
|
+
|
|
95
|
+
(a) You must give any other recipients of the Work or
|
|
96
|
+
Derivative Works a copy of this License; and
|
|
97
|
+
|
|
98
|
+
(b) You must cause any modified files to carry prominent notices
|
|
99
|
+
stating that You changed the files; and
|
|
100
|
+
|
|
101
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
102
|
+
that You distribute, all copyright, patent, trademark, and
|
|
103
|
+
attribution notices from the Source form of the Work,
|
|
104
|
+
excluding those notices that do not pertain to any part of
|
|
105
|
+
the Derivative Works; and
|
|
106
|
+
|
|
107
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
108
|
+
distribution, then any Derivative Works that You distribute must
|
|
109
|
+
include a readable copy of the attribution notices contained
|
|
110
|
+
within such NOTICE file, excluding those notices that do not
|
|
111
|
+
pertain to any part of the Derivative Works, in at least one
|
|
112
|
+
of the following places: within a NOTICE text file distributed
|
|
113
|
+
as part of the Derivative Works; within the Source form or
|
|
114
|
+
documentation, if provided along with the Derivative Works; or,
|
|
115
|
+
within a display generated by the Derivative Works, if and
|
|
116
|
+
wherever such third-party notices normally appear. The contents
|
|
117
|
+
of the NOTICE file are for informational purposes only and
|
|
118
|
+
do not modify the License. You may add Your own attribution
|
|
119
|
+
notices within Derivative Works that You distribute, alongside
|
|
120
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
121
|
+
that such additional attribution notices cannot be construed
|
|
122
|
+
as modifying the License.
|
|
123
|
+
|
|
124
|
+
You may add Your own copyright statement to Your modifications and
|
|
125
|
+
may provide additional or different license terms and conditions
|
|
126
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
127
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
128
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
129
|
+
the conditions stated in this License.
|
|
130
|
+
|
|
131
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
132
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
133
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
134
|
+
this License, without any additional terms or conditions.
|
|
135
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
136
|
+
the terms of any separate license agreement you may have executed
|
|
137
|
+
with Licensor regarding such Contributions.
|
|
138
|
+
|
|
139
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
140
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
141
|
+
except as required for reasonable and customary use in describing the
|
|
142
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
143
|
+
|
|
144
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
145
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
146
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
147
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
148
|
+
implied, including, without limitation, any warranties or conditions
|
|
149
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
150
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
151
|
+
appropriateness of using or redistributing the Work and assume any
|
|
152
|
+
risks associated with Your exercise of permissions under this License.
|
|
153
|
+
|
|
154
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
155
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
156
|
+
unless required by applicable law (such as deliberate and grossly
|
|
157
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
158
|
+
liable to You for damages, including any direct, indirect, special,
|
|
159
|
+
incidental, or consequential damages of any character arising as a
|
|
160
|
+
result of this License or out of the use or inability to use the
|
|
161
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
162
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
163
|
+
other commercial damages or losses), even if such Contributor
|
|
164
|
+
has been advised of the possibility of such damages.
|
|
165
|
+
|
|
166
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
167
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
168
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
169
|
+
or other liability obligations and/or rights consistent with this
|
|
170
|
+
License. However, in accepting such obligations, You may act only
|
|
171
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
172
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
173
|
+
defend, and hold each Contributor harmless for any liability
|
|
174
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
175
|
+
of your accepting any such warranty or additional liability.
|