@mafdet/mcp 1.5.1 → 1.6.0

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
@@ -17,7 +17,7 @@ OpenAI API works by pointing its base URL and key at Mafdet AI.
17
17
  - Base URL: `https://api.mafdet.ai/v1`
18
18
  - Endpoints: `/chat/completions`, `/embeddings`, `/audio/speech`
19
19
  - Providers: Google (Gemini), Kimi (Moonshot), Qwen, DeepSeek
20
- - 30 models as of August 2026. The catalogue changes, so the authoritative list
20
+ - The catalogue changes; the authoritative model list
21
21
  with current prices is [`models.json`](https://docs.mafdet.ai/models.json)
22
22
  - Docs: <https://docs.mafdet.ai>
23
23
 
@@ -25,7 +25,7 @@ OpenAI API works by pointing its base URL and key at Mafdet AI.
25
25
 
26
26
  | Tool | Needs a key | What it does |
27
27
  | --- | --- | --- |
28
- | `list_models` | no | List Mafdet AI models with provider, tier, per-1M-token pricing, and a `[preview]` / `[beta]` marker for models the provider has not declared generally available |
28
+ | `list_models` | no | List Mafdet AI models with provider, tier, pricing per dimension (tokens, images, or seconds), and a `[preview]` / `[beta]` marker for models the provider has not declared generally available |
29
29
  | `search_docs` | no | Search the Mafdet AI documentation (titles, URLs, summaries) |
30
30
  | `get_balance` | yes | Your organization's wallet: balance, bonus, frozen, available |
31
31
  | `get_usage_summary` | yes | Requests, tokens, and charge over the last N days (1–90) |
@@ -100,7 +100,7 @@ Omit `MAFDET_API_KEY` to use only the public tools (`list_models`,
100
100
 
101
101
  ## Notes
102
102
 
103
- - Pin a major version (`@mafdet/mcp@0`) in automated setups to avoid surprise
103
+ - Pin a major version (`@mafdet/mcp@1`) in automated setups to avoid surprise
104
104
  upgrades.
105
105
  - The server writes only JSON-RPC to stdout; diagnostics go to stderr and never
106
106
  include your key.
package/dist/index.js CHANGED
File without changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mafdet/mcp",
3
- "version": "1.5.1",
3
+ "version": "1.6.0",
4
4
  "description": "Mafdet AI MCP server — read-only account tools (models, balance, usage, subscription, docs) for Claude Code, Cursor, Codex, OpenCode, and Claude Desktop.",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -33,6 +33,12 @@
33
33
  "dist",
34
34
  "README.md"
35
35
  ],
36
+ "scripts": {
37
+ "build": "tsc -p tsconfig.json",
38
+ "lint": "prettier --check \"src/**/*.ts\" \"test/**/*.mjs\" package.json tsconfig.json",
39
+ "test": "pnpm run build && node --test \"test/**/*.test.mjs\"",
40
+ "typecheck": "tsc --noEmit -p tsconfig.json"
41
+ },
36
42
  "dependencies": {
37
43
  "@modelcontextprotocol/sdk": "^1.32.2",
38
44
  "zod": "^4.6.7"
@@ -43,11 +49,5 @@
43
49
  },
44
50
  "engines": {
45
51
  "node": ">=20"
46
- },
47
- "scripts": {
48
- "build": "tsc -p tsconfig.json",
49
- "lint": "prettier --check \"src/**/*.ts\" \"test/**/*.mjs\" package.json tsconfig.json",
50
- "test": "pnpm run build && node --test \"test/**/*.test.mjs\"",
51
- "typecheck": "tsc --noEmit -p tsconfig.json"
52
52
  }
53
- }
53
+ }