video-context-mcp-server 0.52.2-beta → 0.52.3-beta
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 +16 -14
- package/dist/generated/version.d.ts +1 -1
- package/dist/generated/version.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -397,15 +397,17 @@ The S3 relay needs programmatic access to your S3 bucket. You'll create an IAM u
|
|
|
397
397
|
"s3:ListBucket"
|
|
398
398
|
],
|
|
399
399
|
"Resource": [
|
|
400
|
-
"arn:aws:s3:::
|
|
401
|
-
"arn:aws:s3:::
|
|
400
|
+
"arn:aws:s3:::your-globally-unique-bucket-name",
|
|
401
|
+
"arn:aws:s3:::your-globally-unique-bucket-name/*"
|
|
402
402
|
]
|
|
403
403
|
}
|
|
404
404
|
]
|
|
405
405
|
}
|
|
406
406
|
```
|
|
407
|
-
|
|
408
|
-
|
|
407
|
+
|
|
408
|
+
- Replace `your-globally-unique-bucket-name` with your actual globally unique bucket name (you'll create it in the next step).
|
|
409
|
+
- Click **Next**, give the policy a name like `VideoMcpS3Access`, then **Create policy**.
|
|
410
|
+
|
|
409
411
|
6. Go back to the user creation tab, click the refresh icon, search for `VideoMcpS3Access`, select it, and click **Next** → **Create user**.
|
|
410
412
|
7. Open the newly created user, go to the **Security credentials** tab.
|
|
411
413
|
8. Under **Access keys**, click **Create access key**.
|
|
@@ -463,13 +465,13 @@ This stores your credentials in `~/.aws/credentials` and `~/.aws/config`, which
|
|
|
463
465
|
If you installed the AWS CLI:
|
|
464
466
|
|
|
465
467
|
```bash
|
|
466
|
-
aws s3 mb s3://
|
|
468
|
+
aws s3 mb s3://your-globally-unique-bucket-name
|
|
467
469
|
```
|
|
468
470
|
|
|
469
471
|
Or create it manually in the [S3 Console](https://s3.console.aws.amazon.com/):
|
|
470
472
|
|
|
471
473
|
1. Open the S3 dashboard and click **Create bucket**.
|
|
472
|
-
2. Enter a unique bucket name (e.g., `
|
|
474
|
+
2. Enter a globally unique bucket name (e.g., `your-globally-unique-bucket-name`).
|
|
473
475
|
3. Choose the AWS Region you want to use. This should match `AWS_REGION` in your MCP config or AWS CLI profile.
|
|
474
476
|
4. Leave **Block all public access** enabled. The bucket does not need to be public — the server uses presigned URLs.
|
|
475
477
|
5. Keep the default **Object Ownership** setting (`ACLs disabled` / `Bucket owner enforced`).
|
|
@@ -488,7 +490,7 @@ Or create it manually in the [S3 Console](https://s3.console.aws.amazon.com/):
|
|
|
488
490
|
"type": "stdio",
|
|
489
491
|
"command": "video-context-mcp",
|
|
490
492
|
"env": {
|
|
491
|
-
"AWS_S3_BUCKET": "
|
|
493
|
+
"AWS_S3_BUCKET": "your-globally-unique-bucket-name",
|
|
492
494
|
"GEMINI_API_KEY": "your-gemini-key"
|
|
493
495
|
}
|
|
494
496
|
}
|
|
@@ -504,14 +506,14 @@ The server resolves AWS credentials in this order — you only need to configure
|
|
|
504
506
|
|
|
505
507
|
1. **Environment variables** — add directly to your MCP `env` block (no AWS CLI needed):
|
|
506
508
|
```jsonc
|
|
507
|
-
"AWS_S3_BUCKET": "
|
|
509
|
+
"AWS_S3_BUCKET": "your-globally-unique-bucket-name",
|
|
508
510
|
"AWS_ACCESS_KEY_ID": "AKIA...",
|
|
509
511
|
"AWS_SECRET_ACCESS_KEY": "your-secret-key",
|
|
510
512
|
"AWS_REGION": "us-east-1"
|
|
511
513
|
```
|
|
512
514
|
2. **`~/.aws/credentials`** — if the AWS CLI is configured, credentials are picked up automatically. Only `AWS_S3_BUCKET` is needed in your MCP config:
|
|
513
515
|
```jsonc
|
|
514
|
-
"AWS_S3_BUCKET": "
|
|
516
|
+
"AWS_S3_BUCKET": "your-globally-unique-bucket-name"
|
|
515
517
|
```
|
|
516
518
|
3. **IAM instance role / ECS task role** — for AWS-hosted environments.
|
|
517
519
|
|
|
@@ -522,7 +524,7 @@ The server resolves AWS credentials in this order — you only need to configure
|
|
|
522
524
|
Every time you analyze a local video (or a platform download like YouTube) with GLM, Qwen, or MiMo:
|
|
523
525
|
|
|
524
526
|
1. The server detects the file is too large for base64 encoding.
|
|
525
|
-
2. The file is uploaded to `s3://
|
|
527
|
+
2. The file is uploaded to `s3://your-globally-unique-bucket-name/<hash>/<filename>`.
|
|
526
528
|
3. A presigned URL (valid for 1 hour) is passed to the AI provider.
|
|
527
529
|
4. The provider downloads the video directly from S3.
|
|
528
530
|
5. The object is kept in the bucket for reuse within the same session.
|
|
@@ -544,9 +546,9 @@ To keep objects in the bucket for reuse across sessions (useful for large files
|
|
|
544
546
|
You can also pass a presigned URL directly to any tool without configuring the relay:
|
|
545
547
|
|
|
546
548
|
```bash
|
|
547
|
-
aws s3 cp my-video.mp4 s3://
|
|
548
|
-
aws s3 presign s3://
|
|
549
|
-
# → https://
|
|
549
|
+
aws s3 cp my-video.mp4 s3://your-globally-unique-bucket-name/my-video.mp4
|
|
550
|
+
aws s3 presign s3://your-globally-unique-bucket-name/my-video.mp4 --expires-in 3600
|
|
551
|
+
# → https://your-globally-unique-bucket-name.s3.amazonaws.com/my-video.mp4?X-Amz-...
|
|
550
552
|
```
|
|
551
553
|
|
|
552
554
|
Then pass the URL directly to `analyze_video`, `summarize_video`, or any other tool.
|
|
@@ -742,7 +744,7 @@ vmcp cache clear:all --yes # skip confirmation
|
|
|
742
744
|
"YT_DLP_PATH": "/usr/local/bin/yt-dlp",
|
|
743
745
|
"YT_DLP_COOKIES_FILE": "/path/to/cookies.txt",
|
|
744
746
|
"YT_DLP_IMPERSONATE": "chrome",
|
|
745
|
-
"AWS_S3_BUCKET": "
|
|
747
|
+
"AWS_S3_BUCKET": "your-globally-unique-bucket-name",
|
|
746
748
|
"AWS_ACCESS_KEY_ID": "AKIA...",
|
|
747
749
|
"AWS_SECRET_ACCESS_KEY": "your-secret-key",
|
|
748
750
|
"AWS_REGION": "us-east-1",
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "0.52.
|
|
1
|
+
export declare const VERSION = "0.52.3-beta";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "video-context-mcp-server",
|
|
3
|
-
"version": "0.52.
|
|
3
|
+
"version": "0.52.3-beta",
|
|
4
4
|
"description": "A Model Context Protocol server that gives GitHub Copilot the ability to understand and analyze video content",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|