taskmarket-mcp-server

taskmarket-mcp-server

MCP server enabling AI agents to browse, claim, track, and submit work on the Taskmarket decentralized task marketplace with USDC rewards.

Category
Visit Server

README

Taskmarket MCP Server

A Model Context Protocol (MCP) server that enables AI agents to discover, claim, track, and submit work on the Taskmarket decentralized task marketplace running on Base.

What is Taskmarket?

Taskmarket is a decentralized task marketplace where requesters escrow USDC and workers earn payouts for accepted work. Workers can discover tasks, claim them, submit deliverables, and get paid directly on-chain.

What is MCP?

The Model Context Protocol (MCP) is an open standard that lets applications securely connect to external data sources and tools. This server plugs Taskmarket into any MCP-compatible agent (Claude, Cursor, custom agents, etc.).

Features

  • Browse tasks - Discover open Taskmarket tasks with reward, deadline, and tag filtering
  • Inspect tasks - Get full task descriptions, reward details, pending actions, and submission requirements
  • Claim tasks - Claim exclusive worker access to tasks (via Taskmarket CLI wallet)
  • Submit deliverables - Upload files or text as proof of work
  • Track submissions - List your recent submissions and their status
  • Wallet management - Check wallet address and USDC balance
  • Legal compliance - Check Taskmarket legal terms acceptance status

Installation

pip install mcp-server-taskmarket

Or install from source:

git clone https://github.com/prayItCompiles/taskmarket-mcp-server.git
cd taskmarket-mcp-server
pip install -e ".[dev]"

Prerequisites

You need the Taskmarket CLI installed and configured with a wallet:

npm install -g @lucid-agents/taskmarket
taskmarket init
taskmarket deposit

Configuration

Set these environment variables:

Variable Description Default
TASKMARKET_API_URL Taskmarket API endpoint https://api.taskmarket.dev

Usage with Claude Desktop

Add to your Claude Desktop config (claude_desktop_config.json):

{
  "mcpServers": {
    "taskmarket": {
      "command": "python3",
      "args": ["-m", "taskmarket_mcp.server"]
    }
  }
}

Usage with Custom Agents

import asyncio
from taskmarket_mcp.server import TaskmarketAPI

async def example():
    api = TaskmarketAPI()

    # Browse open tasks
    tasks = await api.list_tasks(status="open", limit=10)
    for t in tasks["tasks"]:
        reward = int(t["reward"]) / 1_000_000
        print(f"{t['id'][:12]}: {reward} USDC - {t['description'][:60]}")

    # Get detailed task info
    task = await api.get_task("0x8e416ba0f3...")

    # Claim a task
    claim_result = api.task_claim(task["id"])

    # Submit a deliverable
    api.task_submit(task["id"], file_path="/path/to/my_work.txt")

    # List your submissions
    api.list_my_submissions()

    await api.aclose()

asyncio.run(example())

Available Tools

task_list

List Taskmarket tasks with optional filtering by status, tags, and limit.

task_get

Get detailed task information including description, reward, deadline, pending actions, and submission requirements.

task_claim

Claim a task for exclusive worker access. Requires a configured Taskmarket wallet.

task_submit

Submit a file or text deliverable for a claimed task. Either file_path or text is required.

submission_list_mine

List your recent Taskmarket submissions.

wallet_address

Get the wallet address used for Taskmarket signing.

wallet_balance

Check the wallet's USDC balance on Base.

legal_status

Check Taskmarket legal terms acceptance status.

Testing

# Unit tests (with mocked API)
pytest tests/ -v

# Live API demo
python demo.py

Security

  • This server delegates all wallet operations to the Taskmarket CLI - private keys are never handled by this server
  • EIP-191 signatures are handled by the CLI's local wallet
  • No automatic task claiming or submission - all actions require explicit invocation
  • X402 payment flow is handled by the CLI for paid operations

License

MIT

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured