Skip to main content

Minimal stdio MCP server for parallel task execution by AI agents

Project description

AgentTasker MCP Server

AgentTasker is a small, stdio-only MCP server for AI agents that need to run multiple tasks quickly and get structured results back in one call.

It is intentionally narrow:

  • two tools: execute and execute_batch
  • local stdio transport only
  • zero third-party runtime dependencies
  • explicit dependency control with depends_on
  • compact, model-friendly JSON responses

Repository: https://github.com/S3bRR/agent-tasker-mcp

Why This Exists

Most agent orchestration layers are heavier than they need to be. This project is designed for the common case:

  • run a few tasks in parallel
  • let one task wait on another when needed
  • keep the MCP surface small enough for models to use reliably

There is no queue service, no persistence layer, no background worker system, and no SDK dependency required at runtime.

What It Supports

Task types:

  • python_code
  • http_request
  • discovery_search
  • web_scrape
  • shell_command
  • file_read
  • file_write

Public MCP tools:

  • execute
  • execute_batch

Install

Recommended: uvx

Once the package is live on PyPI:

uvx agent-tasker-mcp-server --workers 8

Until then, run directly from GitHub:

uvx --from git+https://github.com/S3bRR/agent-tasker-mcp.git agent-tasker-mcp-server --workers 8

pipx

Once the package is live on PyPI:

pipx install agent-tasker-mcp-server

Until then:

pipx install git+https://github.com/S3bRR/agent-tasker-mcp.git

Local clone

git clone https://github.com/S3bRR/agent-tasker-mcp.git
cd agent-tasker-mcp
./setup.sh

MCP Client Configuration

Published package

{
  "command": "uvx",
  "args": ["agent-tasker-mcp-server", "--workers", "8"]
}

GitHub source

{
  "command": "uvx",
  "args": [
    "--from",
    "git+https://github.com/S3bRR/agent-tasker-mcp.git",
    "agent-tasker-mcp-server",
    "--workers",
    "8"
  ]
}

Local checkout

{
  "command": "/absolute/path/to/agent-tasker-mcp/.venv/bin/agent-tasker-mcp-server",
  "args": ["--workers", "8"]
}

Usage

execute

Run one task immediately.

{
  "task_type": "python_code",
  "code": "result = 6 * 7"
}

execute_batch

Run multiple tasks concurrently.

{
  "tasks": [
    {
      "name": "fetch_users",
      "task_type": "http_request",
      "url": "https://api.example.com/users"
    },
    {
      "name": "calc",
      "task_type": "python_code",
      "code": "result = 6 * 7"
    }
  ],
  "output_mode": "compact"
}

depends_on

If one task must wait for another, make it explicit.

{
  "tasks": [
    {
      "name": "write_file",
      "task_type": "file_write",
      "path": "/tmp/example.txt",
      "content": "hello"
    },
    {
      "name": "read_file",
      "task_type": "file_read",
      "path": "/tmp/example.txt",
      "depends_on": ["write_file"]
    }
  ]
}

If an upstream dependency fails, downstream tasks are marked failed and do not run.

Output Shape

output_mode supports:

  • compact (default)
  • full

The response is ordered to match the input task list, which makes it easier for models to consume without extra reconciliation logic.

Release Process

Releases are tag-driven.

  1. update pyproject.toml and server.json to the same version
  2. commit and push to main
  3. create and push a matching tag such as v1.0.0
  4. GitHub Actions runs tests, builds the package, publishes to PyPI through Trusted Publishing, and then publishes server.json to the MCP Registry

The release workflow rejects version drift: the pushed tag, pyproject.toml, and server.json must match exactly.

Limits

Optional environment variables:

  • AGENT_TASKER_MAX_TASKS: maximum tasks per execute_batch
  • AGENT_TASKER_MAX_PAYLOAD_BYTES: maximum payload size per task
  • AGENT_TASKER_MAX_MEMORY_MB: soft process memory guard

Security Notes

This server is intended for trusted environments.

  • python_code executes Python code
  • shell_command executes shell commands
  • file_read and file_write operate on the local filesystem

Do not expose this server directly to untrusted users.

Development

Create a local environment:

python3 -m venv .venv
source .venv/bin/activate
pip install .

Run the server:

agent-tasker-mcp-server --workers 4

Run tests:

.venv/bin/python -m unittest discover -s tests

Packaging

This repo includes server.json for MCP Registry publication and a GitHub Actions workflow that publishes both the PyPI package and MCP metadata from a version tag.

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

agent_tasker_mcp_server-1.0.1.tar.gz (28.4 kB view details)

Uploaded Source

Built Distribution

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

agent_tasker_mcp_server-1.0.1-py3-none-any.whl (24.8 kB view details)

Uploaded Python 3

File details

Details for the file agent_tasker_mcp_server-1.0.1.tar.gz.

File metadata

  • Download URL: agent_tasker_mcp_server-1.0.1.tar.gz
  • Upload date:
  • Size: 28.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for agent_tasker_mcp_server-1.0.1.tar.gz
Algorithm Hash digest
SHA256 5795926869fd7e1b7ed5cc5b7b351ff7342fae23007d0291d245065068f7df06
MD5 28dbf5ebe799dbb1f39cf9eeb1194ad9
BLAKE2b-256 99297552aaf8b4ceae0b5fff920fb32831e76714e631d7cf87dde1f9b37addd2

See more details on using hashes here.

Provenance

The following attestation bundles were made for agent_tasker_mcp_server-1.0.1.tar.gz:

Publisher: release.yml on S3bRR/agent-tasker-mcp

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file agent_tasker_mcp_server-1.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for agent_tasker_mcp_server-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b0debba1038eefa5cd300286dea0f80e11a5ae8a31701e47c4e3c3f83560689d
MD5 bc6274529bce59a56e8c12d685501c2f
BLAKE2b-256 3d4b86d43e2c200d2bd183e51e1e7c1399b87f5baa57f386168a43958937ff0b

See more details on using hashes here.

Provenance

The following attestation bundles were made for agent_tasker_mcp_server-1.0.1-py3-none-any.whl:

Publisher: release.yml on S3bRR/agent-tasker-mcp

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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