@absolutejs/mcp 0.11.0 → 0.11.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.
- package/README.md +6 -0
- package/dist/index.js +4 -19
- package/dist/manifest.js +1006 -6751
- package/dist/src/manifest.d.ts +20 -1
- package/package.json +13 -5
package/dist/src/manifest.d.ts
CHANGED
|
@@ -1,2 +1,21 @@
|
|
|
1
1
|
import type { McpServerConfig } from "./types";
|
|
2
|
-
export declare const manifest: import("@absolutejs/manifest").PackageManifest<McpServerConfig<unknown>, never
|
|
2
|
+
export declare const manifest: Omit<import("@absolutejs/manifest").PackageManifest<McpServerConfig<unknown>, never>, "tools" | "contract" | "settings"> & (({
|
|
3
|
+
contract: 1;
|
|
4
|
+
tools?: Record<string, import("@absolutejs/manifest").LegacyManifestTool<never>> | undefined;
|
|
5
|
+
} | {
|
|
6
|
+
contract: 2;
|
|
7
|
+
tools?: Record<string, import("@absolutejs/manifest").AuthorizedManifestTool<never>> | undefined;
|
|
8
|
+
}) & {
|
|
9
|
+
settings: import("@sinclair/typebox").TObject<{
|
|
10
|
+
instructions: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
11
|
+
issuer: import("@sinclair/typebox").TString;
|
|
12
|
+
path: import("@sinclair/typebox").TString;
|
|
13
|
+
scopesSupported: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>>;
|
|
14
|
+
serveRootMetadata: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
15
|
+
serverInfo: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
16
|
+
name: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
17
|
+
title: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
18
|
+
version: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
19
|
+
}>>;
|
|
20
|
+
}>;
|
|
21
|
+
});
|
package/package.json
CHANGED
|
@@ -2,22 +2,30 @@
|
|
|
2
2
|
"author": "Alex Kahn",
|
|
3
3
|
"description": "Serve a remote Model Context Protocol endpoint (streamable HTTP, stateless) from a tool/prompt/resource registry — OAuth bearer auth, RFC 9728 discovery, and per-call guards are yours to wire, the JSON-RPC protocol is done correctly by construction.",
|
|
4
4
|
"devDependencies": {
|
|
5
|
+
"@absolutejs/agency": "0.7.1",
|
|
5
6
|
"@types/bun": "latest",
|
|
6
7
|
"elysia": "^1.1.0",
|
|
7
8
|
"prettier": "3.5.3",
|
|
8
9
|
"typescript": "5.8.3"
|
|
9
10
|
},
|
|
10
11
|
"peerDependencies": {
|
|
12
|
+
"@absolutejs/agency": ">=0.7.1 <0.8.0",
|
|
11
13
|
"elysia": ">=1.1.0"
|
|
12
14
|
},
|
|
13
15
|
"dependencies": {
|
|
14
|
-
"@absolutejs/
|
|
15
|
-
"@absolutejs/manifest": "^0.3.0",
|
|
16
|
+
"@absolutejs/manifest": "^0.6.0",
|
|
16
17
|
"@sinclair/typebox": "^0.34.0"
|
|
17
18
|
},
|
|
18
19
|
"license": "BUSL-1.1",
|
|
19
20
|
"absolutejs": {
|
|
20
|
-
"manifestContract": 2
|
|
21
|
+
"manifestContract": 2,
|
|
22
|
+
"runtimePeers": {
|
|
23
|
+
"@absolutejs/agency": {
|
|
24
|
+
"range": ">=0.7.1 <0.8.0",
|
|
25
|
+
"tested": "0.7.1",
|
|
26
|
+
"buildExternals": ["@absolutejs/agency", "@absolutejs/agency/*"]
|
|
27
|
+
}
|
|
28
|
+
}
|
|
21
29
|
},
|
|
22
30
|
"exports": {
|
|
23
31
|
".": {
|
|
@@ -51,12 +59,12 @@
|
|
|
51
59
|
"LICENSE"
|
|
52
60
|
],
|
|
53
61
|
"scripts": {
|
|
54
|
-
"build": "rm -rf dist && bun build src/index.ts src/manifest.ts --outdir dist --root ./src --target=bun --external elysia && tsc --emitDeclarationOnly --project tsconfig.json && absolute-manifest emit",
|
|
62
|
+
"build": "rm -rf dist && bun build src/index.ts src/manifest.ts --outdir dist --root ./src --target=bun --external @absolutejs/agency --external '@absolutejs/agency/*' --external elysia && tsc --emitDeclarationOnly --project tsconfig.json && absolute-manifest emit",
|
|
55
63
|
"format": "prettier --write \"./**/*.{ts,json,md}\"",
|
|
56
64
|
"release": "bun run format && bun run test && bun run build && bun publish",
|
|
57
65
|
"test": "bun test",
|
|
58
66
|
"typecheck": "tsc --noEmit --project tsconfig.json"
|
|
59
67
|
},
|
|
60
68
|
"types": "./dist/src/index.d.ts",
|
|
61
|
-
"version": "0.11.
|
|
69
|
+
"version": "0.11.2"
|
|
62
70
|
}
|