@2kw/ai-mcp-server 6.2.0-dev.23 → 6.2.0-dev.30
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
|
@@ -12,7 +12,7 @@ export function agentModelReference(agent, agentModel) {
|
|
|
12
12
|
}
|
|
13
13
|
export function register(server, client) {
|
|
14
14
|
// ── chat ────────────────────────────────────────────────────────────────
|
|
15
|
-
server.tool("2kw_chat", "Send a chat completion request through Backbone's OpenAI-compatible AI gateway. Supports
|
|
15
|
+
server.tool("2kw_chat", "Send a chat completion request through Backbone's OpenAI-compatible AI gateway. Supports OpenAI, Azure OpenAI, Anthropic, xAI, Mistral and Ollama. Model format: 'provider/model' (e.g. 'openai/gpt-4o', 'anthropic/claude-sonnet-4-5-20250929'). Always non-streaming.", {
|
|
16
16
|
model: z.string().describe("Model identifier in 'provider/model' format"),
|
|
17
17
|
messages: z
|
|
18
18
|
.array(z.object({
|
package/dist/tools/providers.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
import { formatErrorForMcp } from "../errors.js";
|
|
3
|
+
// The API enum also has VERTEX_AI, but the gateway cannot build a model for it yet (#118).
|
|
3
4
|
const ProviderType = z.enum([
|
|
4
5
|
"OPENAI",
|
|
5
6
|
"AZURE_OPENAI",
|
|
6
7
|
"ANTHROPIC",
|
|
7
8
|
"XAI",
|
|
8
9
|
"MISTRAL",
|
|
9
|
-
"VERTEX_AI",
|
|
10
10
|
"OLLAMA",
|
|
11
11
|
]);
|
|
12
12
|
export function register(server, client) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@2kw/ai-mcp-server",
|
|
3
|
-
"version": "6.2.0-dev.
|
|
3
|
+
"version": "6.2.0-dev.30",
|
|
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": [
|