@runapi.ai/midjourney-mcp 0.1.0 → 0.2.0

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
@@ -30,7 +30,7 @@
30
30
  ## Why This Package?
31
31
 
32
32
  `@runapi.ai/midjourney-mcp` is a focused Model Context Protocol server for the **Midjourney** model line on RunAPI.
33
- It gives MCP-compatible assistants direct access to 5 endpoints and 3 model variants without loading the full RunAPI catalog.
33
+ It gives MCP-compatible assistants direct access to 6 endpoints and 3 model variants without loading the full RunAPI catalog.
34
34
 
35
35
  Use this per-model server when an agent should stay scoped to Midjourney. Use [`@runapi.ai/mcp`](https://github.com/runapi-ai/mcp) when one assistant should discover every RunAPI model line.
36
36
 
@@ -78,6 +78,7 @@ Ready-made examples are in [`examples/`](examples/) for Claude, Cursor, Windsurf
78
78
  | `get_seed` | Yes | Run a Midjourney get seed operation synchronously. Returns the operation result and pricing snapshot. |
79
79
  | `image_to_prompt` | Yes | Run a Midjourney image to prompt operation synchronously. Returns the operation result and pricing snapshot. |
80
80
  | `image_to_video` | Yes | Create a Midjourney image to video task and optionally wait for a terminal status. Returns the task id, status, output URLs, and pricing snapshot. |
81
+ | `shorten_prompt` | Yes | Run a Midjourney shorten prompt operation synchronously. Returns the operation result and pricing snapshot. |
81
82
  | `text_to_image` | Yes | Create a Midjourney text to image task and optionally wait for a terminal status. Returns the task id, status, output URLs, and pricing snapshot. |
82
83
  | `get_task` | Yes | Fetch the current status and latest payload for an existing task. |
83
84
  | `check_pricing` | No | Look up the current pricing snapshot for a Midjourney model and endpoint. |
@@ -86,7 +87,7 @@ Ready-made examples are in [`examples/`](examples/) for Claude, Cursor, Windsurf
86
87
 
87
88
  ## Models
88
89
 
89
- Midjourney covers 3 model variants across 5 endpoints. Each tool accepts the models listed for it:
90
+ Midjourney covers 3 model variants across 6 endpoints. Each tool accepts the models listed for it:
90
91
 
91
92
  | Tool | Models |
92
93
  |---|---|
@@ -94,6 +95,7 @@ Midjourney covers 3 model variants across 5 endpoints. Each tool accepts the mod
94
95
  | `get_seed` | _no model parameter_ |
95
96
  | `image_to_prompt` | _no model parameter_ |
96
97
  | `image_to_video` | `midjourney-image-to-video` |
98
+ | `shorten_prompt` | _no model parameter_ |
97
99
  | `text_to_image` | `midjourney-v8.1` |
98
100
 
99
101
  Model availability can change between releases. Use `check_pricing` or the [Midjourney model page](https://runapi.ai/models/midjourney) for the current catalog view.
@@ -105,6 +105,20 @@
105
105
  }
106
106
  }
107
107
  },
108
+ "midjourney/shorten-prompt": {
109
+ "model": "Midjourney",
110
+ "endpoint": "shorten_prompt",
111
+ "task_type": "synchronous",
112
+ "models": [],
113
+ "fields_by_model": {
114
+ "_": {
115
+ "prompt": {
116
+ "type": "string",
117
+ "required": true
118
+ }
119
+ }
120
+ }
121
+ },
108
122
  "midjourney/text-to-image": {
109
123
  "model": "Midjourney",
110
124
  "endpoint": "text_to_image",
package/data/pricing.json CHANGED
@@ -14,6 +14,9 @@
14
14
  },
15
15
  "_/image_to_prompt": {
16
16
  "unit_price_cents": 6
17
+ },
18
+ "_/shorten_prompt": {
19
+ "unit_price_cents": 6
17
20
  }
18
21
  }
19
22
  }
@@ -1,5 +1,5 @@
1
1
  export declare const META: {
2
2
  readonly name: "@runapi.ai/midjourney-mcp";
3
- readonly version: "0.1.0";
3
+ readonly version: "0.2.0";
4
4
  readonly lineSlug: "midjourney";
5
5
  };
package/dist/src/meta.js CHANGED
@@ -1,6 +1,6 @@
1
1
  export const META = {
2
2
  name: "@runapi.ai/midjourney-mcp",
3
- version: "0.1.0",
3
+ version: "0.2.0",
4
4
  lineSlug: "midjourney"
5
5
  };
6
6
  //# sourceMappingURL=meta.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@runapi.ai/midjourney-mcp",
3
- "version": "0.1.0",
3
+ "version": "0.2.0",
4
4
  "description": "RunAPI Midjourney MCP server for image and video generation: create tasks, poll results, and check pricing across 3 model variants from Claude Code, Codex, Cursor, and VS Code.",
5
5
  "type": "module",
6
6
  "main": "dist/src/index.js",
@@ -60,7 +60,7 @@
60
60
  },
61
61
  "dependencies": {
62
62
  "@modelcontextprotocol/sdk": "^1.29.0",
63
- "@runapi.ai/mcp-core": "0.1.6",
63
+ "@runapi.ai/mcp-core": "0.1.7",
64
64
  "zod": "^3.25.76"
65
65
  },
66
66
  "devDependencies": {
package/server.json CHANGED
@@ -6,12 +6,12 @@
6
6
  "url": "https://github.com/runapi-ai/midjourney-mcp",
7
7
  "source": "github"
8
8
  },
9
- "version": "0.1.0",
9
+ "version": "0.2.0",
10
10
  "packages": [
11
11
  {
12
12
  "registryType": "npm",
13
13
  "identifier": "@runapi.ai/midjourney-mcp",
14
- "version": "0.1.0",
14
+ "version": "0.2.0",
15
15
  "transport": {
16
16
  "type": "stdio"
17
17
  },