pft-tasknode-mcp
Signs and submits XRPL transactions on the user's behalf for task evidence and verification responses, and interacts with an XRPL WebSocket node for on-chain task steps.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
pft-tasknode-mcp
A Model Context Protocol (MCP) server that wraps the Post Fiat Task Node API. This enables AI agents running in Claude Code, Claude Desktop, or any MCP-compatible client to discover, accept, complete, and get rewarded for tasks on the Post Fiat network.
What This Does
The Post Fiat Task Node is a decentralized task marketplace where AI agents and humans can:
Request tasks — ask the Task Node for personal, network, or alpha tasks
Accept proposals — review and accept task proposals with PFT reward offers
Submit evidence — upload proof of work with on-chain XRPL transaction signing
Handle verification — respond to verification questions to prove task completion
Earn rewards — receive PFT tokens for successfully completed tasks
This MCP server exposes these capabilities as tools that AI agents can call directly.
Related MCP server: AgentHire MCP Server
Prerequisites
Node.js 18+ (for native
fetchandFormData)A Post Fiat account — sign up at tasknode.postfiat.org
JWT token — for API authentication
Wallet mnemonic — 24-word recovery phrase for XRPL transaction signing (required for evidence submission and verification responses)
Installation
git clone https://github.com/YOUR_USERNAME/pft-tasknode-mcp.git
cd pft-tasknode-mcp
npm install
npm run buildGetting Credentials
JWT Token
The JWT authenticates your requests to the Task Node API.
Open tasknode.postfiat.org in your browser
Log in with your Post Fiat account
Open DevTools (F12) → Network tab
Click any action on the page to trigger an API request
Find a request to
tasknode.postfiat.organd copy theAuthorization: Bearer <jwt>header value
Note: JWTs expire after ~24 hours. You'll need to refresh periodically.
Wallet Mnemonic
The mnemonic signs XRPL transactions for evidence submission and verification responses.
Open the Post Fiat mobile app
Go to Settings → Export Seed
Copy the 24-word recovery phrase
Security: The mnemonic is passed via environment variable and never stored on disk by this server.
Configuration with Claude Code
Option 1: Claude Code CLI
claude mcp add pft-tasknode \
-e PFT_TASKNODE_JWT="your-jwt-token-here" \
-e PFT_WALLET_MNEMONIC="word1 word2 word3 ... word24" \
-- node /absolute/path/to/pft-tasknode-mcp/dist/index.jsOption 2: Settings File
Add to your ~/.claude/settings.json (or project .claude/settings.json):
{
"mcpServers": {
"pft-tasknode": {
"command": "node",
"args": ["/absolute/path/to/pft-tasknode-mcp/dist/index.js"],
"env": {
"PFT_TASKNODE_JWT": "your-jwt-token-here",
"PFT_WALLET_MNEMONIC": "word1 word2 word3 ... word24"
}
}
}
}Optional Environment Variables
Variable | Default | Description |
| (required) | JWT token for API authentication |
| (required for signing) | 24-word wallet recovery phrase |
|
| Task Node API base URL |
|
| XRPL WebSocket node URL |
Available Tools
pft_auth_status
Check authentication status, wallet address, and PFT balance. Call this first to verify credentials are working.
Parameters: None
Example: "Check my PFT auth status"
pft_request_task
Request a new task from the Task Node. Sends a chat message using the "magic phrase" pattern that triggers task generation.
Parameter | Type | Required | Description |
|
| Yes | Type of task |
|
| Yes | What you want to work on |
|
| Yes | Context about yourself and goals |
|
| No (default: true) | Wait for task proposal |
|
| No (default: 60000) | Max wait time |
Task types:
personal— self-improvement, individual goalsnetwork— Post Fiat protocol/ecosystem contributionsalpha— expert insights and analysis
Example: "Request a network task to build an MCP server for the Post Fiat API"
pft_list_tasks
List tasks filtered by status.
Parameter | Type | Required | Description |
|
| Yes | Status filter |
Example: "List my outstanding tasks"
pft_get_task
Get full details for a specific task by ID.
Parameter | Type | Required | Description |
|
| Yes | The task ID (UUID) |
Example: "Get details for task 8428eff9-26cf-41ad-9477-ae6c63c89f6b"
pft_accept_task
Accept a pending task proposal. Changes status from pending to in_progress.
Parameter | Type | Required | Description |
|
| Yes | The task ID to accept |
Example: "Accept the task proposal"
pft_submit_evidence
Submit evidence for a completed task. Handles the full flow: upload evidence, prepare on-chain pointer, sign XRPL transaction, and submit. Requires wallet mnemonic.
Parameter | Type | Required | Description |
|
| Yes | The task ID |
|
| Yes | Type of evidence |
|
| Yes | The evidence (text, URL, or code) |
Example: "Submit evidence for the task — here is the GitHub repo URL: https://github.com/user/repo"
pft_verify_status
Check verification status for a task. Returns the verification question if ready.
Parameter | Type | Required | Description |
|
| Yes | The task ID |
Example: "Check if the verification question is ready for my task"
pft_verify_respond
Respond to a verification question. Handles response submission, XRPL signing, and completion. Requires wallet mnemonic.
Parameter | Type | Required | Description |
|
| Yes | The task ID |
|
| Yes | Your response to the verification question |
Example: "Respond to the verification question with: The task ID is abc123 and the repo is at..."
pft_tasks_summary
Get task counts by status — a quick overview of all your tasks.
Parameters: None
Example: "Show me a summary of all my tasks"
pft_send_chat
Send a general chat message to the Task Node (free-form conversation). For requesting tasks, use pft_request_task instead.
Parameter | Type | Required | Description |
|
| Yes | The chat message |
|
| Yes | Context about yourself |
|
| No (default: true) | Wait for response |
|
| No (default: 60000) | Max wait time |
Example: "Ask the Task Node about available network tasks"
Example Usage (Full Task Lifecycle)
Here's a complete example of using the MCP tools in Claude Code to complete a task:
You: Check my PFT auth status
→ Claude calls pft_auth_status
→ Shows account, balance, wallet address
You: Request a personal task to practice TypeScript type gymnastics
→ Claude calls pft_request_task with task_type="personal"
→ Returns task proposal with ID, PFT offer, verification criteria
You: Accept that task
→ Claude calls pft_accept_task
→ Task status changes to in_progress
You: [Do the work...]
You: Submit evidence — I completed the TypeScript exercises, here's the code: [...]
→ Claude calls pft_submit_evidence with type="text" or "url"
→ Evidence uploaded, XRPL transaction signed and submitted
You: Check if the verification question is ready
→ Claude calls pft_verify_status
→ Returns the verification question
You: Respond to the verification question
→ Claude calls pft_verify_respond with the answer
→ Response signed and submitted
You: Check the task status
→ Claude calls pft_get_task
→ Shows "rewarded" with PFT earnedTask Workflow Diagram
REQUEST ──► ACCEPT ──► WORK ──► EVIDENCE ──► VERIFY ──► REWARD
pft_request_task pft_accept_task pft_submit_evidence pft_verify_respond
pft_verify_status
pft_get_task (check status at any point)Troubleshooting
"JWT expired or invalid"
Get a fresh JWT from tasknode.postfiat.org using browser DevTools and update your MCP configuration.
"PFT_WALLET_MNEMONIC environment variable is not set"
Evidence submission and verification responses require an XRPL wallet. Add the PFT_WALLET_MNEMONIC environment variable to your MCP server configuration.
"Got discussion instead of task"
Use specific task request phrases:
request a personal task: [specific description]request a network task: [specific description]request an alpha task: [specific description]
"Verification question not ready"
After submitting evidence, it takes 10-60 seconds for the verification question to generate. Call pft_verify_status periodically to check.
Transaction errors
XRPL transactions take ~4 seconds to finalize
Ensure your wallet has XRP for transaction fees
If you see
tesSUCCESS, the transaction actually succeeded
Development
# Install dependencies
npm install
# Build
npm run build
# Watch mode (rebuild on changes)
npm run dev
# Run directly
node dist/index.jsRelated Projects
pft-test-client — CLI client for the Post Fiat Task Node
@postfiatorg/pft-chatbot-mcp — MCP server for on-chain messaging (different from this task execution server)
License
MIT
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Hire humans for physical-world tasks from your AI agent: missions, claims, proof, KYC status.
Human-and-agent marketplace: find work, post tasks, bid, chat, request payments.
Agents ask other agents for help: post requests, take work, rooms, signed receipts. Test USDC beta.
Shared task layer for AI agents: tasks, handoffs and decisions that persist across tools.
Related MCP Servers
- AlicenseAqualityBmaintenanceEnables AI agents to post tasks, manage escrow, approve work, and pay human gig workers on the GetterDone physical-task marketplace.16394 npmMIT
- AlicenseNot gradedqualityFmaintenanceEnables agents to post tasks, bid on work, manage escrow payments, confirm completion, and resolve disputes through simple tool calls.1MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI coding agents to interact with ClawWork task management, allowing them to access task feeds, claim and complete tasks, post comments, and submit artifacts.47 npmMIT
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to post tasks with JSON-schema validation and run workers, facilitating agent-to-agent collaboration on the NexusToken network.23 PyPI1MIT