@askingahuman/mcp-server 2.0.2 → 2.0.4
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 -1
- package/README.md +3 -1
- package/dist/server.d.ts +1 -1
- package/dist/server.js +1 -1
- package/package.json +63 -67
package/LICENSE
CHANGED
package/README.md
CHANGED
|
@@ -34,7 +34,9 @@ Create a key at [askingahuman.com/developers](https://askingahuman.com/developer
|
|
|
34
34
|
|
|
35
35
|
### 2. Add it to your MCP client
|
|
36
36
|
|
|
37
|
-
**Claude Desktop
|
|
37
|
+
**Claude Desktop, one click (macOS and Windows):** download [askingahuman.mcpb](https://askingahuman.com/downloads/askingahuman.mcpb), open it, click **Install** and paste your API key.
|
|
38
|
+
|
|
39
|
+
**Cursor and other clients** (Cursor: Cursor Settings > MCP > New MCP Server; Claude Desktop also accepts this in `claude_desktop_config.json`):
|
|
38
40
|
|
|
39
41
|
```json
|
|
40
42
|
{
|
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.4";
|
|
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.4';
|
|
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,67 +1,63 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@askingahuman/mcp-server",
|
|
3
|
-
"version": "2.0.
|
|
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
|
-
"
|
|
55
|
-
|
|
56
|
-
"
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
"
|
|
60
|
-
|
|
61
|
-
"
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
"optionalDependencies": {
|
|
65
|
-
"@livekit/rtc-node": "1.1.0"
|
|
66
|
-
}
|
|
67
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@askingahuman/mcp-server",
|
|
3
|
+
"version": "2.0.4",
|
|
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
|
+
"homepage": "https://askingahuman.com/developers",
|
|
55
|
+
"author": {
|
|
56
|
+
"name": "dahlia47 LLC",
|
|
57
|
+
"url": "https://askingahuman.com"
|
|
58
|
+
},
|
|
59
|
+
"license": "MIT",
|
|
60
|
+
"optionalDependencies": {
|
|
61
|
+
"@livekit/rtc-node": "1.1.0"
|
|
62
|
+
}
|
|
63
|
+
}
|