@aistupidlevel/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 +9 -0
- package/dist/config.d.ts +1 -1
- package/dist/config.js +1 -1
- package/dist/server.js +3 -1
- package/package.json +35 -8
package/README.md
CHANGED
|
@@ -142,6 +142,15 @@ Configuration**). VS Code prompts for the keys and stores them securely:
|
|
|
142
142
|
Any client that can start a stdio server can run it: the command is `npx -y @aistupidlevel/mcp`,
|
|
143
143
|
and the keys go in the environment variables listed under [Configuration](#configuration).
|
|
144
144
|
|
|
145
|
+
### Docker
|
|
146
|
+
|
|
147
|
+
The image builds the server from source. From the repository root:
|
|
148
|
+
|
|
149
|
+
```sh
|
|
150
|
+
docker build -f packages/mcp/Dockerfile -t aistupidlevel-mcp .
|
|
151
|
+
docker run -i --rm -e ASL_DATA_KEY=asl_live_... -e ASL_ROUTER_KEY=aism_... aistupidlevel-mcp
|
|
152
|
+
```
|
|
153
|
+
|
|
145
154
|
## Tools
|
|
146
155
|
|
|
147
156
|
All tools except `ask_router` are read-only.
|
package/dist/config.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/** Settings, read from the environment by default. Keys are never logged or echoed back. */
|
|
2
|
-
export declare const VERSION = "0.1.
|
|
2
|
+
export declare const VERSION = "0.1.1";
|
|
3
3
|
export declare const DEFAULT_DATA_BASE_URL = "https://aistupidlevel.info/api/v1";
|
|
4
4
|
export declare const DEFAULT_ROUTER_BASE_URL = "https://aistupidlevel.info/v1";
|
|
5
5
|
export declare const LINKS: {
|
package/dist/config.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/** Settings, read from the environment by default. Keys are never logged or echoed back. */
|
|
2
|
-
export const VERSION = '0.1.
|
|
2
|
+
export const VERSION = '0.1.1';
|
|
3
3
|
export const DEFAULT_DATA_BASE_URL = 'https://aistupidlevel.info/api/v1';
|
|
4
4
|
export const DEFAULT_ROUTER_BASE_URL = 'https://aistupidlevel.info/v1';
|
|
5
5
|
export const LINKS = {
|
package/dist/server.js
CHANGED
|
@@ -40,7 +40,9 @@ export function createServer(options = {}) {
|
|
|
40
40
|
version: VERSION,
|
|
41
41
|
websiteUrl: LINKS.site,
|
|
42
42
|
description: 'LLM benchmark rankings, drift status and incidents from AI Stupid Level, plus its Smart Router.',
|
|
43
|
-
|
|
43
|
+
// No `sizes`: the 2025-11-25 spec makes it a string array, but clients on earlier MCP SDKs
|
|
44
|
+
// (mcp-proxy 5.x, which Glama's checks run through) validate it as a string and refuse to connect.
|
|
45
|
+
icons: [{ src: 'https://aistupidlevel.info/apple-touch-icon.png', mimeType: 'image/png' }],
|
|
44
46
|
}, { instructions: INSTRUCTIONS });
|
|
45
47
|
const run = (fn) => async (args) => {
|
|
46
48
|
try {
|
package/package.json
CHANGED
|
@@ -1,24 +1,51 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aistupidlevel/mcp",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "MCP server for AI Stupid Level: LLM leaderboard, model history, drift status, incidents and provider status from the ASL Data API, plus route previews and prompts through the ASL Smart Router.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "AI Stupid Level (https://aistupidlevel.info)",
|
|
7
7
|
"homepage": "https://aistupidlevel.info/router/docs",
|
|
8
|
-
"repository": {
|
|
9
|
-
|
|
8
|
+
"repository": {
|
|
9
|
+
"type": "git",
|
|
10
|
+
"url": "git+https://github.com/StudioPlatforms/aistupidlevel-sdk.git",
|
|
11
|
+
"directory": "packages/mcp"
|
|
12
|
+
},
|
|
13
|
+
"bugs": {
|
|
14
|
+
"url": "https://github.com/StudioPlatforms/aistupidlevel-sdk/issues"
|
|
15
|
+
},
|
|
10
16
|
"mcpName": "io.github.StudioPlatforms/aistupidlevel",
|
|
11
|
-
"keywords": [
|
|
17
|
+
"keywords": [
|
|
18
|
+
"mcp",
|
|
19
|
+
"model-context-protocol",
|
|
20
|
+
"mcp-server",
|
|
21
|
+
"llm",
|
|
22
|
+
"benchmarks",
|
|
23
|
+
"leaderboard",
|
|
24
|
+
"drift",
|
|
25
|
+
"router",
|
|
26
|
+
"ai"
|
|
27
|
+
],
|
|
12
28
|
"type": "module",
|
|
13
29
|
"main": "./dist/index.js",
|
|
14
30
|
"types": "./dist/index.d.ts",
|
|
15
|
-
"bin": {
|
|
31
|
+
"bin": {
|
|
32
|
+
"aistupidlevel-mcp": "dist/cli.js"
|
|
33
|
+
},
|
|
16
34
|
"exports": {
|
|
17
|
-
".": {
|
|
35
|
+
".": {
|
|
36
|
+
"types": "./dist/index.d.ts",
|
|
37
|
+
"default": "./dist/index.js"
|
|
38
|
+
},
|
|
18
39
|
"./package.json": "./package.json"
|
|
19
40
|
},
|
|
20
|
-
"files": [
|
|
21
|
-
|
|
41
|
+
"files": [
|
|
42
|
+
"dist",
|
|
43
|
+
"README.md",
|
|
44
|
+
"LICENSE"
|
|
45
|
+
],
|
|
46
|
+
"engines": {
|
|
47
|
+
"node": ">=18"
|
|
48
|
+
},
|
|
22
49
|
"scripts": {
|
|
23
50
|
"build": "rm -rf dist && tsc -p tsconfig.json && chmod +x dist/cli.js",
|
|
24
51
|
"test": "node --test test/*.test.mjs",
|