@atengk/mcp-server-s3 1.0.1 → 1.1.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 +5 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -390,14 +390,18 @@ npx -y @atengk/mcp-server-s3 --transport sse --port 8000 --api-key secret-token-
|
|
|
390
390
|
|
|
391
391
|
### 1. 使用 Docker Compose 一键启动微服务集群
|
|
392
392
|
|
|
393
|
+
`docker-compose.yaml` 默认直接拉取 GitHub Packages (GHCR) 发布的预编译多架构镜像(`ghcr.io/atengk/mcp-server-s3:latest`),**无需本地安装 Node/pnpm 或进行耗时编译**,甚至仅需单独下载单份 `docker-compose.yaml` 即可秒级拉起完整的 MinIO + S3 MCP 集群:
|
|
394
|
+
|
|
393
395
|
```bash
|
|
394
|
-
# 后台拉起微服务集群 (MinIO + S3 MCP)
|
|
396
|
+
# 后台拉起微服务集群 (MinIO + 预编译 S3 MCP)
|
|
395
397
|
docker compose up -d
|
|
396
398
|
|
|
397
399
|
# 检查服务就绪探针 (健康检查公开免鉴权)
|
|
398
400
|
curl http://localhost:8000/health
|
|
399
401
|
```
|
|
400
402
|
|
|
403
|
+
> 💡 **进阶提示**:如需锁定特定版本,可运行 `MCP_S3_IMAGE_TAG=v1.0.1 docker compose up -d`;如需基于本地源码二次开发,仅需按 `docker-compose.yaml` 中提示解除 `build` 注释即可。
|
|
404
|
+
|
|
401
405
|
### 2. 远程 HTTP SSE 鉴权接入规范
|
|
402
406
|
|
|
403
407
|
当设置了 `MCP_S3_API_KEY=your-secret-token` 时,服务将自动启用 CORS 与双栈校验机制:
|
package/dist/index.d.ts
CHANGED
|
@@ -1379,7 +1379,7 @@ declare function resolveConfigWithCli(args?: string[], env?: NodeJS.ProcessEnv):
|
|
|
1379
1379
|
* @since 2026-10-04
|
|
1380
1380
|
*/
|
|
1381
1381
|
|
|
1382
|
-
declare const SERVER_VERSION
|
|
1382
|
+
declare const SERVER_VERSION: string;
|
|
1383
1383
|
/**
|
|
1384
1384
|
* 组装并配置 MCP Server 实例
|
|
1385
1385
|
*
|
package/dist/index.js
CHANGED
|
@@ -60807,7 +60807,7 @@ function wrapToolHandler(handler) {
|
|
|
60807
60807
|
}
|
|
60808
60808
|
};
|
|
60809
60809
|
}
|
|
60810
|
-
var SERVER_VERSION = "1.
|
|
60810
|
+
var SERVER_VERSION = true ? "1.1.1" : "dev";
|
|
60811
60811
|
function createMCPServer(config2 = parseEnv(), customClient) {
|
|
60812
60812
|
const server = new McpServer({
|
|
60813
60813
|
name: "mcp-server-s3",
|