@lovable.dev/mcp-js 0.9.0 → 0.9.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.
- package/dist/{chunk-BG3HOZXZ.js → chunk-2RGXCDBU.js} +1 -1
- package/dist/{chunk-3GQXQBYQ.js → chunk-4JO3BZQG.js} +1 -1
- package/dist/{chunk-SBKIKJNB.js → chunk-6N7B7NZY.js} +1 -1
- package/dist/{chunk-CJMHLE7F.js → chunk-OXSSMKQE.js} +1 -1
- package/dist/{chunk-FQLM4JDU.js → chunk-YQBOGY7D.js} +1 -0
- package/dist/protocols/mcp/index.cjs +1 -0
- package/dist/protocols/mcp/index.js +2 -2
- package/dist/protocols/oauth-metadata.cjs +1 -0
- package/dist/protocols/oauth-metadata.js +2 -2
- package/dist/protocols/rest/index.cjs +1 -0
- package/dist/protocols/rest/index.js +3 -3
- package/dist/stacks/tanstack/cli/extract-manifest.cjs +1 -1
- package/dist/stacks/tanstack/cli/extract-manifest.js +3 -3
- package/dist/stacks/tanstack/index.cjs +1 -0
- package/dist/stacks/tanstack/index.js +5 -5
- package/package.json +1 -1
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
createRequestAuthorizer,
|
|
9
9
|
methodNotAllowed,
|
|
10
10
|
withCors
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-YQBOGY7D.js";
|
|
12
12
|
|
|
13
13
|
// src/protocols/rest/invoke-tool.ts
|
|
14
14
|
import { getParseErrorMessage, objectFromShape, safeParseAsync } from "@modelcontextprotocol/sdk/server/zod-compat.js";
|
|
@@ -225,6 +225,7 @@ async function fetchVerificationKeySet(jwksUri) {
|
|
|
225
225
|
async function verifyJwtClaims(token, keySet, issuer, audience, auth) {
|
|
226
226
|
try {
|
|
227
227
|
const { payload } = await jwtVerify(token, keySet, {
|
|
228
|
+
typ: "at+jwt",
|
|
228
229
|
// `issuer` is trimmed of any trailing slash; accept both forms so a token whose
|
|
229
230
|
// `iss` carries the slash the AS publishes still verifies.
|
|
230
231
|
issuer: [issuer, `${issuer}/`],
|
|
@@ -316,6 +316,7 @@ async function fetchVerificationKeySet(jwksUri) {
|
|
|
316
316
|
async function verifyJwtClaims(token, keySet, issuer, audience, auth) {
|
|
317
317
|
try {
|
|
318
318
|
const { payload } = await (0, import_jose.jwtVerify)(token, keySet, {
|
|
319
|
+
typ: "at+jwt",
|
|
319
320
|
// `issuer` is trimmed of any trailing slash; accept both forms so a token whose
|
|
320
321
|
// `iss` carries the slash the AS publishes still verifies.
|
|
321
322
|
issuer: [issuer, `${issuer}/`],
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createMcpProtocolHandler
|
|
3
|
-
} from "../../chunk-
|
|
3
|
+
} from "../../chunk-OXSSMKQE.js";
|
|
4
4
|
import "../../chunk-MA5H6PSF.js";
|
|
5
|
-
import "../../chunk-
|
|
5
|
+
import "../../chunk-YQBOGY7D.js";
|
|
6
6
|
import "../../chunk-QC3DXQTH.js";
|
|
7
7
|
import "../../chunk-6DXGZZA4.js";
|
|
8
8
|
export {
|
|
@@ -318,6 +318,7 @@ async function fetchVerificationKeySet(jwksUri) {
|
|
|
318
318
|
async function verifyJwtClaims(token, keySet, issuer, audience, auth) {
|
|
319
319
|
try {
|
|
320
320
|
const { payload } = await (0, import_jose.jwtVerify)(token, keySet, {
|
|
321
|
+
typ: "at+jwt",
|
|
321
322
|
// `issuer` is trimmed of any trailing slash; accept both forms so a token whose
|
|
322
323
|
// `iss` carries the slash the AS publishes still verifies.
|
|
323
324
|
issuer: [issuer, `${issuer}/`],
|
|
@@ -326,6 +326,7 @@ async function fetchVerificationKeySet(jwksUri) {
|
|
|
326
326
|
async function verifyJwtClaims(token, keySet, issuer, audience, auth) {
|
|
327
327
|
try {
|
|
328
328
|
const { payload } = await (0, import_jose.jwtVerify)(token, keySet, {
|
|
329
|
+
typ: "at+jwt",
|
|
329
330
|
// `issuer` is trimmed of any trailing slash; accept both forms so a token whose
|
|
330
331
|
// `iss` carries the slash the AS publishes still verifies.
|
|
331
332
|
issuer: [issuer, `${issuer}/`],
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createInvokeToolHandler
|
|
3
|
-
} from "../../chunk-
|
|
3
|
+
} from "../../chunk-6N7B7NZY.js";
|
|
4
4
|
import "../../chunk-MA5H6PSF.js";
|
|
5
5
|
import {
|
|
6
6
|
createListToolsHandler
|
|
7
|
-
} from "../../chunk-
|
|
8
|
-
import "../../chunk-
|
|
7
|
+
} from "../../chunk-2RGXCDBU.js";
|
|
8
|
+
import "../../chunk-YQBOGY7D.js";
|
|
9
9
|
import "../../chunk-QC3DXQTH.js";
|
|
10
10
|
import "../../chunk-6DXGZZA4.js";
|
|
11
11
|
export {
|
|
@@ -8,7 +8,7 @@ var import_node_path = require("path");
|
|
|
8
8
|
var import_vite2 = require("vite");
|
|
9
9
|
|
|
10
10
|
// package.json
|
|
11
|
-
var version = "0.9.
|
|
11
|
+
var version = "0.9.1";
|
|
12
12
|
|
|
13
13
|
// src/protocols/rest/list-tools.ts
|
|
14
14
|
var import_zod_compat = require("@modelcontextprotocol/sdk/server/zod-compat.js");
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
buildMcpListing
|
|
4
|
-
} from "../../../chunk-
|
|
5
|
-
import "../../../chunk-
|
|
4
|
+
} from "../../../chunk-2RGXCDBU.js";
|
|
5
|
+
import "../../../chunk-YQBOGY7D.js";
|
|
6
6
|
import "../../../chunk-QC3DXQTH.js";
|
|
7
7
|
import {
|
|
8
8
|
isFileMissing
|
|
@@ -16,7 +16,7 @@ import { dirname, resolve } from "path";
|
|
|
16
16
|
import { resolveConfig } from "vite";
|
|
17
17
|
|
|
18
18
|
// package.json
|
|
19
|
-
var version = "0.9.
|
|
19
|
+
var version = "0.9.1";
|
|
20
20
|
|
|
21
21
|
// src/stacks/tanstack/extract-manifest.ts
|
|
22
22
|
var MANIFEST_VERSION = 1;
|
|
@@ -328,6 +328,7 @@ async function fetchVerificationKeySet(jwksUri) {
|
|
|
328
328
|
async function verifyJwtClaims(token, keySet, issuer, audience, auth) {
|
|
329
329
|
try {
|
|
330
330
|
const { payload } = await (0, import_jose.jwtVerify)(token, keySet, {
|
|
331
|
+
typ: "at+jwt",
|
|
331
332
|
// `issuer` is trimmed of any trailing slash; accept both forms so a token whose
|
|
332
333
|
// `iss` carries the slash the AS publishes still verifies.
|
|
333
334
|
issuer: [issuer, `${issuer}/`],
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createMcpProtocolHandler
|
|
3
|
-
} from "../../chunk-
|
|
3
|
+
} from "../../chunk-OXSSMKQE.js";
|
|
4
4
|
import {
|
|
5
5
|
createOAuthProtectedResourceMetadataHandler
|
|
6
|
-
} from "../../chunk-
|
|
6
|
+
} from "../../chunk-4JO3BZQG.js";
|
|
7
7
|
import {
|
|
8
8
|
createInvokeToolHandler
|
|
9
|
-
} from "../../chunk-
|
|
9
|
+
} from "../../chunk-6N7B7NZY.js";
|
|
10
10
|
import "../../chunk-MA5H6PSF.js";
|
|
11
11
|
import {
|
|
12
12
|
createListToolsHandler
|
|
13
|
-
} from "../../chunk-
|
|
14
|
-
import "../../chunk-
|
|
13
|
+
} from "../../chunk-2RGXCDBU.js";
|
|
14
|
+
import "../../chunk-YQBOGY7D.js";
|
|
15
15
|
import "../../chunk-QC3DXQTH.js";
|
|
16
16
|
import "../../chunk-6DXGZZA4.js";
|
|
17
17
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lovable.dev/mcp-js",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.1",
|
|
4
4
|
"description": "Author MCP servers for Lovable apps. Declare tools with defineTool, register them in defineMcp, and the framework adapter (TanStack today, Supabase Edge Functions next) emits the route(s) at build time.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"repository": {
|