ping-mcp-server 0.1.4 → 0.1.5
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/index.js +4 -4
- package/package/package.json +29 -0
- package/package/src/index.ts +2123 -0
- package/package/src/init.ts +302 -0
- package/package/tsconfig.json +8 -0
- package/package.json +1 -1
- package/ping-mcp-server-0.1.4.tgz +0 -0
- package/src/index.ts +4 -0
package/dist/index.js
CHANGED
|
@@ -459,7 +459,7 @@ server.setRequestHandler(ListToolsRequestSchema, async () => {
|
|
|
459
459
|
// ────────────────────────────────────────────────────────
|
|
460
460
|
{
|
|
461
461
|
name: "ping_login",
|
|
462
|
-
description:
|
|
462
|
+
description: 'Login to Ping with GitHub. Opens a browser window for GitHub OAuth authentication. TRIGGERS: "ping login", "login to ping", "connect to ping", "sign in to ping", "start using ping". Use when the user wants to login, sign in, connect their account, or start using Ping. After login, a wallet will be automatically created for the user.',
|
|
463
463
|
inputSchema: {
|
|
464
464
|
type: "object",
|
|
465
465
|
properties: {},
|
|
@@ -506,7 +506,7 @@ server.setRequestHandler(ListToolsRequestSchema, async () => {
|
|
|
506
506
|
// ────────────────────────────────────────────────────────
|
|
507
507
|
{
|
|
508
508
|
name: "ping_check_earnings",
|
|
509
|
-
description:
|
|
509
|
+
description: 'Check your Ping earnings - shows pending balance (ready to claim) and total claimed. TRIGGERS: "ping earnings", "ping balance", "how much have I earned", "check my ping", "my earnings". Use when the user asks about their balance, earnings, or how much money they have. Requires wallet to be set first with ping_set_wallet.',
|
|
510
510
|
inputSchema: {
|
|
511
511
|
type: "object",
|
|
512
512
|
properties: {},
|
|
@@ -551,7 +551,7 @@ server.setRequestHandler(ListToolsRequestSchema, async () => {
|
|
|
551
551
|
},
|
|
552
552
|
{
|
|
553
553
|
name: "ping_answer_flow",
|
|
554
|
-
description:
|
|
554
|
+
description: 'Start an interactive Q&A session to earn money answering Ping questions. TRIGGERS: "ping", "/ping", "answer questions", "earn money", "make money with ping", "start earning". Returns questions with suggested answers. CRITICAL: Present ALL questions in a SINGLE AskUserQuestion call (batched) to reduce latency. Use the questions array parameter with multiple question objects. After user answers, submit ALL answers IN PARALLEL for speed. AUTO-CLAIM: After all submissions complete, AUTOMATICALLY call ping_claim_reward to send earnings to wallet. Requires GitHub login first (ping_login).',
|
|
555
555
|
inputSchema: {
|
|
556
556
|
type: "object",
|
|
557
557
|
properties: {
|
|
@@ -565,7 +565,7 @@ server.setRequestHandler(ListToolsRequestSchema, async () => {
|
|
|
565
565
|
},
|
|
566
566
|
{
|
|
567
567
|
name: "ping_claim_reward",
|
|
568
|
-
description:
|
|
568
|
+
description: 'Claim pending Ping earnings and send them to your crypto wallet on Base. TRIGGERS: "claim my ping", "withdraw from ping", "cash out", "get my money", "claim rewards". Use when the user wants to withdraw, cash out, or claim their rewards. Transfers USDC to their wallet instantly. Works with GitHub login (ping_login) or legacy wallet (ping_set_wallet).',
|
|
569
569
|
inputSchema: {
|
|
570
570
|
type: "object",
|
|
571
571
|
properties: {},
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "ping-mcp-server",
|
|
3
|
+
"version": "0.1.4",
|
|
4
|
+
"description": "MCP server that gives Claude Code the ability to interact with Ping",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"bin": {
|
|
7
|
+
"ping-mcp-server": "./dist/init.js",
|
|
8
|
+
"ping-mcp": "./dist/index.js",
|
|
9
|
+
"ping-init": "./dist/init.js"
|
|
10
|
+
},
|
|
11
|
+
"scripts": {
|
|
12
|
+
"dev": "tsx watch src/index.ts",
|
|
13
|
+
"build": "tsup src/index.ts src/init.ts --format esm --dts",
|
|
14
|
+
"start": "node dist/index.js",
|
|
15
|
+
"test": "vitest",
|
|
16
|
+
"lint": "eslint src/",
|
|
17
|
+
"clean": "rm -rf dist"
|
|
18
|
+
},
|
|
19
|
+
"dependencies": {
|
|
20
|
+
"@modelcontextprotocol/sdk": "^1.0.0",
|
|
21
|
+
"zod": "^3.22.0"
|
|
22
|
+
},
|
|
23
|
+
"devDependencies": {
|
|
24
|
+
"@types/node": "^25.0.3",
|
|
25
|
+
"tsup": "^8.0.0",
|
|
26
|
+
"tsx": "^4.0.0",
|
|
27
|
+
"vitest": "^1.0.0"
|
|
28
|
+
}
|
|
29
|
+
}
|