@runapi.ai/infinitetalk-mcp 0.1.3 → 0.1.5

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
@@ -57,14 +57,14 @@ Codex, Cursor, Windsurf, VS Code, Roo Code, and other MCP hosts can use the same
57
57
  "mcpServers": {
58
58
  "infinitetalk": {
59
59
  "command": "npx",
60
- "args": ["-y", "@runapi.ai/infinitetalk-mcp"],
61
- "env": { "RUNAPI_API_KEY": "${RUNAPI_API_KEY}" }
60
+ "args": ["-y", "@runapi.ai/infinitetalk-mcp"]
62
61
  }
63
62
  }
64
63
  }
65
64
  ```
66
65
 
67
- Create an API key at [runapi.ai](https://runapi.ai) and expose it as `RUNAPI_API_KEY`. `check_pricing` can run without a key; task creation and status polling require one.
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
 
@@ -124,12 +124,13 @@ The assistant calls `check_pricing` and can link to the [InfiniteTalk model page
124
124
 
125
125
  ## Configuration
126
126
 
127
- The server reads the API key in this order:
127
+ The server resolves auth in this order:
128
128
 
129
- 1. `RUNAPI_API_KEY` environment variable
130
- 2. `~/.config/runapi/config.json`
129
+ 1. `RUNAPI_API_KEY` environment variable, useful for headless and CI hosts
130
+ 2. `~/.config/runapi/config.json`, created by the MCP `login` tool or `runapi login`
131
+ 3. No key, which still allows `check_pricing`
131
132
 
132
- Example config file:
133
+ The config file is normally managed by login. A pre-provisioned headless config can use:
133
134
 
134
135
  ```json
135
136
  {
@@ -137,7 +138,7 @@ Example config file:
137
138
  }
138
139
  ```
139
140
 
140
- Do not commit real API keys. Get one at [runapi.ai](https://runapi.ai).
141
+ Do not commit real API keys.
141
142
 
142
143
  ---
143
144
 
@@ -1,5 +1,5 @@
1
1
  export declare const META: {
2
2
  readonly name: "@runapi.ai/infinitetalk-mcp";
3
- readonly version: "0.1.1";
3
+ readonly version: "0.1.4";
4
4
  readonly lineSlug: "infinitetalk";
5
5
  };
package/dist/src/meta.js CHANGED
@@ -1,6 +1,6 @@
1
1
  export const META = {
2
2
  name: "@runapi.ai/infinitetalk-mcp",
3
- version: "0.1.1",
3
+ version: "0.1.4",
4
4
  lineSlug: "infinitetalk"
5
5
  };
6
6
  //# sourceMappingURL=meta.js.map
@@ -5,10 +5,7 @@
5
5
  "args": [
6
6
  "-y",
7
7
  "@runapi.ai/infinitetalk-mcp"
8
- ],
9
- "env": {
10
- "RUNAPI_API_KEY": "${RUNAPI_API_KEY}"
11
- }
8
+ ]
12
9
  }
13
10
  }
14
11
  }
@@ -5,10 +5,7 @@
5
5
  "args": [
6
6
  "-y",
7
7
  "@runapi.ai/infinitetalk-mcp"
8
- ],
9
- "env": {
10
- "RUNAPI_API_KEY": "${RUNAPI_API_KEY}"
11
- }
8
+ ]
12
9
  }
13
10
  }
14
11
  }
@@ -5,10 +5,7 @@
5
5
  "args": [
6
6
  "-y",
7
7
  "@runapi.ai/infinitetalk-mcp"
8
- ],
9
- "env": {
10
- "RUNAPI_API_KEY": "${RUNAPI_API_KEY}"
11
- }
8
+ ]
12
9
  }
13
10
  }
14
11
  }
@@ -6,10 +6,7 @@
6
6
  "args": [
7
7
  "-y",
8
8
  "@runapi.ai/infinitetalk-mcp"
9
- ],
10
- "env": {
11
- "RUNAPI_API_KEY": "${RUNAPI_API_KEY}"
12
- }
9
+ ]
13
10
  }
14
11
  }
15
12
  }
@@ -5,10 +5,7 @@
5
5
  "args": [
6
6
  "-y",
7
7
  "@runapi.ai/infinitetalk-mcp"
8
- ],
9
- "env": {
10
- "RUNAPI_API_KEY": "${RUNAPI_API_KEY}"
11
- }
8
+ ]
12
9
  }
13
10
  }
14
11
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@runapi.ai/infinitetalk-mcp",
3
- "version": "0.1.3",
3
+ "version": "0.1.5",
4
4
  "description": "RunAPI InfiniteTalk MCP server for video generation: create tasks, poll results, and check pricing across 1 model from Claude Code, Codex, Cursor, and VS Code.",
5
5
  "type": "module",
6
6
  "main": "dist/src/index.js",
@@ -55,7 +55,7 @@
55
55
  },
56
56
  "dependencies": {
57
57
  "@modelcontextprotocol/sdk": "^1.29.0",
58
- "@runapi.ai/mcp-core": "0.1.2",
58
+ "@runapi.ai/mcp-core": "0.1.5",
59
59
  "zod": "^3.25.76"
60
60
  },
61
61
  "devDependencies": {
package/server.json CHANGED
@@ -6,19 +6,19 @@
6
6
  "url": "https://github.com/runapi-ai/infinitetalk-mcp",
7
7
  "source": "github"
8
8
  },
9
- "version": "0.1.3",
9
+ "version": "0.1.5",
10
10
  "packages": [
11
11
  {
12
12
  "registryType": "npm",
13
13
  "identifier": "@runapi.ai/infinitetalk-mcp",
14
- "version": "0.1.3",
14
+ "version": "0.1.5",
15
15
  "transport": {
16
16
  "type": "stdio"
17
17
  },
18
18
  "environmentVariables": [
19
19
  {
20
- "description": "RunAPI API key. Create one at https://runapi.ai",
21
- "isRequired": true,
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"