Skip to main content

MCP server for managing Kwork freelance marketplace

Project description

kwork-mcp

Python 3.12+ License: MIT Ruff MCP

MCP server that exposes 25 tools for the Kwork freelance marketplace — browse projects, submit offers, manage orders, send messages, and more.

Built with FastMCP (via MCP Python SDK) and pykwork.

🚀 Setup

Requirements

  • Python 3.12+
  • uv
  • Kwork account (login/password or API token)

Install

git clone https://github.com/simonether/kwork-mcp.git
cd kwork-mcp
uv sync

Configure

Copy .env.example to .env and fill in your credentials:

cp .env.example .env
Variable Required Default Description
KWORK_LOGIN yes* Kwork login
KWORK_PASSWORD yes* Kwork password
KWORK_TOKEN yes* Auth token (skips login)
KWORK_PHONE_LAST no Last 4 digits of phone (2FA)
KWORK_PROXY_URL no SOCKS5 proxy
KWORK_RPS_LIMIT no 2 Requests per second
KWORK_BURST_LIMIT no 5 Burst limit
KWORK_TOKEN_FILE no ~/.kwork_token Token persistence path

*Either KWORK_TOKEN or both KWORK_LOGIN + KWORK_PASSWORD.

Auth priority: KWORK_TOKEN env → saved token file → fresh login.

💡 Usage

Claude Desktop

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "kwork": {
      "command": "uv",
      "args": ["run", "--directory", "/path/to/kwork-mcp", "kwork-mcp"],
      "env": {
        "KWORK_LOGIN": "your_login",
        "KWORK_PASSWORD": "your_password"
      }
    }
  }
}

Claude Code

claude mcp add kwork -- uv run --directory /path/to/kwork-mcp kwork-mcp

stdio

uv run kwork-mcp

🛠 Tools

Profile (3 tools)
Tool Description
get_me Current user profile, rating, balance
get_connects Connect count for exchange offers
get_user_info Public user info by ID
Projects (4 tools)
Tool Description
list_projects Browse exchange projects with filters
get_project Project details by ID
search_projects Search by text query
get_exchange_info Exchange marketplace stats
Offers (4 tools)
Tool Description
list_my_offers Your exchange offers
get_offer Offer details by ID
submit_offer Submit offer to a project (costs 1 connect)
delete_offer Delete an offer
Orders (3 tools)
Tool Description
list_worker_orders Seller orders (all statuses)
get_order_details Order details by ID
send_order_for_approval Submit work for buyer review
Dialogs (4 tools)
Tool Description
list_dialogs Conversations with latest messages
get_dialog Messages by username
send_message Send direct message
mark_dialog_read Mark as read
Kworks (4 tools)
Tool Description
list_my_kworks Your services grouped by status
get_kwork_details Kwork details by ID
start_kwork Activate a paused kwork
pause_kwork Pause an active kwork
Categories (2 tools)
Tool Description
list_categories Full category tree
get_favorite_categories User's favorite categories
Notifications (1 tool)
Tool Description
list_notifications User notifications

🧑‍💻 Development

uv sync --dev
uv run python -m pytest tests/ -x -v
uv run ruff check .
uv run ruff format --check .

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

kwork_mcp-0.1.0.tar.gz (15.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

kwork_mcp-0.1.0-py3-none-any.whl (21.2 kB view details)

Uploaded Python 3

File details

Details for the file kwork_mcp-0.1.0.tar.gz.

File metadata

  • Download URL: kwork_mcp-0.1.0.tar.gz
  • Upload date:
  • Size: 15.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.18 {"installer":{"name":"uv","version":"0.9.18","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Arch Linux","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for kwork_mcp-0.1.0.tar.gz
Algorithm Hash digest
SHA256 8d2dfcf4baa58013277ac738bac5761e6609b9541f99ccd1555745571ef77067
MD5 5c45f68c438befc36d3d12ceb3090582
BLAKE2b-256 91177c2c07ea84d76c99fd043422c4a5ad5ff6fe7bc78afbf35796162152e4b2

See more details on using hashes here.

File details

Details for the file kwork_mcp-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: kwork_mcp-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 21.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.18 {"installer":{"name":"uv","version":"0.9.18","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Arch Linux","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for kwork_mcp-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f43ff2557c857c50b2a292f4f121436174fce9bb51db41d1cbf6d187ab0b6bc5
MD5 bb0610d990ffc1ca0f1a047bf2a9c913
BLAKE2b-256 4a77eafd783d81785d1db397bd11f13088dc21b3ffc380bdfcda0c697ea5b2bd

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page