@hasna/mcps 0.0.20 → 0.0.21
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/LICENSE +1 -2
- package/README.md +11 -4
- package/bin/index.js +31299 -37679
- package/bin/mcp.js +29470 -35905
- package/dist/index.d.ts +1 -0
- package/dist/index.js +12420 -16557
- package/dist/lib/cloud-sync.d.ts +32 -0
- package/dist/lib/db.d.ts +6 -1
- package/dist/lib/remote-storage.d.ts +10 -0
- package/dist/mcp/index.d.ts +1 -3
- package/dist/mcp/index.js +29470 -35905
- package/dist/mcp/server.d.ts +0 -1
- package/package.json +3 -2
- package/dist/mcp/http.d.ts +0 -12
package/dist/mcp/server.d.ts
CHANGED
|
@@ -7,5 +7,4 @@ export interface CreateMcpServerOptions {
|
|
|
7
7
|
cloudTools?: boolean;
|
|
8
8
|
tools?: McpsMcpToolDefinition[];
|
|
9
9
|
}
|
|
10
|
-
export declare function buildServer(options?: CreateMcpServerOptions): McpServer;
|
|
11
10
|
export declare function createMcpServer(options?: CreateMcpServerOptions): McpServer;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hasna/mcps",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.21",
|
|
4
4
|
"description": "Meta-MCP registry & CLI — discover, manage, and proxy MCP servers",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"repository": {
|
|
@@ -43,7 +43,6 @@
|
|
|
43
43
|
"postinstall": "mkdir -p $HOME/.hasna/mcps/cache 2>/dev/null || true"
|
|
44
44
|
},
|
|
45
45
|
"dependencies": {
|
|
46
|
-
"@hasna/cloud": "^0.1.24",
|
|
47
46
|
"@modelcontextprotocol/sdk": "^1.26.0",
|
|
48
47
|
"chalk": "^5.3.0",
|
|
49
48
|
"commander": "^12.1.0",
|
|
@@ -51,11 +50,13 @@
|
|
|
51
50
|
"ink-select-input": "^6.0.0",
|
|
52
51
|
"ink-spinner": "^5.0.0",
|
|
53
52
|
"ink-text-input": "^6.0.0",
|
|
53
|
+
"pg": "^8.20.0",
|
|
54
54
|
"react": "^18.2.0",
|
|
55
55
|
"zod": "^3.23.0"
|
|
56
56
|
},
|
|
57
57
|
"devDependencies": {
|
|
58
58
|
"@types/bun": "latest",
|
|
59
|
+
"@types/pg": "^8.15.6",
|
|
59
60
|
"@types/react": "^18.2.0",
|
|
60
61
|
"typescript": "^5"
|
|
61
62
|
},
|
package/dist/mcp/http.d.ts
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { type Server } from "node:http";
|
|
2
|
-
export declare const DEFAULT_HTTP_PORT = 8866;
|
|
3
|
-
export declare const HTTP_NAME = "mcps";
|
|
4
|
-
export interface StartHttpServerOptions {
|
|
5
|
-
port?: number;
|
|
6
|
-
host?: string;
|
|
7
|
-
name?: string;
|
|
8
|
-
}
|
|
9
|
-
export declare function isHttpMode(args?: string[]): boolean;
|
|
10
|
-
export declare function isStdioMode(args?: string[]): boolean;
|
|
11
|
-
export declare function resolveHttpPort(args?: string[]): number;
|
|
12
|
-
export declare function startHttpServer(options?: StartHttpServerOptions): Server;
|