@runapi.ai/gemini-omni-mcp 0.1.0 → 0.1.1
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 +117 -23
- package/dist/src/meta.d.ts +1 -1
- package/dist/src/meta.js +1 -1
- package/package.json +14 -3
- package/server.json +2 -2
package/README.md
CHANGED
|
@@ -1,38 +1,52 @@
|
|
|
1
|
-
|
|
1
|
+
<h1 align="center">Gemini Omni MCP Server</h1>
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
<p align="center">
|
|
4
|
+
<strong>Create Gemini Omni AI tasks through RunAPI — 3 endpoints, 3 models — then poll status and check pricing. One MCP server, one API key.</strong>
|
|
5
|
+
</p>
|
|
5
6
|
|
|
6
|
-
|
|
7
|
+
<p align="center">
|
|
8
|
+
<sub>Works with Claude Code, Codex, Cursor, Windsurf, VS Code, Roo Code, and any MCP-compatible host.</sub>
|
|
9
|
+
</p>
|
|
7
10
|
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
-
|
|
12
|
-
-
|
|
11
|
+
<p align="center">
|
|
12
|
+
<a href="https://www.npmjs.com/package/@runapi.ai/gemini-omni-mcp"><img src="https://img.shields.io/npm/v/%40runapi.ai/gemini-omni-mcp?style=flat-square&color=blue" alt="npm version"></a>
|
|
13
|
+
<a href="LICENSE"><img src="https://img.shields.io/badge/License-Apache_2.0-blue?style=flat-square" alt="Apache-2.0 license"></a>
|
|
14
|
+
<img src="https://img.shields.io/badge/Type-MCP_Server-blue?style=flat-square" alt="MCP Server">
|
|
15
|
+
<img src="https://img.shields.io/badge/Models-3-green?style=flat-square" alt="3 models">
|
|
16
|
+
</p>
|
|
13
17
|
|
|
14
|
-
|
|
18
|
+
<p align="center">
|
|
19
|
+
<a href="#quick-start">Quick Start</a> |
|
|
20
|
+
<a href="#tools">Tools</a> |
|
|
21
|
+
<a href="#models">Models</a> |
|
|
22
|
+
<a href="#examples">Examples</a> |
|
|
23
|
+
<a href="#configuration">Configuration</a>
|
|
24
|
+
</p>
|
|
15
25
|
|
|
16
|
-
|
|
17
|
-
it to `~/.config/runapi/config.json`:
|
|
26
|
+
---
|
|
18
27
|
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
28
|
+
## What Is This?
|
|
29
|
+
|
|
30
|
+
`@runapi.ai/gemini-omni-mcp` is a focused MCP server for the **Gemini Omni** model line on RunAPI.
|
|
31
|
+
It lets an MCP-compatible assistant create Gemini Omni tasks, poll their status, and check current pricing — all through a single RunAPI API key.
|
|
32
|
+
|
|
33
|
+
`check_pricing` works without a key. Task creation and status polling require `RUNAPI_API_KEY`.
|
|
34
|
+
This package is a pure client; it does not run a local generation backend.
|
|
23
35
|
|
|
24
|
-
|
|
25
|
-
https://runapi.ai/pricing.
|
|
36
|
+
---
|
|
26
37
|
|
|
27
|
-
##
|
|
38
|
+
## Quick Start
|
|
28
39
|
|
|
29
|
-
|
|
40
|
+
Add it to Claude Code:
|
|
30
41
|
|
|
31
42
|
```bash
|
|
32
|
-
npx -y @runapi.ai/gemini-omni-mcp
|
|
43
|
+
claude mcp add gemini-omni -s user -- npx -y @runapi.ai/gemini-omni-mcp
|
|
33
44
|
```
|
|
34
45
|
|
|
35
|
-
|
|
46
|
+
- `-s user`: global, available in all of your projects.
|
|
47
|
+
- `-s project`: team-shared, written to `.mcp.json` in the current repo so it can be committed.
|
|
48
|
+
|
|
49
|
+
For other hosts, or for manual configuration, use this JSON:
|
|
36
50
|
|
|
37
51
|
```json
|
|
38
52
|
{
|
|
@@ -46,6 +60,86 @@ Add it to an MCP client (see `examples/` for per-client configs):
|
|
|
46
60
|
}
|
|
47
61
|
```
|
|
48
62
|
|
|
63
|
+
Create an API key at [runapi.ai](https://runapi.ai) and expose it as `RUNAPI_API_KEY`.
|
|
64
|
+
See `examples/` for ready-made config files for Claude, Cursor, Windsurf, VS Code, and Roo.
|
|
65
|
+
|
|
66
|
+
---
|
|
67
|
+
|
|
68
|
+
## Tools
|
|
69
|
+
|
|
70
|
+
| Tool | Auth | Purpose |
|
|
71
|
+
|---|---|---|
|
|
72
|
+
| `create_audio` | Yes | Create a Gemini Omni task (create audio) and optionally poll until it reaches a terminal status. Returns the task id, status, output URLs, and a price snapshot. |
|
|
73
|
+
| `create_character` | Yes | Create a Gemini Omni task (create character) and optionally poll until it reaches a terminal status. Returns the task id, status, output URLs, and a price snapshot. |
|
|
74
|
+
| `text_to_video` | Yes | Create a Gemini Omni task (text to video) and optionally poll until it reaches a terminal status. Returns the task id, status, output URLs, and a price snapshot. |
|
|
75
|
+
| `get_task` | Yes | Fetch the current status and latest payload for an existing task. |
|
|
76
|
+
| `check_pricing` | No | Look up the current price for a Gemini Omni model and endpoint. |
|
|
77
|
+
|
|
78
|
+
---
|
|
79
|
+
|
|
80
|
+
## Models
|
|
81
|
+
|
|
82
|
+
Gemini Omni covers 3 models across 3 endpoints. Each tool accepts the models listed for it:
|
|
83
|
+
|
|
84
|
+
| Tool | Models |
|
|
85
|
+
|---|---|
|
|
86
|
+
| `create_audio` | `gemini-omni-audio` |
|
|
87
|
+
| `create_character` | `gemini-omni-character` |
|
|
88
|
+
| `text_to_video` | `gemini-omni-text-to-video` |
|
|
89
|
+
|
|
90
|
+
Call `check_pricing` for the current price of any model. Model availability can change between releases.
|
|
91
|
+
|
|
92
|
+
---
|
|
93
|
+
|
|
94
|
+
## Examples
|
|
95
|
+
|
|
96
|
+
Ask your assistant in natural language; it uses the tools to confirm pricing and run the task.
|
|
97
|
+
|
|
98
|
+
### Create a task
|
|
99
|
+
|
|
100
|
+
```text
|
|
101
|
+
Run a Gemini Omni create audio task with RunAPI.
|
|
102
|
+
```
|
|
103
|
+
|
|
104
|
+
The assistant calls `check_pricing` to confirm the cost, then `create_audio`, and returns the task id, status, and output URLs.
|
|
105
|
+
|
|
106
|
+
### Submit without waiting
|
|
107
|
+
|
|
108
|
+
```text
|
|
109
|
+
Create the task but don't wait for it to finish.
|
|
110
|
+
```
|
|
111
|
+
|
|
112
|
+
The assistant calls the create tool with `wait: false` and returns the task id. Check on it later with `get_task`.
|
|
113
|
+
|
|
114
|
+
### Check pricing
|
|
115
|
+
|
|
116
|
+
```text
|
|
117
|
+
What does Gemini Omni cost?
|
|
118
|
+
```
|
|
119
|
+
|
|
120
|
+
The assistant calls `check_pricing` and shows the current snapshot, or links to [runapi.ai/pricing](https://runapi.ai/pricing).
|
|
121
|
+
|
|
122
|
+
---
|
|
123
|
+
|
|
124
|
+
## Configuration
|
|
125
|
+
|
|
126
|
+
The server reads the API key in this order:
|
|
127
|
+
|
|
128
|
+
1. `RUNAPI_API_KEY` environment variable
|
|
129
|
+
2. `~/.config/runapi/config.json`
|
|
130
|
+
|
|
131
|
+
Example config file:
|
|
132
|
+
|
|
133
|
+
```json
|
|
134
|
+
{
|
|
135
|
+
"apiKey": "your_runapi_key"
|
|
136
|
+
}
|
|
137
|
+
```
|
|
138
|
+
|
|
139
|
+
Do not commit real API keys. Get one at [runapi.ai](https://runapi.ai); pricing is listed at [runapi.ai/pricing](https://runapi.ai/pricing).
|
|
140
|
+
|
|
141
|
+
---
|
|
142
|
+
|
|
49
143
|
## License
|
|
50
144
|
|
|
51
|
-
Apache
|
|
145
|
+
Licensed under the [Apache License, Version 2.0](LICENSE).
|
package/dist/src/meta.d.ts
CHANGED
package/dist/src/meta.js
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@runapi.ai/gemini-omni-mcp",
|
|
3
|
-
"version": "0.1.
|
|
4
|
-
"description": "
|
|
3
|
+
"version": "0.1.1",
|
|
4
|
+
"description": "Gemini Omni MCP server for RunAPI — create Gemini Omni AI tasks (create audio, create character, text to video), poll status, and check pricing across 3 models with one API key.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/src/index.js",
|
|
7
7
|
"bin": {
|
|
@@ -27,7 +27,18 @@
|
|
|
27
27
|
"runapi",
|
|
28
28
|
"mcp",
|
|
29
29
|
"model-context-protocol",
|
|
30
|
-
"ai"
|
|
30
|
+
"ai",
|
|
31
|
+
"gemini-omni",
|
|
32
|
+
"gemini-omni-mcp",
|
|
33
|
+
"gemini-omni-ai",
|
|
34
|
+
"gemini-omni-api",
|
|
35
|
+
"video-generation",
|
|
36
|
+
"ai-video",
|
|
37
|
+
"audio-generation",
|
|
38
|
+
"ai-audio",
|
|
39
|
+
"create-audio",
|
|
40
|
+
"create-character",
|
|
41
|
+
"text-to-video"
|
|
31
42
|
],
|
|
32
43
|
"author": "RunAPI",
|
|
33
44
|
"license": "Apache-2.0",
|
package/server.json
CHANGED
|
@@ -6,12 +6,12 @@
|
|
|
6
6
|
"url": "https://github.com/runapi-ai/gemini-omni-mcp",
|
|
7
7
|
"source": "github"
|
|
8
8
|
},
|
|
9
|
-
"version": "0.1.
|
|
9
|
+
"version": "0.1.1",
|
|
10
10
|
"packages": [
|
|
11
11
|
{
|
|
12
12
|
"registryType": "npm",
|
|
13
13
|
"identifier": "@runapi.ai/gemini-omni-mcp",
|
|
14
|
-
"version": "0.1.
|
|
14
|
+
"version": "0.1.1",
|
|
15
15
|
"transport": {
|
|
16
16
|
"type": "stdio"
|
|
17
17
|
},
|