@simpligen/mcp 0.4.1 → 0.4.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.
Files changed (2) hide show
  1. package/package.json +37 -37
  2. package/src/tools.js +2 -2
package/package.json CHANGED
@@ -1,37 +1,37 @@
1
- {
2
- "name": "@simpligen/mcp",
3
- "version": "0.4.1",
4
- "description": "MCP server for SimpliGen -- drive local/cloud AI image & video generation from an agent.",
5
- "type": "module",
6
- "license": "MIT",
7
- "homepage": "https://simpligen.io",
8
- "repository": {
9
- "type": "git",
10
- "url": "git+https://github.com/RaynoldVanHeyningen/SimpliGen.git",
11
- "directory": "packages/mcp-server"
12
- },
13
- "bin": {
14
- "simpligen-mcp": "src/bin.js"
15
- },
16
- "main": "src/index.js",
17
- "files": [
18
- "src",
19
- "README.md",
20
- "LICENSE"
21
- ],
22
- "engines": {
23
- "node": ">=18"
24
- },
25
- "publishConfig": {
26
- "access": "public"
27
- },
28
- "scripts": {
29
- "test": "node --test src/*.test.js",
30
- "prepublishOnly": "node --test src/*.test.js"
31
- },
32
- "dependencies": {
33
- "@modelcontextprotocol/sdk": "^1",
34
- "sharp": "^0.35.1",
35
- "zod": "^3"
36
- }
37
- }
1
+ {
2
+ "name": "@simpligen/mcp",
3
+ "version": "0.4.2",
4
+ "description": "MCP server for SimpliGen -- drive local/cloud AI image & video generation from an agent.",
5
+ "type": "module",
6
+ "license": "MIT",
7
+ "homepage": "https://simpligen.io",
8
+ "repository": {
9
+ "type": "git",
10
+ "url": "git+https://github.com/RaynoldVanHeyningen/SimpliGen.git",
11
+ "directory": "packages/mcp-server"
12
+ },
13
+ "bin": {
14
+ "simpligen-mcp": "src/bin.js"
15
+ },
16
+ "main": "src/index.js",
17
+ "files": [
18
+ "src",
19
+ "README.md",
20
+ "LICENSE"
21
+ ],
22
+ "engines": {
23
+ "node": ">=18"
24
+ },
25
+ "publishConfig": {
26
+ "access": "public"
27
+ },
28
+ "scripts": {
29
+ "test": "node --test src/*.test.js",
30
+ "prepublishOnly": "node --test src/*.test.js"
31
+ },
32
+ "dependencies": {
33
+ "@modelcontextprotocol/sdk": "^1",
34
+ "sharp": "^0.35.1",
35
+ "zod": "^3"
36
+ }
37
+ }
package/src/tools.js CHANGED
@@ -25,7 +25,7 @@ const wrap = (fn) => async (args) => { try { return ok(await fn(args)); } catch
25
25
 
26
26
  export function registerTools(server, client) {
27
27
  server.registerTool('list_capabilities',
28
- { title: 'List capabilities', description: 'List every SimpliGen preset the agent can generate with (image/video), its inputs/options, whether it is installed locally (localReady) and cloud-eligible + credit cost.', inputSchema: {} },
28
+ { title: 'List capabilities', description: 'List every SimpliGen preset the agent can generate with (image/video), its inputs/options, whether it is installed locally (localReady) and cloud-eligible + credit cost. Local presets also carry onThisMachine: how likely a run is to finish on this machine (rating, finish %, p90Min: the slow end in minutes on similar cards), the typical minutes on this exact GPU (or notEnoughRunsOnGpu when there is too little data), and what size still fits.', inputSchema: {} },
29
29
  wrap(() => client.getCapabilities()));
30
30
 
31
31
  server.registerTool('get_status',
@@ -63,7 +63,7 @@ export function registerTools(server, client) {
63
63
 
64
64
  server.registerTool('generate',
65
65
  {
66
- title: 'Generate', description: 'Start an image or video generation. Inputs (image/referenceImages/video) are handles from upload_file. backend: local | cloud | auto. Returns a jobId; poll with wait_for_result or get_job.',
66
+ title: 'Generate', description: 'Start an image or video generation. Inputs (image/referenceImages/video) are handles from upload_file. backend: local | cloud | auto. Returns a jobId (and, for local runs, an expectation with the same fields as onThisMachine for the requested settings); poll with wait_for_result or get_job.',
67
67
  inputSchema: {
68
68
  presetId: z.string(), mediaType: z.enum(['image', 'video']), prompt: z.string(),
69
69
  packId: z.string().optional(), backend: z.enum(['local', 'cloud', 'auto']).optional(),