@mastra/mcp-docs-server 1.2.2-alpha.7 → 1.2.2

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.
Files changed (31) hide show
  1. package/.docs/docs/server/auth/google.md +281 -0
  2. package/.docs/docs/server/auth.md +2 -1
  3. package/.docs/models/gateways/openrouter.md +2 -1
  4. package/.docs/models/gateways/vercel.md +3 -1
  5. package/.docs/models/index.md +1 -1
  6. package/.docs/models/providers/baseten.md +1 -1
  7. package/.docs/models/providers/berget.md +4 -3
  8. package/.docs/models/providers/evroc.md +19 -17
  9. package/.docs/models/providers/fireworks-ai.md +2 -1
  10. package/.docs/models/providers/friendli.md +3 -1
  11. package/.docs/models/providers/llmgateway.md +22 -22
  12. package/.docs/models/providers/minimax-cn-coding-plan.md +1 -1
  13. package/.docs/models/providers/minimax-cn.md +1 -1
  14. package/.docs/models/providers/minimax-coding-plan.md +1 -1
  15. package/.docs/models/providers/minimax.md +1 -1
  16. package/.docs/models/providers/nebius.md +3 -2
  17. package/.docs/models/providers/neuralwatt.md +2 -1
  18. package/.docs/models/providers/opencode-go.md +1 -1
  19. package/.docs/models/providers/ovhcloud.md +1 -2
  20. package/.docs/models/providers/scaleway.md +2 -1
  21. package/.docs/models/providers/stepfun.md +3 -2
  22. package/.docs/models/providers/togetherai.md +3 -2
  23. package/.docs/models/providers/xiaomi-token-plan-ams.md +4 -6
  24. package/.docs/models/providers/xiaomi-token-plan-cn.md +4 -6
  25. package/.docs/models/providers/xiaomi-token-plan-sgp.md +4 -6
  26. package/.docs/models/providers/xiaomi.md +4 -7
  27. package/.docs/reference/agents/durable-agent.md +30 -3
  28. package/.docs/reference/auth/google.md +355 -0
  29. package/.docs/reference/index.md +1 -0
  30. package/CHANGELOG.md +28 -0
  31. package/package.json +5 -5
@@ -0,0 +1,355 @@
1
+ # MastraAuthGoogle & MastraRBACGoogle class
2
+
3
+ ## MastraAuthGoogle class
4
+
5
+ The `MastraAuthGoogle` class provides authentication for Mastra using Google Workspace. It implements an OAuth 2.0 / OIDC login flow with encrypted session cookies, verifies Google ID tokens, and integrates with the Mastra server using the `auth` option.
6
+
7
+ ### Usage example
8
+
9
+ ```typescript
10
+ import { Mastra } from '@mastra/core'
11
+ import { MastraAuthGoogle } from '@mastra/auth-google'
12
+
13
+ export const mastra = new Mastra({
14
+ server: {
15
+ auth: new MastraAuthGoogle({
16
+ clientId: process.env.GOOGLE_CLIENT_ID,
17
+ clientSecret: process.env.GOOGLE_CLIENT_SECRET,
18
+ redirectUri: process.env.GOOGLE_REDIRECT_URI,
19
+ allowedDomains: ['example.com'],
20
+ }),
21
+ },
22
+ })
23
+ ```
24
+
25
+ > **Note:** You can omit the constructor parameters if you have the appropriately named environment variables set. In that case, use `new MastraAuthGoogle()` without any arguments.
26
+
27
+ ### Constructor parameters
28
+
29
+ **clientId** (`string`): Google OAuth client ID. (Default: `process.env.GOOGLE_CLIENT_ID`)
30
+
31
+ **clientSecret** (`string`): Google OAuth client secret. Required for Studio SSO. (Default: `process.env.GOOGLE_CLIENT_SECRET`)
32
+
33
+ **redirectUri** (`string`): OAuth redirect URI for the SSO callback. Must match the redirect URI configured in your Google Cloud OAuth client. (Default: `process.env.GOOGLE_REDIRECT_URI`)
34
+
35
+ **scopes** (`string[]`): OAuth scopes requested during the login flow. (Default: `['openid', 'profile', 'email']`)
36
+
37
+ **allowedDomains** (`string | string[]`): Allowed Google Workspace hosted domains. Mastra validates these against the verified \`hd\` claim. (Default: `process.env.GOOGLE_ALLOWED_DOMAINS`)
38
+
39
+ **hostedDomain** (`string`): Hosted-domain login hint passed to Google as \`hd\`. This is a hint only and is not used for authorization. (Default: `process.env.GOOGLE_HOSTED_DOMAIN or the single allowed domain`)
40
+
41
+ **session** (`GoogleSessionOptions`): Session cookie configuration.
42
+
43
+ **session.cookieName** (`string`): Name of the session cookie.
44
+
45
+ **session.cookieMaxAge** (`number`): Cookie max age in seconds.
46
+
47
+ **session.cookiePassword** (`string`): Password for encrypting session cookies. Must be at least 32 characters. If not set, an auto-generated value is used in development that does not survive restarts.
48
+
49
+ **session.secureCookies** (`boolean`): Set the \`Secure\` flag on session cookies.
50
+
51
+ **name** (`string`): Custom name for the auth provider instance. (Default: `'google'`)
52
+
53
+ ### Environment variables
54
+
55
+ The following environment variables are automatically used when constructor options aren't provided:
56
+
57
+ **GOOGLE\_CLIENT\_ID** (`string`): Google OAuth client ID from your Google Cloud OAuth client.
58
+
59
+ **GOOGLE\_CLIENT\_SECRET** (`string`): Google OAuth client secret. Required for the SSO authorization code flow.
60
+
61
+ **GOOGLE\_REDIRECT\_URI** (`string`): OAuth redirect URI for the SSO callback.
62
+
63
+ **GOOGLE\_COOKIE\_PASSWORD** (`string`): Password for encrypting session cookies. Must be at least 32 characters.
64
+
65
+ **GOOGLE\_ALLOWED\_DOMAINS** (`string`): Comma-separated Google Workspace hosted domains to allow.
66
+
67
+ **GOOGLE\_HOSTED\_DOMAIN** (`string`): Hosted-domain login hint passed to Google during SSO login.
68
+
69
+ ### Authentication flow
70
+
71
+ `MastraAuthGoogle` authenticates requests in the following order:
72
+
73
+ 1. **Session cookie**: When SSO is enabled, reads the encrypted session cookie and decrypts it. If the session is valid and not expired, the user is authenticated.
74
+ 2. **Google ID token fallback**: If no valid session cookie is present, verifies the `Authorization` header token against Google's JWKS endpoint.
75
+
76
+ After authentication, `authorizeUser` checks that the user has a valid Google user ID, the token-derived expiration has not passed, and the user's verified `hd` claim matches `allowedDomains` when domains are configured.
77
+
78
+ ### Authentication methods
79
+
80
+ #### `authenticateToken(token, request?)`
81
+
82
+ Authenticates a Google ID token. When SSO is enabled, this method checks the encrypted session cookie before it verifies the Bearer token.
83
+
84
+ ```typescript
85
+ const user = await auth.authenticateToken(idToken, request)
86
+ ```
87
+
88
+ Returns: `Promise<GoogleUser | null>`
89
+
90
+ #### `getCurrentUser(request)`
91
+
92
+ Returns the authenticated user from a session cookie or Bearer Google ID token.
93
+
94
+ ```typescript
95
+ const user = await auth.getCurrentUser(request)
96
+ ```
97
+
98
+ Returns: `Promise<GoogleUser | null>`
99
+
100
+ #### `authorizeUser(user)`
101
+
102
+ Returns `true` when the user has an ID, has not expired, and matches `allowedDomains` when domains are configured.
103
+
104
+ ```typescript
105
+ const allowed = auth.authorizeUser(user)
106
+ ```
107
+
108
+ Returns: `boolean`
109
+
110
+ #### `getUser(userId)`
111
+
112
+ Returns `null`. Google ID tokens are verified directly, so this provider does not perform user lookup by ID.
113
+
114
+ ```typescript
115
+ const user = await auth.getUser(userId)
116
+ ```
117
+
118
+ Returns: `Promise<GoogleUser | null>`
119
+
120
+ ### `GoogleUser` type
121
+
122
+ The `GoogleUser` type extends the base `EEUser` interface with Google-specific fields:
123
+
124
+ **id** (`string`): Mastra user ID. Uses the Google \`sub\` claim.
125
+
126
+ **googleId** (`string`): Google Account subject identifier.
127
+
128
+ **email** (`string`): User email address.
129
+
130
+ **name** (`string`): User display name from Google profile claims.
131
+
132
+ **avatarUrl** (`string`): URL to the user's Google profile picture.
133
+
134
+ **hostedDomain** (`string`): Google Workspace hosted domain from the verified \`hd\` claim.
135
+
136
+ **expiresAt** (`Date`): Verified ID token expiration time, when available.
137
+
138
+ **emailVerified** (`boolean`): Whether Google reports the email address as verified.
139
+
140
+ **groups** (`string[]`): Optional pre-resolved Google Workspace group role IDs.
141
+
142
+ ## MastraRBACGoogle class
143
+
144
+ The `MastraRBACGoogle` class maps Google Workspace groups to Mastra permissions. It fetches user groups from the Google Admin SDK Directory API and resolves them against a configurable role mapping. Use it with `MastraAuthGoogle` or any other auth provider.
145
+
146
+ > **Note:** RBAC requires a valid Enterprise Edition license. It works without a license in development so you can try it locally, but you'll need a license for production. [Contact sales](https://mastra.ai/contact) for more information.
147
+
148
+ ### Usage example
149
+
150
+ Use `MastraRBACGoogle` alongside an auth provider by passing it to the `rbac` option:
151
+
152
+ ```typescript
153
+ import { Mastra } from '@mastra/core'
154
+ import { MastraAuthGoogle, MastraRBACGoogle } from '@mastra/auth-google'
155
+
156
+ export const mastra = new Mastra({
157
+ server: {
158
+ auth: new MastraAuthGoogle(),
159
+ rbac: new MastraRBACGoogle({
160
+ serviceAccount: {
161
+ clientEmail: process.env.GOOGLE_SERVICE_ACCOUNT_EMAIL!,
162
+ privateKey: process.env.GOOGLE_SERVICE_ACCOUNT_PRIVATE_KEY!,
163
+ subject: process.env.GOOGLE_WORKSPACE_ADMIN_EMAIL!,
164
+ },
165
+ roleMapping: {
166
+ 'admins@example.com': ['*'],
167
+ 'engineering@example.com': ['agents:*', 'workflows:*', 'tools:*'],
168
+ 'viewers@example.com': ['agents:read', 'workflows:read'],
169
+ _default: [],
170
+ },
171
+ }),
172
+ },
173
+ })
174
+ ```
175
+
176
+ To use Google Workspace RBAC with a different auth provider, pass a `getUserKey` function to resolve the Google Directory API user key from the other provider's user object:
177
+
178
+ ```typescript
179
+ import { Mastra } from '@mastra/core'
180
+ import { MastraAuthAuth0 } from '@mastra/auth-auth0'
181
+ import { MastraRBACGoogle } from '@mastra/auth-google'
182
+
183
+ export const mastra = new Mastra({
184
+ server: {
185
+ auth: new MastraAuthAuth0(),
186
+ rbac: new MastraRBACGoogle({
187
+ getUserKey: user => user.email,
188
+ serviceAccount: {
189
+ clientEmail: process.env.GOOGLE_SERVICE_ACCOUNT_EMAIL!,
190
+ privateKey: process.env.GOOGLE_SERVICE_ACCOUNT_PRIVATE_KEY!,
191
+ subject: process.env.GOOGLE_WORKSPACE_ADMIN_EMAIL!,
192
+ },
193
+ roleMapping: {
194
+ 'engineering@example.com': ['agents:*', 'workflows:*'],
195
+ 'admins@example.com': ['*'],
196
+ _default: [],
197
+ },
198
+ }),
199
+ },
200
+ })
201
+ ```
202
+
203
+ ### Constructor parameters
204
+
205
+ **roleMapping** (`RoleMapping`): Maps Google Workspace group role IDs to arrays of Mastra permission strings. Use \`'\_default'\` to assign permissions to users who do not match any group. Supports wildcards like \`'\*'\` (full access) and \`'agents:\*'\` (all agent actions).
206
+
207
+ **accessToken** (`string`): Pre-obtained Workspace Directory API access token.
208
+
209
+ **getAccessToken** (`() => Promise<string> | string`): Callback that returns a Workspace Directory API access token.
210
+
211
+ **serviceAccount** (`GoogleWorkspaceServiceAccount`): Service account credentials for domain-wide delegated Directory API access.
212
+
213
+ **serviceAccount.clientEmail** (`string`): Google service account email.
214
+
215
+ **serviceAccount.privateKey** (`string`): PEM-encoded private key. Escaped \`\n\` values from .env files are supported.
216
+
217
+ **serviceAccount.privateKeyId** (`string`): Optional private key ID.
218
+
219
+ **serviceAccount.subject** (`string`): Workspace administrator user to impersonate with domain-wide delegation.
220
+
221
+ **serviceAccount.scopes** (`string[]`): OAuth scopes for the service account token.
222
+
223
+ **getUserKey** (`(user: unknown) => string | undefined`): Extract the Directory API \`userKey\` from an authenticated user. Defaults to \`user.email\`.
224
+
225
+ **mapGroupToRoles** (`(group: GoogleWorkspaceGroup) => string[]`): Map a Google Workspace group to role IDs. Defaults to \`\[group.email]\`.
226
+
227
+ **cache** (`PermissionCacheOptions`): Configure the LRU cache for group lookups.
228
+
229
+ **cache.maxSize** (`number`): Maximum number of users to cache.
230
+
231
+ **cache.ttlMs** (`number`): Time-to-live in milliseconds.
232
+
233
+ ### RBAC methods
234
+
235
+ #### `getRoles(user)`
236
+
237
+ Returns Google Workspace group role IDs for a user.
238
+
239
+ ```typescript
240
+ const roles = await rbac.getRoles(user)
241
+ ```
242
+
243
+ Returns: `Promise<string[]>`
244
+
245
+ #### `getPermissions(user)`
246
+
247
+ Returns Mastra permissions resolved from Google Workspace groups and `roleMapping`.
248
+
249
+ ```typescript
250
+ const permissions = await rbac.getPermissions(user)
251
+ ```
252
+
253
+ Returns: `Promise<string[]>`
254
+
255
+ #### `hasPermission(user, permission)`
256
+
257
+ Checks whether a user has a permission.
258
+
259
+ ```typescript
260
+ const canReadAgents = await rbac.hasPermission(user, 'agents:read')
261
+ ```
262
+
263
+ Returns: `Promise<boolean>`
264
+
265
+ #### `hasRole(user, role)`
266
+
267
+ Checks whether a user resolved to a specific Google Workspace group role.
268
+
269
+ ```typescript
270
+ const isAdmin = await rbac.hasRole(user, 'admins@example.com')
271
+ ```
272
+
273
+ Returns: `Promise<boolean>`
274
+
275
+ #### `hasAllPermissions(user, permissions)`
276
+
277
+ Checks whether a user has every requested permission.
278
+
279
+ ```typescript
280
+ const canManageAgents = await rbac.hasAllPermissions(user, ['agents:read', 'agents:update'])
281
+ ```
282
+
283
+ Returns: `Promise<boolean>`
284
+
285
+ #### `hasAnyPermission(user, permissions)`
286
+
287
+ Checks whether a user has at least one requested permission.
288
+
289
+ ```typescript
290
+ const canReadSomething = await rbac.hasAnyPermission(user, ['agents:read', 'workflows:read'])
291
+ ```
292
+
293
+ Returns: `Promise<boolean>`
294
+
295
+ #### `getAvailableRoles()`
296
+
297
+ Returns the role IDs configured in `roleMapping`, excluding `_default`.
298
+
299
+ ```typescript
300
+ const roles = await rbac.getAvailableRoles()
301
+ ```
302
+
303
+ Returns: `Promise<{ id: string; name: string }[]>`
304
+
305
+ #### `getPermissionsForRole(roleId)`
306
+
307
+ Returns the permissions configured for a role ID.
308
+
309
+ ```typescript
310
+ const permissions = await rbac.getPermissionsForRole('engineering@example.com')
311
+ ```
312
+
313
+ Returns: `Promise<string[]>`
314
+
315
+ #### `clearCache()`
316
+
317
+ Clears all cached Google Workspace group lookups.
318
+
319
+ ```typescript
320
+ rbac.clearCache()
321
+ ```
322
+
323
+ Returns: `void`
324
+
325
+ #### `clearUserCache(userKey)`
326
+
327
+ Clears the cached group lookup for one Directory API user key, such as an email address.
328
+
329
+ ```typescript
330
+ rbac.clearUserCache('user@example.com')
331
+ ```
332
+
333
+ Returns: `void`
334
+
335
+ #### `getCacheStats()`
336
+
337
+ Returns the current group lookup cache size and maximum size.
338
+
339
+ ```typescript
340
+ const stats = rbac.getCacheStats()
341
+ ```
342
+
343
+ Returns: `{ size: number; maxSize: number }`
344
+
345
+ ### Additional configuration
346
+
347
+ `MastraRBACGoogle` uses `GET https://admin.googleapis.com/admin/directory/v1/groups?userKey=...` and handles pagination. Provide a service account with domain-wide delegation for production Google Workspace deployments, or pass `accessToken` / `getAccessToken` if your application already manages Google API tokens.
348
+
349
+ If `user.groups` is already an array, `MastraRBACGoogle` uses that value and does not call the Directory API. An empty `groups` array means the user has no Google group roles and resolves to `_default` permissions when `_default` is configured.
350
+
351
+ `MastraRBACGoogle` does not automatically read service-account environment variables. Pass service-account credentials through the `serviceAccount` option, or pass `accessToken` / `getAccessToken`.
352
+
353
+ ## Related
354
+
355
+ [Google auth docs](https://mastra.ai/docs/server/auth/google)
@@ -45,6 +45,7 @@ The Reference section provides documentation of Mastra's API, including paramete
45
45
  - [Better Auth](https://mastra.ai/reference/auth/better-auth)
46
46
  - [Clerk](https://mastra.ai/reference/auth/clerk)
47
47
  - [Firebase](https://mastra.ai/reference/auth/firebase)
48
+ - [Google](https://mastra.ai/reference/auth/google)
48
49
  - [JSON Web Token](https://mastra.ai/reference/auth/jwt)
49
50
  - [Okta](https://mastra.ai/reference/auth/okta)
50
51
  - [Supabase](https://mastra.ai/reference/auth/supabase)
package/CHANGELOG.md CHANGED
@@ -1,5 +1,33 @@
1
1
  # @mastra/mcp-docs-server
2
2
 
3
+ ## 1.2.2
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [[`86623c1`](https://github.com/mastra-ai/mastra/commit/86623c1adf7d22de32cc916dda17f4155184db36), [`023766f`](https://github.com/mastra-ai/mastra/commit/023766f44d59b30a50f3a381e33eddde8ab56c00), [`0200e75`](https://github.com/mastra-ai/mastra/commit/0200e7552d02d4221cd6040bf4eddf189a97a156), [`7c9dd77`](https://github.com/mastra-ai/mastra/commit/7c9dd77bd18cb8dc72797e25f1a0fbdc71a11347), [`7f9ae70`](https://github.com/mastra-ai/mastra/commit/7f9ae70826b047e5a66218f9e92f20e54a2d791f), [`a0509c7`](https://github.com/mastra-ai/mastra/commit/a0509c731a08aa3ed626557c5338126362856f57), [`06e0d63`](https://github.com/mastra-ai/mastra/commit/06e0d63d42bc2a202e18bc091f3781f409f5e6fb), [`bf3fe49`](https://github.com/mastra-ai/mastra/commit/bf3fe49f9467dbbdb8f9eaf74e0f7971ffb19559), [`01caf93`](https://github.com/mastra-ai/mastra/commit/01caf93d71ae2c1e65f49735cafb531975187426), [`438a971`](https://github.com/mastra-ai/mastra/commit/438a9715c8b4398e5eaf8914a1f19dc8a85dc1de), [`9990965`](https://github.com/mastra-ai/mastra/commit/999096571635a83b42ef40841fd7028cfa630779), [`77518cc`](https://github.com/mastra-ai/mastra/commit/77518ccb5bb8cc684875081e64213dc85cffdbee), [`fbeda0c`](https://github.com/mastra-ai/mastra/commit/fbeda0c0f35def07e6837936dd3a003b2b7c5172), [`8a68844`](https://github.com/mastra-ai/mastra/commit/8a688443013816105a09f89c6afa34b5ff13e26d), [`bb2a13b`](https://github.com/mastra-ai/mastra/commit/bb2a13bb4b32e6bb807200fe7b18ae8fa4322118), [`24ceaea`](https://github.com/mastra-ai/mastra/commit/24ceaea0bdd8609cabbab764380608ca6621a194), [`a73cd1a`](https://github.com/mastra-ai/mastra/commit/a73cd1a62a5e4ca023dcc39ba150029f4f1f74c1), [`c0ffa3c`](https://github.com/mastra-ai/mastra/commit/c0ffa3c897ccd326de880df734740a7f0681a18f), [`462a769`](https://github.com/mastra-ai/mastra/commit/462a769da61850862ca1be3d74134d33078ee6a7), [`0504bf5`](https://github.com/mastra-ai/mastra/commit/0504bf5e8cffc571a4b343326178de371e6f859b), [`0b5cc47`](https://github.com/mastra-ai/mastra/commit/0b5cc4726dc18d9a685a27520db39ff1b36bb89a), [`87f38a3`](https://github.com/mastra-ai/mastra/commit/87f38a3de03e24731f2dd6f8ed6a60b6722b85a1), [`d5fa3cd`](https://github.com/mastra-ai/mastra/commit/d5fa3cda1788c3cb93a361a3c6ec47de6ba21e98), [`fe98ef2`](https://github.com/mastra-ai/mastra/commit/fe98ef2e66dbfcbd7d645c88c9ee1e67b458a136), [`6ccf67b`](https://github.com/mastra-ai/mastra/commit/6ccf67bf075753754927a57bc2e1734ba2c820c5), [`793ea0f`](https://github.com/mastra-ai/mastra/commit/793ea0f52f831178837f21c83af6af93bf4ce638), [`825d8de`](https://github.com/mastra-ai/mastra/commit/825d8def9fa64c2bcc3d8dd6b49e09342c3ac5c7), [`507a5c4`](https://github.com/mastra-ai/mastra/commit/507a5c461bdc3136ad80744c0efbb55ce1f18f97), [`5afe423`](https://github.com/mastra-ai/mastra/commit/5afe423e4badf040f1b0d4525183a856fcb8146e), [`307573b`](https://github.com/mastra-ai/mastra/commit/307573b9ff3149b70c79540dbc86f1319b180f29), [`79b3626`](https://github.com/mastra-ai/mastra/commit/79b3626f8d647307eb07c8da14c9073c2699719d), [`c2c1d7b`](https://github.com/mastra-ai/mastra/commit/c2c1d7bb61d2602955f14ed3952f807c2d6eb576), [`86623c1`](https://github.com/mastra-ai/mastra/commit/86623c1adf7d22de32cc916dda17f4155184db36), [`1505c07`](https://github.com/mastra-ai/mastra/commit/1505c07603f6346bae12aa82f140e8b88ffea9ab), [`f328049`](https://github.com/mastra-ai/mastra/commit/f3280498c324afd2a8d36cd828f5b9f94a2dddc1), [`e545228`](https://github.com/mastra-ai/mastra/commit/e54522856934a5dc030b7b6385771e3548020d59), [`3eb852e`](https://github.com/mastra-ai/mastra/commit/3eb852e5435bc908b800193498103dc724f455b0), [`ffa09e7`](https://github.com/mastra-ai/mastra/commit/ffa09e772a5c92270eabe2090fc42d45bd8ec4b7), [`8c9f1c0`](https://github.com/mastra-ai/mastra/commit/8c9f1c0361d89066f9bcd14a2f69e761b01766c8), [`461a7c5`](https://github.com/mastra-ai/mastra/commit/461a7c501449295287f4f0ee4b0b42344f39fcf8), [`4211472`](https://github.com/mastra-ai/mastra/commit/4211472a5a2bd319c60cd2e42d9109c3eef7ac1c), [`9e45902`](https://github.com/mastra-ai/mastra/commit/9e4590208e745055cecca202e2db0e5c65e17d3c), [`5c0df77`](https://github.com/mastra-ai/mastra/commit/5c0df776c40efa420f8c07a2f3ee66010296618e), [`e940f09`](https://github.com/mastra-ai/mastra/commit/e940f099ef5d18b403e6f2b4937e086a4da857b1)]:
8
+ - @mastra/core@1.47.0
9
+
10
+ ## 1.2.2-alpha.12
11
+
12
+ ### Patch Changes
13
+
14
+ - Updated dependencies [[`8a68844`](https://github.com/mastra-ai/mastra/commit/8a688443013816105a09f89c6afa34b5ff13e26d)]:
15
+ - @mastra/core@1.47.0-alpha.7
16
+
17
+ ## 1.2.2-alpha.10
18
+
19
+ ### Patch Changes
20
+
21
+ - Updated dependencies [[`0200e75`](https://github.com/mastra-ai/mastra/commit/0200e7552d02d4221cd6040bf4eddf189a97a156), [`06e0d63`](https://github.com/mastra-ai/mastra/commit/06e0d63d42bc2a202e18bc091f3781f409f5e6fb), [`438a971`](https://github.com/mastra-ai/mastra/commit/438a9715c8b4398e5eaf8914a1f19dc8a85dc1de), [`77518cc`](https://github.com/mastra-ai/mastra/commit/77518ccb5bb8cc684875081e64213dc85cffdbee), [`bb2a13b`](https://github.com/mastra-ai/mastra/commit/bb2a13bb4b32e6bb807200fe7b18ae8fa4322118), [`a73cd1a`](https://github.com/mastra-ai/mastra/commit/a73cd1a62a5e4ca023dcc39ba150029f4f1f74c1), [`0b5cc47`](https://github.com/mastra-ai/mastra/commit/0b5cc4726dc18d9a685a27520db39ff1b36bb89a), [`87f38a3`](https://github.com/mastra-ai/mastra/commit/87f38a3de03e24731f2dd6f8ed6a60b6722b85a1), [`d5fa3cd`](https://github.com/mastra-ai/mastra/commit/d5fa3cda1788c3cb93a361a3c6ec47de6ba21e98), [`fe98ef2`](https://github.com/mastra-ai/mastra/commit/fe98ef2e66dbfcbd7d645c88c9ee1e67b458a136), [`793ea0f`](https://github.com/mastra-ai/mastra/commit/793ea0f52f831178837f21c83af6af93bf4ce638), [`507a5c4`](https://github.com/mastra-ai/mastra/commit/507a5c461bdc3136ad80744c0efbb55ce1f18f97), [`79b3626`](https://github.com/mastra-ai/mastra/commit/79b3626f8d647307eb07c8da14c9073c2699719d)]:
22
+ - @mastra/core@1.47.0-alpha.6
23
+
24
+ ## 1.2.2-alpha.8
25
+
26
+ ### Patch Changes
27
+
28
+ - Updated dependencies [[`023766f`](https://github.com/mastra-ai/mastra/commit/023766f44d59b30a50f3a381e33eddde8ab56c00), [`a0509c7`](https://github.com/mastra-ai/mastra/commit/a0509c731a08aa3ed626557c5338126362856f57), [`01caf93`](https://github.com/mastra-ai/mastra/commit/01caf93d71ae2c1e65f49735cafb531975187426), [`c2c1d7b`](https://github.com/mastra-ai/mastra/commit/c2c1d7bb61d2602955f14ed3952f807c2d6eb576), [`3eb852e`](https://github.com/mastra-ai/mastra/commit/3eb852e5435bc908b800193498103dc724f455b0)]:
29
+ - @mastra/core@1.47.0-alpha.5
30
+
3
31
  ## 1.2.2-alpha.6
4
32
 
5
33
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mastra/mcp-docs-server",
3
- "version": "1.2.2-alpha.7",
3
+ "version": "1.2.2",
4
4
  "description": "MCP server for accessing Mastra.ai documentation, changelogs, and news.",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -29,7 +29,7 @@
29
29
  "local-pkg": "^1.1.2",
30
30
  "zod": "^4.4.3",
31
31
  "@mastra/mcp": "^1.12.0",
32
- "@mastra/core": "1.47.0-alpha.4"
32
+ "@mastra/core": "1.47.0"
33
33
  },
34
34
  "devDependencies": {
35
35
  "@hono/node-server": "^1.19.11",
@@ -45,9 +45,9 @@
45
45
  "tsx": "^4.22.4",
46
46
  "typescript": "^6.0.3",
47
47
  "vitest": "4.1.8",
48
- "@internal/lint": "0.0.108",
49
- "@internal/types-builder": "0.0.83",
50
- "@mastra/core": "1.47.0-alpha.4"
48
+ "@internal/lint": "0.0.109",
49
+ "@internal/types-builder": "0.0.84",
50
+ "@mastra/core": "1.47.0"
51
51
  },
52
52
  "homepage": "https://mastra.ai",
53
53
  "repository": {