@mafdet/mcp 0.1.2 → 0.1.3

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/dist/client.d.ts CHANGED
@@ -12,4 +12,3 @@ interface GetJsonOptions {
12
12
  }
13
13
  export declare function getJson(options: GetJsonOptions): Promise<unknown>;
14
14
  export {};
15
- //# sourceMappingURL=client.d.ts.map
package/dist/config.d.ts CHANGED
@@ -4,4 +4,3 @@ export interface McpConfig {
4
4
  docsUrl: string;
5
5
  }
6
6
  export declare function loadConfig(env?: NodeJS.ProcessEnv): McpConfig;
7
- //# sourceMappingURL=config.d.ts.map
package/dist/index.d.ts CHANGED
@@ -1,4 +1,3 @@
1
1
  #!/usr/bin/env node
2
2
  import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
3
3
  export declare function buildServer(config?: import("./config.js").McpConfig): McpServer;
4
- //# sourceMappingURL=index.d.ts.map
package/dist/index.js CHANGED
@@ -11,7 +11,7 @@ import { getBalance, getSubscription, getUsageSummary, listModels, searchDocsToo
11
11
  // it); everything diagnostic goes to stderr via logError. The five tools are
12
12
  // read-only; account tools need MAFDET_API_KEY, the two public tools do not.
13
13
  export function buildServer(config = loadConfig()) {
14
- const server = new McpServer({ name: "mafdet-mcp", version: "0.1.2" });
14
+ const server = new McpServer({ name: "mafdet-mcp", version: "0.1.3" });
15
15
  server.registerTool("list_models", {
16
16
  title: "List Mafdet AI models",
17
17
  description: "List the models available on Mafdet AI with provider, tier, and per-1M-token pricing. No API key required.",
package/dist/logger.d.ts CHANGED
@@ -1,3 +1,2 @@
1
1
  export declare function redact(message: string): string;
2
2
  export declare function logError(message: string): void;
3
- //# sourceMappingURL=logger.d.ts.map
@@ -10,4 +10,3 @@ export declare function searchDocs(input: {
10
10
  docsBaseForUrl?: string;
11
11
  }): Promise<DocHit[]>;
12
12
  export declare function resetDocsCache(): void;
13
- //# sourceMappingURL=search-docs.d.ts.map
package/dist/tools.d.ts CHANGED
@@ -21,4 +21,3 @@ export declare function searchDocsTool(config: McpConfig, args: {
21
21
  query: string;
22
22
  limit?: number;
23
23
  }): Promise<ToolResult>;
24
- //# sourceMappingURL=tools.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mafdet/mcp",
3
- "version": "0.1.2",
3
+ "version": "0.1.3",
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",
@@ -1 +0,0 @@
1
- {"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../src/client.ts"],"names":[],"mappings":"AAUA,MAAM,MAAM,eAAe,GACvB,cAAc,GACd,WAAW,GACX,cAAc,GACd,aAAa,GACb,SAAS,GACT,cAAc,CAAC;AAEnB,qBAAa,iBAAkB,SAAQ,KAAK;aAExB,IAAI,EAAE,eAAe;gBAArB,IAAI,EAAE,eAAe,EACrC,OAAO,EAAE,MAAM;CAKlB;AAED,UAAU,cAAc;IACtB,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CAAC,CAAC;IAEpD,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,wBAAsB,OAAO,CAAC,OAAO,EAAE,cAAc,GAAG,OAAO,CAAC,OAAO,CAAC,CAkDvE"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../src/config.ts"],"names":[],"mappings":"AAKA,MAAM,WAAW,SAAS;IACxB,MAAM,EAAE,MAAM,GAAG,SAAS,CAAC;IAC3B,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;CACjB;AA4BD,wBAAgB,UAAU,CAAC,GAAG,GAAE,MAAM,CAAC,UAAwB,GAAG,SAAS,CAO1E"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAGA,OAAO,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAC;AAgBpE,wBAAgB,WAAW,CAAC,MAAM,kCAAe,GAAG,SAAS,CAmE5D"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"logger.d.ts","sourceRoot":"","sources":["../src/logger.ts"],"names":[],"mappings":"AAOA,wBAAgB,MAAM,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM,CAI9C;AAED,wBAAgB,QAAQ,CAAC,OAAO,EAAE,MAAM,GAAG,IAAI,CAE9C"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"search-docs.d.ts","sourceRoot":"","sources":["../src/search-docs.ts"],"names":[],"mappings":"AAKA,MAAM,WAAW,MAAM;IACrB,KAAK,EAAE,MAAM,CAAC;IACd,GAAG,EAAE,MAAM,CAAC;IACZ,OAAO,EAAE,MAAM,CAAC;CACjB;AAuCD,wBAAsB,UAAU,CAAC,KAAK,EAAE;IACtC,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB,GAAG,OAAO,CAAC,MAAM,EAAE,CAAC,CA0BpB;AAGD,wBAAgB,cAAc,IAAI,IAAI,CAErC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"tools.d.ts","sourceRoot":"","sources":["../src/tools.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAW7C,MAAM,WAAW,UAAU;IACzB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;IACvB,OAAO,EAAE,KAAK,CAAC;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IAC/C,OAA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