s3-querier 1.2.0 → 1.2.1

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.
package/README.md CHANGED
@@ -161,10 +161,11 @@ const results = await s3Querier({
161
161
 
162
162
  ## MCP Server
163
163
 
164
- s3-querier ships a [Model Context Protocol](https://modelcontextprotocol.io/) server that exposes two tools to any MCP-compatible client (Claude Desktop, Claude Code, IBM Bob etc.):
164
+ s3-querier ships a [Model Context Protocol](https://modelcontextprotocol.io/) server that exposes three tools to any MCP-compatible client (Claude Desktop, Claude Code, IBM Bob etc.):
165
165
 
166
166
  - **`query`** — runs a DuckDB SQL query against your S3 data
167
167
  - **`list_files`** — lists objects under a prefix so an LLM can discover available data
168
+ - **`get_current_time`** — returns the current UTC time. Call this before constructing time-partitioned queries
168
169
 
169
170
  ### Environment variables
170
171
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "s3-querier",
3
- "version": "1.2.0",
3
+ "version": "1.2.1",
4
4
  "description": "Query S3-compatible storage with DuckDB and SQL",
5
5
  "type": "module",
6
6
  "main": "src/s3-querier.js",
@@ -33,11 +33,10 @@ export class S3QuerierMCP {
33
33
  }
34
34
 
35
35
  async start() {
36
- const server = new McpServer({
37
- name: 's3-querier',
38
- version: pkg.version,
39
- instructions: buildInstructions(this.config),
40
- });
36
+ const server = new McpServer(
37
+ { name: 's3-querier', version: pkg.version },
38
+ { instructions: buildInstructions(this.config) },
39
+ );
41
40
  const transport = new StdioServerTransport();
42
41
 
43
42
  this.resourceClasses.forEach((ResourceClass) => {