@mastra/mcp-docs-server 1.2.8 → 1.2.9-alpha.1

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.
@@ -99,6 +99,7 @@ List of required environment variables for each model provider and gateway suppo
99
99
  | [Nova](https://mastra.ai/models/providers/nova) | `nova/*` | `NOVA_API_KEY` |
100
100
  | [NovitaAI](https://mastra.ai/models/providers/novita-ai) | `novita-ai/*` | `NOVITA_API_KEY` |
101
101
  | [Nvidia](https://mastra.ai/models/providers/nvidia) | `nvidia/*` | `NVIDIA_API_KEY` |
102
+ | [Ofox](https://mastra.ai/models/providers/ofox) | `ofox/*` | `OFOX_API_KEY` |
102
103
  | [Ollama Cloud](https://mastra.ai/models/providers/ollama-cloud) | `ollama-cloud/*` | `OLLAMA_API_KEY` |
103
104
  | [OpenAI](https://mastra.ai/models/providers/openai) | `openai/*` | `OPENAI_API_KEY` |
104
105
  | [OpenCode Go](https://mastra.ai/models/providers/opencode-go) | `opencode-go/*` | `OPENCODE_API_KEY` |
@@ -2,7 +2,7 @@
2
2
 
3
3
  # Model Providers
4
4
 
5
- Mastra provides a unified interface for working with LLMs across multiple providers, giving you access to 4898 models from 158 providers through a single API.
5
+ Mastra provides a unified interface for working with LLMs across multiple providers, giving you access to 4912 models from 159 providers through a single API.
6
6
 
7
7
  ## Features
8
8
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  # ![ClinePass logo](https://models.dev/logos/cline-pass.svg)ClinePass
4
4
 
5
- Access 10 ClinePass models through Mastra's model router. Authentication is handled automatically using the `CLINE_API_KEY` environment variable.
5
+ Access 11 ClinePass models through Mastra's model router. Authentication is handled automatically using the `CLINE_API_KEY` environment variable.
6
6
 
7
7
  Learn more in the [ClinePass documentation](https://docs.cline.bot/getting-started/clinepass).
8
8
 
@@ -41,6 +41,7 @@ for await (const chunk of stream) {
41
41
  | `cline-pass/cline-pass/glm-5.2` | 1.0M | | | | | | $1 | $4 |
42
42
  | `cline-pass/cline-pass/kimi-k2.6` | 262K | | | | | | $0.95 | $4 |
43
43
  | `cline-pass/cline-pass/kimi-k2.7-code` | 262K | | | | | | $0.95 | $4 |
44
+ | `cline-pass/cline-pass/kimi-k3` | 1.0M | | | | | | $3 | $15 |
44
45
  | `cline-pass/cline-pass/mimo-v2.5` | 1.0M | | | | | | $0.14 | $0.28 |
45
46
  | `cline-pass/cline-pass/mimo-v2.5-pro` | 1.0M | | | | | | $2 | $3 |
46
47
  | `cline-pass/cline-pass/minimax-m3` | 512K | | | | | | $0.30 | $1 |
@@ -0,0 +1,85 @@
1
+ > Discover all available pages from the documentation index: https://mastra.ai/llms.txt
2
+
3
+ # ![Ofox logo](https://models.dev/logos/ofox.svg)Ofox
4
+
5
+ Access 13 Ofox models through Mastra's model router. Authentication is handled automatically using the `OFOX_API_KEY` environment variable.
6
+
7
+ Learn more in the [Ofox documentation](https://ofox.ai/docs).
8
+
9
+ ```bash
10
+ OFOX_API_KEY=your-api-key
11
+ ```
12
+
13
+ ```typescript
14
+ import { Agent } from "@mastra/core/agent";
15
+
16
+ const agent = new Agent({
17
+ id: "my-agent",
18
+ name: "My Agent",
19
+ instructions: "You are a helpful assistant",
20
+ model: "ofox/anthropic/claude-fable-5"
21
+ });
22
+
23
+ // Generate a response
24
+ const response = await agent.generate("Hello!");
25
+
26
+ // Stream a response
27
+ const stream = await agent.stream("Tell me a story");
28
+ for await (const chunk of stream) {
29
+ console.log(chunk);
30
+ }
31
+ ```
32
+
33
+ > **Info:** Mastra uses the OpenAI-compatible `/chat/completions` endpoint. Some provider-specific features may not be available. Check the [Ofox documentation](https://ofox.ai/docs) for details.
34
+
35
+ ## Models
36
+
37
+ | Model | Context | Tools | Reasoning | Image | Audio | Video | Input $/1M | Output $/1M |
38
+ | ------------------------------------ | ------- | ----- | --------- | ----- | ----- | ----- | ---------- | ----------- |
39
+ | `ofox/anthropic/claude-fable-5` | 1.0M | | | | | | $10 | $50 |
40
+ | `ofox/anthropic/claude-opus-4.8` | 1.0M | | | | | | $5 | $25 |
41
+ | `ofox/anthropic/claude-sonnet-5` | 1.0M | | | | | | $2 | $10 |
42
+ | `ofox/bailian/qwen3.7-max` | 1.0M | | | | | | $3 | $8 |
43
+ | `ofox/deepseek/deepseek-v4-pro` | 1.0M | | | | | | $0.45 | $0.88 |
44
+ | `ofox/google/gemini-3.1-pro-preview` | 1.0M | | | | | | $2 | $12 |
45
+ | `ofox/moonshotai/kimi-k2.6` | 262K | | | | | | $0.95 | $4 |
46
+ | `ofox/openai/gpt-5.5` | 1.1M | | | | | | $5 | $30 |
47
+ | `ofox/openai/gpt-5.6-luna` | 1.1M | | | | | | $1 | $6 |
48
+ | `ofox/openai/gpt-5.6-sol` | 1.1M | | | | | | $5 | $30 |
49
+ | `ofox/openai/gpt-5.6-terra` | 1.1M | | | | | | $3 | $15 |
50
+ | `ofox/x-ai/grok-4.3` | 1.0M | | | | | | $1 | $3 |
51
+ | `ofox/z-ai/glm-5.2` | 1.0M | | | | | | $1 | $4 |
52
+
53
+ ## Advanced configuration
54
+
55
+ ### Custom headers
56
+
57
+ ```typescript
58
+ const agent = new Agent({
59
+ id: "custom-agent",
60
+ name: "custom-agent",
61
+ model: {
62
+ url: "https://api.ofox.ai/v1",
63
+ id: "ofox/anthropic/claude-fable-5",
64
+ apiKey: process.env.OFOX_API_KEY,
65
+ headers: {
66
+ "X-Custom-Header": "value"
67
+ }
68
+ }
69
+ });
70
+ ```
71
+
72
+ ### Dynamic model selection
73
+
74
+ ```typescript
75
+ const agent = new Agent({
76
+ id: "dynamic-agent",
77
+ name: "Dynamic Agent",
78
+ model: ({ requestContext }) => {
79
+ const useAdvanced = requestContext.task === "complex";
80
+ return useAdvanced
81
+ ? "ofox/z-ai/glm-5.2"
82
+ : "ofox/anthropic/claude-fable-5";
83
+ }
84
+ });
85
+ ```
@@ -99,6 +99,7 @@ Direct access to individual AI model providers. Each provider offers unique mode
99
99
  - [Nova](https://mastra.ai/models/providers/nova)
100
100
  - [NovitaAI](https://mastra.ai/models/providers/novita-ai)
101
101
  - [Nvidia](https://mastra.ai/models/providers/nvidia)
102
+ - [Ofox](https://mastra.ai/models/providers/ofox)
102
103
  - [Ollama Cloud](https://mastra.ai/models/providers/ollama-cloud)
103
104
  - [OpenCode Go](https://mastra.ai/models/providers/opencode-go)
104
105
  - [OpenCode Zen](https://mastra.ai/models/providers/opencode)
package/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # @mastra/mcp-docs-server
2
2
 
3
+ ## 1.2.9-alpha.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [[`55adddf`](https://github.com/mastra-ai/mastra/commit/55adddfda2a170b00c112bf37d677e8ce5b65d5a)]:
8
+ - @mastra/core@1.52.1-alpha.0
9
+
3
10
  ## 1.2.8
4
11
 
5
12
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mastra/mcp-docs-server",
3
- "version": "1.2.8",
3
+ "version": "1.2.9-alpha.1",
4
4
  "description": "MCP server for accessing Mastra.ai documentation, changelogs, and news.",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -28,7 +28,7 @@
28
28
  "jsdom": "^26.1.0",
29
29
  "local-pkg": "^1.1.2",
30
30
  "zod": "^4.4.3",
31
- "@mastra/core": "1.52.0",
31
+ "@mastra/core": "1.52.1-alpha.0",
32
32
  "@mastra/mcp": "^1.15.0"
33
33
  },
34
34
  "devDependencies": {
@@ -47,7 +47,7 @@
47
47
  "vitest": "4.1.10",
48
48
  "@internal/lint": "0.0.115",
49
49
  "@internal/types-builder": "0.0.90",
50
- "@mastra/core": "1.52.0"
50
+ "@mastra/core": "1.52.1-alpha.0"
51
51
  },
52
52
  "homepage": "https://mastra.ai",
53
53
  "repository": {