@2kw/ai-mcp-server 8.3.1 → 8.4.0-dev.10
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/ai-gateway.js
CHANGED
|
@@ -245,7 +245,7 @@ export function register(server, client) {
|
|
|
245
245
|
}
|
|
246
246
|
});
|
|
247
247
|
// ── list_models ─────────────────────────────────────────────────────────
|
|
248
|
-
server.tool("2kw_list_models", "List available AI models and providers accessible through the
|
|
248
|
+
server.tool("2kw_list_models", "List available AI models and providers accessible through the 2kw.ai gateway.", {}, async () => {
|
|
249
249
|
try {
|
|
250
250
|
const { data } = await client.GET("/v1/models");
|
|
251
251
|
const result = data;
|
package/dist/tools/tracing.js
CHANGED
|
@@ -103,7 +103,8 @@ export function register(server, client) {
|
|
|
103
103
|
content: [
|
|
104
104
|
{
|
|
105
105
|
type: "text",
|
|
106
|
-
|
|
106
|
+
// The list counts nothing (#1923): totalPages only says whether a next page exists.
|
|
107
|
+
text: `Traces (page ${(result.number ?? 0) + 1}${(result.number ?? 0) + 1 < (result.totalPages ?? 1) ? ", more on the next page" : ""}):\n${lines.join("\n") || "(none)"}`,
|
|
107
108
|
},
|
|
108
109
|
],
|
|
109
110
|
};
|
|
@@ -171,7 +172,7 @@ export function register(server, client) {
|
|
|
171
172
|
content: [
|
|
172
173
|
{
|
|
173
174
|
type: "text",
|
|
174
|
-
text: `Sessions (${result.
|
|
175
|
+
text: `Sessions (page ${(result.number ?? 0) + 1}${(result.number ?? 0) + 1 < (result.totalPages ?? 1) ? ", more on the next page" : ""}):\n${lines.join("\n") || "(none)"}`,
|
|
175
176
|
},
|
|
176
177
|
],
|
|
177
178
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@2kw/ai-mcp-server",
|
|
3
|
-
"version": "8.
|
|
3
|
+
"version": "8.4.0-dev.10",
|
|
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. 199 tools for Claude Code, Cursor, and Windsurf.",
|
|
5
5
|
"mcpName": "ai.2kw/mcp-server",
|
|
6
6
|
"keywords": [
|