@clipform/mcp-server 2.10.5 → 2.10.7
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/README.md +1 -1
- package/dist/auth-context.d.ts +14 -1
- package/dist/auth-context.js +3 -1
- package/dist/{chunk-A5RVUIGS.js → chunk-6FVQBVKW.js} +2 -2
- package/dist/{chunk-ENHVQDSI.js → chunk-HZMMOSEM.js} +3 -1
- package/dist/chunk-HZMMOSEM.js.map +1 -0
- package/dist/{chunk-44LRAJJ3.js → chunk-JCCGDVUH.js} +15 -9
- package/dist/{chunk-44LRAJJ3.js.map → chunk-JCCGDVUH.js.map} +1 -1
- package/dist/{chunk-QZO6MGNN.js → chunk-RMMQVPZN.js} +2 -2
- package/dist/{chunk-O35IVA4L.js → chunk-SAAH4U7O.js} +6 -2
- package/dist/{chunk-O35IVA4L.js.map → chunk-SAAH4U7O.js.map} +1 -1
- package/dist/index.js +5 -5
- package/dist/prompts.js +3 -3
- package/dist/resources.js +3 -3
- package/dist/server.js +5 -5
- package/package.json +1 -1
- package/dist/chunk-ENHVQDSI.js.map +0 -1
- /package/dist/{chunk-A5RVUIGS.js.map → chunk-6FVQBVKW.js.map} +0 -0
- /package/dist/{chunk-QZO6MGNN.js.map → chunk-RMMQVPZN.js.map} +0 -0
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
WORKFLOW_TYPES,
|
|
4
4
|
getDiscoveryParams,
|
|
5
5
|
getSessionContextWithAuth
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-SAAH4U7O.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
9
|
} from "./chunk-G3PMV62Z.js";
|
|
@@ -4856,4 +4856,4 @@ export {
|
|
|
4856
4856
|
getWorkflowText,
|
|
4857
4857
|
registerPrompts
|
|
4858
4858
|
};
|
|
4859
|
-
//# sourceMappingURL=chunk-
|
|
4859
|
+
//# sourceMappingURL=chunk-RMMQVPZN.js.map
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
MCP_ANONYMOUS_HEADER,
|
|
3
|
+
MCP_AUTH_VIA_HEADER,
|
|
3
4
|
MCP_MINT_PROOF_HEADER,
|
|
4
5
|
getMcpAuth
|
|
5
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-HZMMOSEM.js";
|
|
6
7
|
import {
|
|
7
8
|
isAuthFault,
|
|
8
9
|
isServerFault,
|
|
@@ -2767,6 +2768,9 @@ function getAuthHeaders() {
|
|
|
2767
2768
|
if (authCtx?.is_anonymous) {
|
|
2768
2769
|
headers[MCP_ANONYMOUS_HEADER] = "1";
|
|
2769
2770
|
}
|
|
2771
|
+
if (authCtx?.auth_via === "oauth") {
|
|
2772
|
+
headers[MCP_AUTH_VIA_HEADER] = "oauth";
|
|
2773
|
+
}
|
|
2770
2774
|
if (authCtx?.mcp_mint_proof) {
|
|
2771
2775
|
headers[MCP_MINT_PROOF_HEADER] = authCtx.mcp_mint_proof;
|
|
2772
2776
|
}
|
|
@@ -2951,4 +2955,4 @@ export {
|
|
|
2951
2955
|
getSessionContextWithAuth,
|
|
2952
2956
|
getSessionContext
|
|
2953
2957
|
};
|
|
2954
|
-
//# sourceMappingURL=chunk-
|
|
2958
|
+
//# sourceMappingURL=chunk-SAAH4U7O.js.map
|