@getabrain/mcp-server 0.1.1 → 0.1.3

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.
Files changed (2) hide show
  1. package/dist/index.js +1 -1
  2. package/package.json +21 -7
package/dist/index.js CHANGED
@@ -65,7 +65,7 @@ var tools = [
65
65
  },
66
66
  {
67
67
  name: "submit_query",
68
- description: `Submit a human-judgment query to real human workers and get its id back. "type" is one of: ${QUERY_TYPES.join(", ")}. "content_data" is the type-specific payload (e.g. ab_test: {question, variant_a:{description}, variant_b:{description}}; yes_no: {question}; rating_scale: {question, scale_type, scale_min, scale_max}). Cost = (bid_amount_cents + bonus_amount_cents) * required_responses, deducted from your balance.`,
68
+ description: `Ask a human / add a human in the loop: submit a human-judgment query to real human workers and get its id back. Use this for any human-in-the-loop (HITL) step, human approval, or when your model needs a real human opinion. "type" is one of: ${QUERY_TYPES.join(", ")}. "content_data" is the type-specific payload (e.g. ab_test: {question, variant_a:{description}, variant_b:{description}}; yes_no: {question}; rating_scale: {question, scale_type, scale_min, scale_max}). Cost = (bid_amount_cents + bonus_amount_cents) * required_responses, deducted from your balance.`,
69
69
  inputShape: {
70
70
  type: z.enum(QUERY_TYPES),
71
71
  title: z.string().min(5).max(255),
package/package.json CHANGED
@@ -1,21 +1,35 @@
1
1
  {
2
2
  "name": "@getabrain/mcp-server",
3
- "version": "0.1.1",
4
- "description": "MCP server for GetABrain.ai real human judgment as agent tools",
3
+ "version": "0.1.3",
4
+ "description": "MCP server for GetABrain.ai \u2014 real human judgment as agent tools",
5
5
  "type": "module",
6
- "bin": { "getabrain-mcp": "./dist/index.js" },
6
+ "bin": {
7
+ "getabrain-mcp": "./dist/index.js"
8
+ },
7
9
  "main": "./dist/index.js",
8
- "files": ["dist", "README.md"],
10
+ "files": [
11
+ "dist",
12
+ "README.md"
13
+ ],
9
14
  "scripts": {
10
15
  "build": "tsup src/index.ts --format esm --dts --clean --tsconfig tsconfig.build.json",
11
16
  "prepublishOnly": "npm run build"
12
17
  },
13
- "engines": { "node": ">=18" },
18
+ "engines": {
19
+ "node": ">=18"
20
+ },
14
21
  "dependencies": {
15
22
  "@getabrain/sdk": "^0.1.1",
16
23
  "@modelcontextprotocol/sdk": "^1.18.0",
17
24
  "zod": "^3.25.0"
18
25
  },
19
- "devDependencies": { "tsup": "^8.0.0" },
20
- "license": "MIT"
26
+ "devDependencies": {
27
+ "tsup": "^8.0.0"
28
+ },
29
+ "license": "MIT",
30
+ "mcpName": "io.github.guitarmaniac24/getabrain",
31
+ "repository": {
32
+ "type": "git",
33
+ "url": "https://github.com/Guitarmaniac24/Getabrain.ai"
34
+ }
21
35
  }