askell-mcp 0.4.0 → 0.4.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 +2 -2
- package/mcp.json.example +2 -2
- package/package.json +3 -1
- package/src/config.ts +2 -2
- package/src/index.ts +3 -1
package/README.md
CHANGED
|
@@ -28,7 +28,7 @@ Prefer **two server entries** if you have both production and sandbox keys. Tool
|
|
|
28
28
|
"mcpServers": {
|
|
29
29
|
"askell-prod": {
|
|
30
30
|
"command": "bunx",
|
|
31
|
-
"args": ["-y", "askell-mcp"],
|
|
31
|
+
"args": ["-y", "askell-mcp@latest"],
|
|
32
32
|
"env": {
|
|
33
33
|
"ASKELL_ENV": "production",
|
|
34
34
|
"ASKELL_PRIVATE_API_KEY": "your_production_secret_api_key"
|
|
@@ -36,7 +36,7 @@ Prefer **two server entries** if you have both production and sandbox keys. Tool
|
|
|
36
36
|
},
|
|
37
37
|
"askell-sandbox": {
|
|
38
38
|
"command": "bunx",
|
|
39
|
-
"args": ["-y", "askell-mcp"],
|
|
39
|
+
"args": ["-y", "askell-mcp@latest"],
|
|
40
40
|
"env": {
|
|
41
41
|
"ASKELL_ENV": "sandbox",
|
|
42
42
|
"ASKELL_PRIVATE_API_KEY": "your_sandbox_secret_api_key"
|
package/mcp.json.example
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"mcpServers": {
|
|
3
3
|
"askell-prod": {
|
|
4
4
|
"command": "bunx",
|
|
5
|
-
"args": ["-y", "askell-mcp"],
|
|
5
|
+
"args": ["-y", "askell-mcp@latest"],
|
|
6
6
|
"env": {
|
|
7
7
|
"ASKELL_ENV": "production",
|
|
8
8
|
"ASKELL_PRIVATE_API_KEY": "your_production_secret_api_key",
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
},
|
|
12
12
|
"askell-sandbox": {
|
|
13
13
|
"command": "bunx",
|
|
14
|
-
"args": ["-y", "askell-mcp"],
|
|
14
|
+
"args": ["-y", "askell-mcp@latest"],
|
|
15
15
|
"env": {
|
|
16
16
|
"ASKELL_ENV": "sandbox",
|
|
17
17
|
"ASKELL_PRIVATE_API_KEY": "your_sandbox_secret_api_key",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "askell-mcp",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.1",
|
|
4
4
|
"description": "MCP server for the Askell payment and subscription API (Bun + stdio)",
|
|
5
5
|
"author": "Neschadin Oleksandr",
|
|
6
6
|
"license": "MIT",
|
|
@@ -43,6 +43,8 @@
|
|
|
43
43
|
},
|
|
44
44
|
"scripts": {
|
|
45
45
|
"dev": "bun run src/index.ts",
|
|
46
|
+
"dev:prod": "bun --no-env-file --env-file=.env run src/index.ts",
|
|
47
|
+
"dev:sandbox": "bun --no-env-file --env-file=.env.sandbox run src/index.ts",
|
|
46
48
|
"start": "bun run bin/askell-mcp",
|
|
47
49
|
"test": "bun test",
|
|
48
50
|
"smoke": "bun run scripts/smoke-test.ts",
|
package/src/config.ts
CHANGED
|
@@ -144,7 +144,7 @@ Keys are per host. ASKELL_API_URL is only for a custom/local API.
|
|
|
144
144
|
"mcpServers": {
|
|
145
145
|
"askell-prod": {
|
|
146
146
|
"command": "bunx",
|
|
147
|
-
"args": ["-y", "askell-mcp"],
|
|
147
|
+
"args": ["-y", "askell-mcp@latest"],
|
|
148
148
|
"env": {
|
|
149
149
|
"ASKELL_ENV": "production",
|
|
150
150
|
"ASKELL_PRIVATE_API_KEY": "...",
|
|
@@ -153,7 +153,7 @@ Keys are per host. ASKELL_API_URL is only for a custom/local API.
|
|
|
153
153
|
},
|
|
154
154
|
"askell-sandbox": {
|
|
155
155
|
"command": "bunx",
|
|
156
|
-
"args": ["-y", "askell-mcp"],
|
|
156
|
+
"args": ["-y", "askell-mcp@latest"],
|
|
157
157
|
"env": {
|
|
158
158
|
"ASKELL_ENV": "sandbox",
|
|
159
159
|
"ASKELL_PRIVATE_API_KEY": "...",
|
package/src/index.ts
CHANGED
|
@@ -8,7 +8,9 @@ try {
|
|
|
8
8
|
|
|
9
9
|
void serveStdio(() => createServer(config));
|
|
10
10
|
|
|
11
|
-
console.error(
|
|
11
|
+
console.error(
|
|
12
|
+
`askell-mcp running on stdio (${config.askellEnv} ${config.apiBaseUrl})`,
|
|
13
|
+
);
|
|
12
14
|
} catch (error) {
|
|
13
15
|
const message = error instanceof Error ? error.message : String(error);
|
|
14
16
|
console.error(`askell-mcp failed to start: ${message}`);
|