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.2.tar.gz (6.5 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.2-py2.py3-none-any.whl (5.4 kB view details)

Uploaded Python 2Python 3

File details

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

File metadata

  • Download URL: mcp_devtasks-0.0.2.tar.gz
  • Upload date:
  • Size: 6.5 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.2.tar.gz
Algorithm Hash digest
SHA256 2cfa64a0fc7a9f309d199a73b5f2b52ea0bf0e548d012940398f21fac2463dce
MD5 1749902fa07f0f74703a40f91481ce89
BLAKE2b-256 a1e5d77a0fe45590147db2e1529ef5a7b13c40710227d036da1f252f89f15609

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mcp_devtasks-0.0.2-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.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 ffe9fd8c8f570efeef2a2b090a66e44d6b33995188232dc12dba71dda159793b
MD5 eb347cc015cf362793905cae20e2a2b3
BLAKE2b-256 e96a411d0ef5d862da00f5d2cd9fbdd600e9a344411e6cef894e6ad55bcb5e07

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