@askingahuman/mcp-server 2.0.1 → 2.0.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/dist/server.d.ts +1 -1
- package/dist/server.js +1 -1
- package/package.json +67 -66
package/dist/server.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Server } from '@modelcontextprotocol/sdk/server/index.js';
|
|
2
2
|
import type { McpConfig } from './config.js';
|
|
3
3
|
import type { LiveBridge } from './live/bridge.js';
|
|
4
|
-
export declare const SERVER_VERSION = "2.0.
|
|
4
|
+
export declare const SERVER_VERSION = "2.0.2";
|
|
5
5
|
export declare function createMcpServer(opts: {
|
|
6
6
|
apiKey: string | undefined;
|
|
7
7
|
config: McpConfig;
|
package/dist/server.js
CHANGED
|
@@ -8,7 +8,7 @@ import { submitFeedbackTool, handleSubmitFeedback } from './tools/submit-feedbac
|
|
|
8
8
|
import { getQuoteTool, handleGetQuote, handleListHumans, listHumansTool } from './tools/discover.js';
|
|
9
9
|
import { handleWhoIsLive, whoIsLiveTool } from './tools/who-is-live.js';
|
|
10
10
|
import { checkConnectionTool, connectHumanTool, endSessionTool, extendSessionTool, handleCheckConnection, handleConnectHuman, handleEndSession, handleExtendSession, handleReadMessages, handleSendMessage, readMessagesTool, sendMessageTool, } from './tools/live.js';
|
|
11
|
-
export const SERVER_VERSION = '2.0.
|
|
11
|
+
export const SERVER_VERSION = '2.0.2';
|
|
12
12
|
const legacy = (fn) => async (args, ctx) => (await fn(args, ctx.apiKey, ctx.config.apiBase));
|
|
13
13
|
// Always available: free questions and discovery.
|
|
14
14
|
const CORE_TOOLS = [
|
package/package.json
CHANGED
|
@@ -1,66 +1,67 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@askingahuman/mcp-server",
|
|
3
|
-
"version": "2.0.
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
"
|
|
7
|
-
"
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
"
|
|
13
|
-
"
|
|
14
|
-
"
|
|
15
|
-
"
|
|
16
|
-
"
|
|
17
|
-
"
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
"
|
|
22
|
-
"
|
|
23
|
-
"
|
|
24
|
-
"
|
|
25
|
-
"
|
|
26
|
-
"
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
"
|
|
31
|
-
"
|
|
32
|
-
"
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
"@
|
|
40
|
-
"
|
|
41
|
-
"
|
|
42
|
-
"
|
|
43
|
-
"
|
|
44
|
-
"typescript
|
|
45
|
-
"
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
"
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
"
|
|
59
|
-
|
|
60
|
-
"
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
"
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@askingahuman/mcp-server",
|
|
3
|
+
"version": "2.0.2",
|
|
4
|
+
"mcpName": "com.askingahuman/mcp-server",
|
|
5
|
+
"description": "MCP server for askingahuman.com: let AI agents reach real people, with free questions and capped, paid live chats",
|
|
6
|
+
"type": "module",
|
|
7
|
+
"main": "dist/index.js",
|
|
8
|
+
"bin": {
|
|
9
|
+
"askingahuman-mcp": "dist/index.js"
|
|
10
|
+
},
|
|
11
|
+
"scripts": {
|
|
12
|
+
"build": "node -e \"require('fs').rmSync('dist',{recursive:true,force:true})\" && tsc",
|
|
13
|
+
"dev": "tsx src/index.ts",
|
|
14
|
+
"test": "vitest run",
|
|
15
|
+
"lint": "eslint src/",
|
|
16
|
+
"typecheck": "tsc --noEmit",
|
|
17
|
+
"format": "prettier --write \"src/**/*.{ts,json}\"",
|
|
18
|
+
"prepublishOnly": "npm run build"
|
|
19
|
+
},
|
|
20
|
+
"keywords": [
|
|
21
|
+
"mcp",
|
|
22
|
+
"model-context-protocol",
|
|
23
|
+
"human",
|
|
24
|
+
"ai",
|
|
25
|
+
"agent",
|
|
26
|
+
"answers",
|
|
27
|
+
"askingahuman"
|
|
28
|
+
],
|
|
29
|
+
"files": [
|
|
30
|
+
"dist/",
|
|
31
|
+
"!dist/__tests__/",
|
|
32
|
+
"README.md",
|
|
33
|
+
"LICENSE"
|
|
34
|
+
],
|
|
35
|
+
"dependencies": {
|
|
36
|
+
"@modelcontextprotocol/sdk": "^1.31.0"
|
|
37
|
+
},
|
|
38
|
+
"devDependencies": {
|
|
39
|
+
"@eslint/js": "^9.0.0",
|
|
40
|
+
"@types/node": "^20.0.0",
|
|
41
|
+
"eslint": "^9.0.0",
|
|
42
|
+
"prettier": "^3.0.0",
|
|
43
|
+
"tsx": "^4.0.0",
|
|
44
|
+
"typescript": "^5.3.0",
|
|
45
|
+
"typescript-eslint": "^8.0.0",
|
|
46
|
+
"vitest": "^1.6.0"
|
|
47
|
+
},
|
|
48
|
+
"engines": {
|
|
49
|
+
"node": ">=18.0.0"
|
|
50
|
+
},
|
|
51
|
+
"publishConfig": {
|
|
52
|
+
"access": "public"
|
|
53
|
+
},
|
|
54
|
+
"repository": {
|
|
55
|
+
"type": "git",
|
|
56
|
+
"url": "git+https://github.com/tz-ship-it/askingahuman.com.git"
|
|
57
|
+
},
|
|
58
|
+
"homepage": "https://askingahuman.com/developers",
|
|
59
|
+
"author": {
|
|
60
|
+
"name": "askingahuman.com",
|
|
61
|
+
"url": "https://askingahuman.com"
|
|
62
|
+
},
|
|
63
|
+
"license": "MIT",
|
|
64
|
+
"optionalDependencies": {
|
|
65
|
+
"@livekit/rtc-node": "1.1.0"
|
|
66
|
+
}
|
|
67
|
+
}
|