@ambicuity/kindx 0.1.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.
- package/CHANGELOG.md +36 -0
- package/LICENSE +21 -0
- package/README.md +578 -0
- package/dist/catalogs.d.ts +137 -0
- package/dist/catalogs.js +349 -0
- package/dist/inference.d.ts +398 -0
- package/dist/inference.js +1131 -0
- package/dist/kindx.d.ts +1 -0
- package/dist/kindx.js +2621 -0
- package/dist/protocol.d.ts +21 -0
- package/dist/protocol.js +666 -0
- package/dist/renderer.d.ts +119 -0
- package/dist/renderer.js +350 -0
- package/dist/repository.d.ts +783 -0
- package/dist/repository.js +2787 -0
- package/dist/runtime.d.ts +33 -0
- package/dist/runtime.js +34 -0
- package/package.json +90 -0
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* KINDX MCP Server - Model Context Protocol server for QMD
|
|
3
|
+
*
|
|
4
|
+
* Exposes KINDX search and document retrieval as MCP tools and resources.
|
|
5
|
+
* Documents are accessible via kindx:// URIs.
|
|
6
|
+
*
|
|
7
|
+
* Follows MCP spec 2025-06-18 for proper response types.
|
|
8
|
+
*/
|
|
9
|
+
export declare function startMcpServer(): Promise<void>;
|
|
10
|
+
export type HttpServerHandle = {
|
|
11
|
+
httpServer: import("http").Server;
|
|
12
|
+
port: number;
|
|
13
|
+
stop: () => Promise<void>;
|
|
14
|
+
};
|
|
15
|
+
/**
|
|
16
|
+
* Start MCP server over Streamable HTTP (JSON responses, no SSE).
|
|
17
|
+
* Binds to localhost only. Returns a handle for shutdown and port discovery.
|
|
18
|
+
*/
|
|
19
|
+
export declare function startMcpHttpServer(port: number, options?: {
|
|
20
|
+
quiet?: boolean;
|
|
21
|
+
}): Promise<HttpServerHandle>;
|