Skip to main content

A development tasks MCP server for automating install, build, lint, test, and CI commands.

Project description

mcp_devtasks MCP Server

This project provides basic development tools as an MCP server, designed to be used with Claude Desktop or any Model Context Protocol (MCP) client. It exposes dev tasks (install, build, lint, test, ci) as callable tools.

UVX Installation and Usage

This project supports UVX for fast, isolated Python package execution, following the Model Context Protocol (MCP) server pattern.

Prerequisites

  • Python 3.10+
  • uvx installed (pip install uv or see uv docs)

Install from PyPI

pip install mcp-devtasks

Development Install

git clone https://github.com/blooop/mcp_devtasks.git
cd mcp_devtasks
pip install -e .

Running the MCP Server with UVX

You can run the MCP server using UVX, which is the recommended approach for integration with tools like Claude Desktop:

uvx mcp-devtasks
  • This will launch the MCP server as defined in this package.

Example Claude Desktop Configuration

Add to your claude_desktop_config.json:

{
  "mcpServers": {
    "devtasks": {
      "command": "uvx",
      "args": [
        "mcp-devtasks"
      ]
    }
  }
}

CLI Usage

You can also run the server directly:

python -m main

or, if installed as a script:

mcp-devtasks

Available Dev Tasks

The following dev tasks are exposed as MCP tools:

  • install: Install all dependencies required for the project.
  • build: Build the project.
  • lint: Lint the codebase.
  • test: Run all tests.
  • ci: Run the full CI pipeline.

You can call these tools from your MCP client or Claude Desktop interface.

Dev Task Configuration (mcp_devtasks.yaml)

The dev tasks exposed by this MCP server are configured via a YAML file named mcp_devtasks.yaml in the project root. This file maps task names to the shell commands that will be executed when the corresponding MCP tool is called.

Example mcp_devtasks.yaml

# mcp_devtasks.yaml
# YAML file specifying shell commands for each dev task
install: "echo Installing dependencies... && pixi update"
build: "echo Building project... && pixi run build"
lint: "echo Linting code... && pixi run lint"
test: "echo Running tests... && pixi run test"
ci: "echo Running CI checks... && pixi run ci-no-cover"

You can customize this file to add, remove, or change the commands for your development workflow. Each key becomes an MCP tool, and the value is the shell command that will be run.

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

mcp_devtasks-0.0.3.tar.gz (6.6 kB view details)

Uploaded Source

Built Distribution

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

mcp_devtasks-0.0.3-py2.py3-none-any.whl (5.4 kB view details)

Uploaded Python 2Python 3

File details

Details for the file mcp_devtasks-0.0.3.tar.gz.

File metadata

  • Download URL: mcp_devtasks-0.0.3.tar.gz
  • Upload date:
  • Size: 6.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.13

File hashes

Hashes for mcp_devtasks-0.0.3.tar.gz
Algorithm Hash digest
SHA256 7afe515557f58b453a222dc3a156e9f36c4971adda4c125bd596dda88ee32d2b
MD5 a49c50371e3090d3f263bf882577de86
BLAKE2b-256 266cec923634c9e79be1a334c2284bda8336c86816e5bff51d707e9985a2ee42

See more details on using hashes here.

File details

Details for the file mcp_devtasks-0.0.3-py2.py3-none-any.whl.

File metadata

  • Download URL: mcp_devtasks-0.0.3-py2.py3-none-any.whl
  • Upload date:
  • Size: 5.4 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.13

File hashes

Hashes for mcp_devtasks-0.0.3-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 b29c077ba64d8108e2f09f07e3e2006d2b11c20dab1ed47f3c23bd5e2782d233
MD5 c0a13931dd9fdbade3f632fe535f276b
BLAKE2b-256 49c844153db7ebebb9a43bcefd0f8ba69e3ec94bff1be277d291f54dc96f7d9e

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