@remotion/mcp 4.0.403 → 4.0.404
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/dist/esm/index.mjs +13 -8
- package/dist/index.js +13 -8
- package/package.json +4 -4
package/dist/esm/index.mjs
CHANGED
|
@@ -3,21 +3,26 @@
|
|
|
3
3
|
// src/index.ts
|
|
4
4
|
import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
|
|
5
5
|
import { StdioServerTransport } from "@modelcontextprotocol/sdk/server/stdio.js";
|
|
6
|
-
import
|
|
6
|
+
import * as z from "zod/v4";
|
|
7
7
|
var HOST = "https://mcp.remotion.dev";
|
|
8
8
|
var server = new McpServer({
|
|
9
9
|
name: "remotion-mcp",
|
|
10
10
|
version: "1.0.0"
|
|
11
11
|
});
|
|
12
|
-
server.
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
12
|
+
server.registerTool("remotion-documentation", {
|
|
13
|
+
title: "Search the Remotion documentation",
|
|
14
|
+
description: "Search the Remotion documentation",
|
|
15
|
+
inputSchema: {
|
|
16
|
+
query: z.string({
|
|
17
|
+
message: "The query to search for. Keep it short and concise."
|
|
18
|
+
})
|
|
19
|
+
},
|
|
20
|
+
outputSchema: {
|
|
21
|
+
content: z.array(z.object({ type: z.literal("text"), text: z.string() }))
|
|
22
|
+
}
|
|
16
23
|
}, async ({ query }) => {
|
|
17
24
|
const res = await fetch(`${HOST}/mcp/67cad4626afeae106c6ffb50?query=${query}`);
|
|
18
|
-
return {
|
|
19
|
-
content: [{ type: "text", text: await res.text() }]
|
|
20
|
-
};
|
|
25
|
+
return { content: [{ type: "text", text: await res.text() }] };
|
|
21
26
|
});
|
|
22
27
|
var transport = new StdioServerTransport;
|
|
23
28
|
await server.connect(transport);
|
package/dist/index.js
CHANGED
|
@@ -1,21 +1,26 @@
|
|
|
1
1
|
#! /usr/bin/env node
|
|
2
2
|
import { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
|
|
3
3
|
import { StdioServerTransport } from '@modelcontextprotocol/sdk/server/stdio.js';
|
|
4
|
-
import
|
|
4
|
+
import * as z from 'zod/v4';
|
|
5
5
|
const HOST = 'https://mcp.remotion.dev';
|
|
6
6
|
const server = new McpServer({
|
|
7
7
|
name: 'remotion-mcp',
|
|
8
8
|
version: '1.0.0',
|
|
9
9
|
});
|
|
10
|
-
server.
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
10
|
+
server.registerTool('remotion-documentation', {
|
|
11
|
+
title: 'Search the Remotion documentation',
|
|
12
|
+
description: 'Search the Remotion documentation',
|
|
13
|
+
inputSchema: {
|
|
14
|
+
query: z.string({
|
|
15
|
+
message: 'The query to search for. Keep it short and concise.',
|
|
16
|
+
}),
|
|
17
|
+
},
|
|
18
|
+
outputSchema: {
|
|
19
|
+
content: z.array(z.object({ type: z.literal('text'), text: z.string() })),
|
|
20
|
+
},
|
|
14
21
|
}, async ({ query }) => {
|
|
15
22
|
const res = await fetch(`${HOST}/mcp/67cad4626afeae106c6ffb50?query=${query}`);
|
|
16
|
-
return {
|
|
17
|
-
content: [{ type: 'text', text: await res.text() }],
|
|
18
|
-
};
|
|
23
|
+
return { content: [{ type: 'text', text: await res.text() }] };
|
|
19
24
|
});
|
|
20
25
|
const transport = new StdioServerTransport();
|
|
21
26
|
await server.connect(transport);
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"url": "https://github.com/remotion-dev/remotion/tree/main/packages/mcp"
|
|
4
4
|
},
|
|
5
5
|
"name": "@remotion/mcp",
|
|
6
|
-
"version": "4.0.
|
|
6
|
+
"version": "4.0.404",
|
|
7
7
|
"description": "Remotion's Model Context Protocol",
|
|
8
8
|
"main": "dist/esm/index.mjs",
|
|
9
9
|
"sideEffects": false,
|
|
@@ -24,12 +24,12 @@
|
|
|
24
24
|
"author": "Jonny Burger <jonny@remotion.dev>, Pramod Kumar <pramodkumar.damam73@gmail.com>",
|
|
25
25
|
"license": "MIT",
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@modelcontextprotocol/sdk": "1.
|
|
28
|
-
"zod": "
|
|
27
|
+
"@modelcontextprotocol/sdk": "1.25.2",
|
|
28
|
+
"zod": "4.1.13"
|
|
29
29
|
},
|
|
30
30
|
"peerDependencies": {},
|
|
31
31
|
"devDependencies": {
|
|
32
|
-
"@remotion/eslint-config-internal": "4.0.
|
|
32
|
+
"@remotion/eslint-config-internal": "4.0.404",
|
|
33
33
|
"eslint": "9.19.0",
|
|
34
34
|
"@types/command-line-args": "^5.2.3"
|
|
35
35
|
},
|