@runapi.ai/kling-mcp 0.1.5 → 0.1.7
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 +9 -8
- package/dist/src/meta.d.ts +1 -1
- package/dist/src/meta.js +1 -1
- package/examples/claude.mcp.json +1 -4
- package/examples/cursor.mcp.json +1 -4
- package/examples/roo.mcp.json +1 -4
- package/examples/vscode.mcp.json +1 -4
- package/examples/windsurf.mcp.json +1 -4
- package/package.json +2 -2
- package/server.json +4 -4
package/README.md
CHANGED
|
@@ -57,14 +57,14 @@ Codex, Cursor, Windsurf, VS Code, Roo Code, and other MCP hosts can use the same
|
|
|
57
57
|
"mcpServers": {
|
|
58
58
|
"kling": {
|
|
59
59
|
"command": "npx",
|
|
60
|
-
"args": ["-y", "@runapi.ai/kling-mcp"]
|
|
61
|
-
"env": { "RUNAPI_API_KEY": "${RUNAPI_API_KEY}" }
|
|
60
|
+
"args": ["-y", "@runapi.ai/kling-mcp"]
|
|
62
61
|
}
|
|
63
62
|
}
|
|
64
63
|
}
|
|
65
64
|
```
|
|
66
65
|
|
|
67
|
-
|
|
66
|
+
`check_pricing` works before sign-in. For task creation and status polling, ask your assistant to call the `login` tool. It opens a browser login and saves credentials to `~/.config/runapi/config.json`, the same file used by `runapi login`.
|
|
67
|
+
Headless and CI hosts can still set `RUNAPI_API_KEY` before starting the MCP host.
|
|
68
68
|
|
|
69
69
|
Ready-made examples are in [`examples/`](examples/) for Claude, Cursor, Windsurf, VS Code, and Roo Code.
|
|
70
70
|
|
|
@@ -130,12 +130,13 @@ The assistant calls `check_pricing` and can link to the [Kling model page](https
|
|
|
130
130
|
|
|
131
131
|
## Configuration
|
|
132
132
|
|
|
133
|
-
The server
|
|
133
|
+
The server resolves auth in this order:
|
|
134
134
|
|
|
135
|
-
1. `RUNAPI_API_KEY` environment variable
|
|
136
|
-
2. `~/.config/runapi/config.json`
|
|
135
|
+
1. `RUNAPI_API_KEY` environment variable, useful for headless and CI hosts
|
|
136
|
+
2. `~/.config/runapi/config.json`, created by the MCP `login` tool or `runapi login`
|
|
137
|
+
3. No key, which still allows `check_pricing`
|
|
137
138
|
|
|
138
|
-
|
|
139
|
+
The config file is normally managed by login. A pre-provisioned headless config can use:
|
|
139
140
|
|
|
140
141
|
```json
|
|
141
142
|
{
|
|
@@ -143,7 +144,7 @@ Example config file:
|
|
|
143
144
|
}
|
|
144
145
|
```
|
|
145
146
|
|
|
146
|
-
Do not commit real API keys.
|
|
147
|
+
Do not commit real API keys.
|
|
147
148
|
|
|
148
149
|
---
|
|
149
150
|
|
package/dist/src/meta.d.ts
CHANGED
package/dist/src/meta.js
CHANGED
package/examples/claude.mcp.json
CHANGED
package/examples/cursor.mcp.json
CHANGED
package/examples/roo.mcp.json
CHANGED
package/examples/vscode.mcp.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@runapi.ai/kling-mcp",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.7",
|
|
4
4
|
"description": "RunAPI Kling MCP server for video generation: create tasks, poll results, and check pricing across 11 model variants from Claude Code, Codex, Cursor, and VS Code.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/src/index.js",
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
},
|
|
59
59
|
"dependencies": {
|
|
60
60
|
"@modelcontextprotocol/sdk": "^1.29.0",
|
|
61
|
-
"@runapi.ai/mcp-core": "0.1.
|
|
61
|
+
"@runapi.ai/mcp-core": "0.1.5",
|
|
62
62
|
"zod": "^3.25.76"
|
|
63
63
|
},
|
|
64
64
|
"devDependencies": {
|
package/server.json
CHANGED
|
@@ -6,19 +6,19 @@
|
|
|
6
6
|
"url": "https://github.com/runapi-ai/kling-mcp",
|
|
7
7
|
"source": "github"
|
|
8
8
|
},
|
|
9
|
-
"version": "0.1.
|
|
9
|
+
"version": "0.1.7",
|
|
10
10
|
"packages": [
|
|
11
11
|
{
|
|
12
12
|
"registryType": "npm",
|
|
13
13
|
"identifier": "@runapi.ai/kling-mcp",
|
|
14
|
-
"version": "0.1.
|
|
14
|
+
"version": "0.1.7",
|
|
15
15
|
"transport": {
|
|
16
16
|
"type": "stdio"
|
|
17
17
|
},
|
|
18
18
|
"environmentVariables": [
|
|
19
19
|
{
|
|
20
|
-
"description": "RunAPI API key.
|
|
21
|
-
"isRequired":
|
|
20
|
+
"description": "Optional RunAPI API key for headless hosts. Interactive MCP hosts can use the login tool, which writes shared RunAPI config.",
|
|
21
|
+
"isRequired": false,
|
|
22
22
|
"format": "string",
|
|
23
23
|
"isSecret": true,
|
|
24
24
|
"name": "RUNAPI_API_KEY"
|