@2kw/ai-mcp-server 7.0.0-dev.10 → 7.0.0-dev.12
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/tools/billing.js +2 -2
- package/package.json +1 -1
package/dist/tools/billing.js
CHANGED
|
@@ -43,10 +43,10 @@ export function register(server, client) {
|
|
|
43
43
|
};
|
|
44
44
|
}
|
|
45
45
|
});
|
|
46
|
-
server.tool("2kw_billing_has_available", "Check whether the org has enough
|
|
46
|
+
server.tool("2kw_billing_has_available", "Check whether the org has enough usage left for a metered action, such as an extraction, a document conversion or a gateway call, before running it. Returns a single boolean answer.", {
|
|
47
47
|
type: z
|
|
48
48
|
.enum(["EXTRACTION_CREDITS", "CONVERSION_CREDITS", "GATEWAY_TOKENS"])
|
|
49
|
-
.describe("
|
|
49
|
+
.describe("Metered action to check: EXTRACTION_CREDITS for an extraction, CONVERSION_CREDITS for a document conversion, GATEWAY_TOKENS for a gateway call"),
|
|
50
50
|
required: z.number().optional().describe("Amount required (server defaults to 1)"),
|
|
51
51
|
}, async (params) => {
|
|
52
52
|
try {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@2kw/ai-mcp-server",
|
|
3
|
-
"version": "7.0.0-dev.
|
|
3
|
+
"version": "7.0.0-dev.12",
|
|
4
4
|
"description": "MCP server for 2kw.ai — EU-hosted AI platform: OpenAI-compatible LLM gateway, schema-driven document extraction, transcription, agents with a knowledge base, and cost observability. 158 tools for Claude Code, Cursor, and Windsurf.",
|
|
5
5
|
"mcpName": "ai.2kw/mcp-server",
|
|
6
6
|
"keywords": [
|