@toolgrain/mcp 0.2.0-rc.0 → 0.2.0

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 (2) hide show
  1. package/CHANGELOG.md +5 -5
  2. package/package.json +3 -3
package/CHANGELOG.md CHANGED
@@ -1,18 +1,18 @@
1
1
  # @toolgrain/mcp
2
2
 
3
- ## 0.2.0-rc.0
3
+ ## 0.2.0
4
4
 
5
5
  ### Minor Changes
6
6
 
7
- - 9c5bffd: Declare resource OAuth scopes with `scopesSupported` on auth providers, including direct Clerk and JWT configuration. Validate and copy scope catalogs and emit them as `scopes_supported` in protected-resource discovery without imposing a required-scope policy.
8
-
7
+ - 2931553: Declare resource OAuth scopes with `scopesSupported` on auth providers, including direct Clerk and JWT configuration. Validate and copy scope catalogs and emit them as `scopes_supported` in protected-resource discovery without imposing a required-scope policy.
8
+
9
9
  Export Clerk's built-in OAuth scope catalog and named scope types, preserving editor completion and support for instance-defined custom scopes.
10
-
10
+
11
11
  Add `AuthError("insufficient_scope", { requiredScopes, description })` for verified-token scope denials. HTTP adapters return a 403 Bearer challenge with optional required scopes and explicit public guidance, preserving private causes and existing authentication behavior.
12
12
 
13
13
  ### Patch Changes
14
14
 
15
- - @toolgrain/protocol@0.2.0-rc.0
15
+ - @toolgrain/protocol@0.2.0
16
16
 
17
17
  ## 0.1.3
18
18
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@toolgrain/mcp",
3
- "version": "0.2.0-rc.0",
3
+ "version": "0.2.0",
4
4
  "description": "Define reusable, typed MCP tools and servers with Zod validation.",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -23,7 +23,7 @@
23
23
  "publishConfig": {
24
24
  "access": "public",
25
25
  "registry": "https://registry.npmjs.org/",
26
- "tag": "rc"
26
+ "tag": "latest"
27
27
  },
28
28
  "type": "module",
29
29
  "exports": {
@@ -59,7 +59,7 @@
59
59
  "@toolgrain/repo-tools": "0.0.0"
60
60
  },
61
61
  "dependencies": {
62
- "@toolgrain/protocol": "0.2.0-rc.0"
62
+ "@toolgrain/protocol": "0.2.0"
63
63
  },
64
64
  "engines": {
65
65
  "node": "^24.20.0",