xmcp 0.0.8 → 0.0.10

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 CHANGED
@@ -209,4 +209,12 @@ your-project/
209
209
  - Supports both `stdio` and `sse` transports
210
210
  - Full compatibility with MCP clients and AI models
211
211
 
212
+ ## Vercel Deployment
213
+
214
+ XMCP can be deployed to Vercel with the `--vercel` flag. This will create `.vercel` directory with the built output.
215
+
216
+ ```bash
217
+ xmcp build --vercel
218
+ ```
219
+
212
220
  From the basement.
@@ -0,0 +1,7 @@
1
+ import { RequestHandler } from "express";
2
+ export interface ApiKeyAuthMiddlewareConfig {
3
+ apiKey: string;
4
+ headerName?: string;
5
+ }
6
+ export declare function ApiKeyAuthMiddleware(config: ApiKeyAuthMiddlewareConfig): RequestHandler;
7
+ //# sourceMappingURL=api-key.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"api-key.d.ts","sourceRoot":"","sources":["../../src/auth/api-key.ts"],"names":[],"mappings":"AAAA,OAAO,EAAmC,cAAc,EAAE,MAAM,SAAS,CAAC;AAE1E,MAAM,WAAW,0BAA0B;IACzC,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,wBAAgB,oBAAoB,CAClC,MAAM,EAAE,0BAA0B,GACjC,cAAc,CAahB"}
@@ -0,0 +1,7 @@
1
+ import { RequestHandler } from "express";
2
+ import { VerifyOptions } from "jsonwebtoken";
3
+ export interface JWTAuthMiddlewareConfig extends VerifyOptions {
4
+ secret: string;
5
+ }
6
+ export declare function JWTAuthMiddleware(config: JWTAuthMiddlewareConfig): RequestHandler;
7
+ //# sourceMappingURL=jwt.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"jwt.d.ts","sourceRoot":"","sources":["../../src/auth/jwt.ts"],"names":[],"mappings":"AAAA,OAAO,EAAmC,cAAc,EAAE,MAAM,SAAS,CAAC;AAC1E,OAAY,EAAc,aAAa,EAAE,MAAM,cAAc,CAAC;AAE9D,MAAM,WAAW,uBAAwB,SAAQ,aAAa;IAC5D,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,wBAAgB,iBAAiB,CAC/B,MAAM,EAAE,uBAAuB,GAC9B,cAAc,CAuBhB"}