@jaypie/dynamodb 0.1.0 → 0.1.2

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.
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Check DynamoDB connection status and configuration
3
+ */
4
+ export declare const statusHandler: import("@jaypie/vocabulary").ServiceHandlerFunction<Record<string, unknown>, {
5
+ endpoint: string;
6
+ initialized: boolean;
7
+ region: string;
8
+ tableName: string;
9
+ }>;
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Ensure DynamoDB client is initialized from environment variables
3
+ * Called automatically before each MCP tool execution
4
+ */
5
+ export declare function ensureInitialized(): void;
@@ -0,0 +1,17 @@
1
+ import type { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
2
+ export interface RegisterDynamoDbToolsConfig {
3
+ /** MCP server to register tools with */
4
+ server: McpServer;
5
+ /** Include admin tools (create_table, docker_compose, status). Default: true */
6
+ includeAdmin?: boolean;
7
+ }
8
+ export interface RegisterDynamoDbToolsResult {
9
+ /** Names of registered tools */
10
+ tools: string[];
11
+ }
12
+ /**
13
+ * Register all DynamoDB MCP tools with a server
14
+ */
15
+ export declare function registerDynamoDbTools(config: RegisterDynamoDbToolsConfig): RegisterDynamoDbToolsResult;
16
+ export { createTableHandler, dockerComposeHandler, statusHandler, } from "./admin/index.js";
17
+ export { ensureInitialized } from "./autoInit.js";