@mixio-pro/kalaasetu-mcp 1.0.0 → 1.0.1-beta
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 +156 -13
- package/bin/cli.js +33 -0
- package/package.json +3 -2
- package/src/index.ts +0 -0
package/README.md
CHANGED
|
@@ -2,6 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
Kalaasetu MCP Server - A powerful Model Context Protocol server providing various AI tools for content generation and analysis.
|
|
4
4
|
|
|
5
|
+
## Quick Start
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
npx @mixio-pro/kalaasetu-mcp@latest
|
|
9
|
+
```
|
|
10
|
+
|
|
5
11
|
## Features
|
|
6
12
|
|
|
7
13
|
### 🎨 Gemini Tools
|
|
@@ -24,12 +30,127 @@ Kalaasetu MCP Server - A powerful Model Context Protocol server providing variou
|
|
|
24
30
|
|
|
25
31
|
## Installation
|
|
26
32
|
|
|
27
|
-
|
|
33
|
+
### Using npx (Recommended)
|
|
34
|
+
|
|
35
|
+
Run directly without installation:
|
|
36
|
+
|
|
37
|
+
```bash
|
|
38
|
+
npx @mixio-pro/kalaasetu-mcp@latest
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
### Global Installation
|
|
42
|
+
|
|
43
|
+
```bash
|
|
44
|
+
npm install -g @mixio-pro/kalaasetu-mcp
|
|
45
|
+
kalaasetu-mcp
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
### Local Development
|
|
49
|
+
|
|
50
|
+
To install dependencies for local development:
|
|
28
51
|
|
|
29
52
|
```bash
|
|
30
53
|
bun install
|
|
31
54
|
```
|
|
32
55
|
|
|
56
|
+
## MCP Client Configuration
|
|
57
|
+
|
|
58
|
+
### Cursor IDE
|
|
59
|
+
|
|
60
|
+
Add to your Cursor settings (`~/.cursor/config.json` or via Settings → MCP):
|
|
61
|
+
|
|
62
|
+
```json
|
|
63
|
+
{
|
|
64
|
+
"mcpServers": {
|
|
65
|
+
"kalaasetu": {
|
|
66
|
+
"command": "npx",
|
|
67
|
+
"args": ["@mixio-pro/kalaasetu-mcp@latest"],
|
|
68
|
+
"env": {
|
|
69
|
+
"GEMINI_API_KEY": "your-gemini-api-key",
|
|
70
|
+
"FAL_KEY": "your-fal-api-key",
|
|
71
|
+
"PERPLEXITY_API_KEY": "your-perplexity-api-key",
|
|
72
|
+
"GOOGLE_APPLICATION_CREDENTIALS": "/path/to/your/gcp-credentials.json"
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
```
|
|
78
|
+
|
|
79
|
+
### OpenCode IDE
|
|
80
|
+
|
|
81
|
+
Add to your OpenCode MCP configuration:
|
|
82
|
+
|
|
83
|
+
```json
|
|
84
|
+
{
|
|
85
|
+
"mcpServers": {
|
|
86
|
+
"kalaasetu": {
|
|
87
|
+
"type": "local",
|
|
88
|
+
"command": ["npx", "@mixio-pro/kalaasetu-mcp@latest"],
|
|
89
|
+
"env": {
|
|
90
|
+
"GEMINI_API_KEY": "your-gemini-api-key",
|
|
91
|
+
"FAL_KEY": "your-fal-api-key",
|
|
92
|
+
"PERPLEXITY_API_KEY": "your-perplexity-api-key",
|
|
93
|
+
"GOOGLE_APPLICATION_CREDENTIALS": "/path/to/your/gcp-credentials.json"
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
```
|
|
99
|
+
|
|
100
|
+
### Claude Desktop
|
|
101
|
+
|
|
102
|
+
Add to your Claude Desktop configuration (`~/Library/Application Support/Claude/claude_desktop_config.json` on macOS):
|
|
103
|
+
|
|
104
|
+
```json
|
|
105
|
+
{
|
|
106
|
+
"mcpServers": {
|
|
107
|
+
"kalaasetu": {
|
|
108
|
+
"command": "npx",
|
|
109
|
+
"args": ["@mixio-pro/kalaasetu-mcp@latest"],
|
|
110
|
+
"env": {
|
|
111
|
+
"GEMINI_API_KEY": "your-gemini-api-key",
|
|
112
|
+
"FAL_KEY": "your-fal-api-key",
|
|
113
|
+
"PERPLEXITY_API_KEY": "your-perplexity-api-key",
|
|
114
|
+
"GOOGLE_APPLICATION_CREDENTIALS": "/path/to/your/gcp-credentials.json"
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
```
|
|
120
|
+
|
|
121
|
+
## Environment Variables
|
|
122
|
+
|
|
123
|
+
### Required API Keys
|
|
124
|
+
|
|
125
|
+
| Variable | Description | Get API Key |
|
|
126
|
+
|----------|-------------|-------------|
|
|
127
|
+
| `GEMINI_API_KEY` | For Gemini image generation, TTS, and video analysis | [Google AI Studio](https://aistudio.google.com/app/apikey) |
|
|
128
|
+
| `FAL_KEY` | For Infinitalk and Hunyuan Avatar tools | [FAL AI](https://fal.ai/dashboard/keys) |
|
|
129
|
+
| `PERPLEXITY_API_KEY` | For image and video search | [Perplexity API](https://www.perplexity.ai/settings/api) |
|
|
130
|
+
| `GOOGLE_APPLICATION_CREDENTIALS` | For Vertex AI Image-to-Video (Veo) | [GCP Console](https://console.cloud.google.com/apis/credentials) |
|
|
131
|
+
|
|
132
|
+
### Setting Environment Variables
|
|
133
|
+
|
|
134
|
+
#### For Command Line Usage
|
|
135
|
+
|
|
136
|
+
```bash
|
|
137
|
+
# macOS/Linux
|
|
138
|
+
export GEMINI_API_KEY="your-gemini-api-key"
|
|
139
|
+
export FAL_KEY="your-fal-api-key"
|
|
140
|
+
export PERPLEXITY_API_KEY="your-perplexity-api-key"
|
|
141
|
+
export GOOGLE_APPLICATION_CREDENTIALS="/path/to/your/gcp-credentials.json"
|
|
142
|
+
|
|
143
|
+
# Windows (PowerShell)
|
|
144
|
+
$env:GEMINI_API_KEY="your-gemini-api-key"
|
|
145
|
+
$env:FAL_KEY="your-fal-api-key"
|
|
146
|
+
$env:PERPLEXITY_API_KEY="your-perplexity-api-key"
|
|
147
|
+
$env:GOOGLE_APPLICATION_CREDENTIALS="C:\path\to\your\gcp-credentials.json"
|
|
148
|
+
```
|
|
149
|
+
|
|
150
|
+
#### For MCP Clients
|
|
151
|
+
|
|
152
|
+
Set the environment variables in your MCP client configuration as shown in the examples above.
|
|
153
|
+
|
|
33
154
|
## Configuration
|
|
34
155
|
|
|
35
156
|
Set up the required API keys as environment variables:
|
|
@@ -48,17 +169,27 @@ export PERPLEXITY_API_KEY="your-perplexity-api-key"
|
|
|
48
169
|
|
|
49
170
|
## Running the Server
|
|
50
171
|
|
|
51
|
-
|
|
172
|
+
### Local Development
|
|
173
|
+
|
|
174
|
+
To run the server locally:
|
|
175
|
+
|
|
176
|
+
```bash
|
|
177
|
+
bun run src/index.ts
|
|
178
|
+
```
|
|
179
|
+
|
|
180
|
+
Or with auto-reload:
|
|
52
181
|
|
|
53
182
|
```bash
|
|
54
|
-
bun run
|
|
183
|
+
bun run dev
|
|
55
184
|
```
|
|
56
185
|
|
|
57
|
-
##
|
|
186
|
+
## Available Tools
|
|
187
|
+
|
|
188
|
+
### Infinitalk
|
|
58
189
|
|
|
59
190
|
Generate talking avatar videos from images and audio using FAL AI's Infinitalk model.
|
|
60
191
|
|
|
61
|
-
|
|
192
|
+
#### Parameters
|
|
62
193
|
|
|
63
194
|
- `image_url` (required): URL of the input image
|
|
64
195
|
- `audio_url` (required): URL of the audio file for lip-sync
|
|
@@ -67,9 +198,8 @@ Generate talking avatar videos from images and audio using FAL AI's Infinitalk m
|
|
|
67
198
|
- `resolution` (optional): Video resolution - "480p" or "720p" (default: "480p")
|
|
68
199
|
- `seed` (optional): Random seed for reproducibility (default: 42)
|
|
69
200
|
- `acceleration` (optional): Generation speed - "none", "regular", or "high" (default: "regular")
|
|
70
|
-
- `fal_key` (optional): FAL API key (uses FAL_KEY env var if not provided)
|
|
71
201
|
|
|
72
|
-
|
|
202
|
+
#### Example Usage
|
|
73
203
|
|
|
74
204
|
```json
|
|
75
205
|
{
|
|
@@ -81,11 +211,11 @@ Generate talking avatar videos from images and audio using FAL AI's Infinitalk m
|
|
|
81
211
|
}
|
|
82
212
|
```
|
|
83
213
|
|
|
84
|
-
|
|
214
|
+
### Perplexity Images
|
|
85
215
|
|
|
86
216
|
Search for images using Perplexity AI with advanced filtering options.
|
|
87
217
|
|
|
88
|
-
|
|
218
|
+
#### Parameters
|
|
89
219
|
|
|
90
220
|
- `query` (required): The search query for images
|
|
91
221
|
- `image_domain_filter` (optional): Array of domains to include or exclude (prefix with '-' to exclude)
|
|
@@ -93,7 +223,7 @@ Search for images using Perplexity AI with advanced filtering options.
|
|
|
93
223
|
- `image_format_filter` (optional): Array of allowed image formats
|
|
94
224
|
- Example: `["jpg", "png", "gif"]`
|
|
95
225
|
|
|
96
|
-
|
|
226
|
+
#### Example Usage
|
|
97
227
|
|
|
98
228
|
```json
|
|
99
229
|
{
|
|
@@ -103,17 +233,17 @@ Search for images using Perplexity AI with advanced filtering options.
|
|
|
103
233
|
}
|
|
104
234
|
```
|
|
105
235
|
|
|
106
|
-
|
|
236
|
+
### Perplexity Videos
|
|
107
237
|
|
|
108
238
|
Search for videos using Perplexity AI with domain filtering.
|
|
109
239
|
|
|
110
|
-
|
|
240
|
+
#### Parameters
|
|
111
241
|
|
|
112
242
|
- `query` (required): The search query for videos
|
|
113
243
|
- `search_domain_filter` (optional): Array of domains to limit search (use '-' prefix to exclude)
|
|
114
244
|
- Example: `["youtube.com"]` or `["-tiktok.com"]`
|
|
115
245
|
|
|
116
|
-
|
|
246
|
+
#### Example Usage
|
|
117
247
|
|
|
118
248
|
```json
|
|
119
249
|
{
|
|
@@ -122,6 +252,19 @@ Search for videos using Perplexity AI with domain filtering.
|
|
|
122
252
|
}
|
|
123
253
|
```
|
|
124
254
|
|
|
255
|
+
## Testing
|
|
256
|
+
|
|
257
|
+
You can test the MCP server using the MCP Inspector:
|
|
258
|
+
|
|
259
|
+
```bash
|
|
260
|
+
npx @modelcontextprotocol/inspector npx @mixio-pro/kalaasetu-mcp@latest
|
|
261
|
+
```
|
|
262
|
+
|
|
263
|
+
## Requirements
|
|
264
|
+
|
|
265
|
+
- **Bun**: This package requires Bun runtime. Install from [bun.sh](https://bun.sh)
|
|
266
|
+
- **API Keys**: Obtain the necessary API keys from the providers listed above
|
|
267
|
+
|
|
125
268
|
## Project Info
|
|
126
269
|
|
|
127
270
|
This project was created using `bun init` in bun v1.3.1. [Bun](https://bun.com) is a fast all-in-one JavaScript runtime.
|
package/bin/cli.js
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
|
|
3
|
+
// Wrapper to run with Bun if available, otherwise Node
|
|
4
|
+
import { spawn } from 'child_process';
|
|
5
|
+
import { fileURLToPath } from 'url';
|
|
6
|
+
import { dirname, join } from 'path';
|
|
7
|
+
|
|
8
|
+
const __filename = fileURLToPath(import.meta.url);
|
|
9
|
+
const __dirname = dirname(__filename);
|
|
10
|
+
const indexPath = join(__dirname, '..', 'src', 'index.ts');
|
|
11
|
+
|
|
12
|
+
// Try to run with Bun first
|
|
13
|
+
const bunProcess = spawn('bun', [indexPath], {
|
|
14
|
+
stdio: 'inherit',
|
|
15
|
+
shell: true
|
|
16
|
+
});
|
|
17
|
+
|
|
18
|
+
bunProcess.on('error', (error) => {
|
|
19
|
+
if (error.code === 'ENOENT') {
|
|
20
|
+
console.error('Error: This package requires Bun to be installed.');
|
|
21
|
+
console.error('Please install Bun from https://bun.sh');
|
|
22
|
+
console.error('');
|
|
23
|
+
console.error('Install with:');
|
|
24
|
+
console.error(' curl -fsSL https://bun.sh/install | bash');
|
|
25
|
+
process.exit(1);
|
|
26
|
+
} else {
|
|
27
|
+
throw error;
|
|
28
|
+
}
|
|
29
|
+
});
|
|
30
|
+
|
|
31
|
+
bunProcess.on('exit', (code) => {
|
|
32
|
+
process.exit(code || 0);
|
|
33
|
+
});
|
package/package.json
CHANGED
|
@@ -1,15 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mixio-pro/kalaasetu-mcp",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.1-beta",
|
|
4
4
|
"description": "A powerful Model Context Protocol server providing AI tools for content generation and analysis",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "src/index.ts",
|
|
7
7
|
"main": "src/index.ts",
|
|
8
8
|
"bin": {
|
|
9
|
-
"kalaasetu-mcp": "./
|
|
9
|
+
"kalaasetu-mcp": "./bin/cli.js"
|
|
10
10
|
},
|
|
11
11
|
"files": [
|
|
12
12
|
"src",
|
|
13
|
+
"bin",
|
|
13
14
|
"README.md",
|
|
14
15
|
"LICENSE"
|
|
15
16
|
],
|
package/src/index.ts
CHANGED
|
File without changes
|