Pypreset MCP Server

Scaffold Python projects from YAML presets, augment existing projects with CI/tests.

Local serverstdioPython

What is the Pypreset MCP server?

Scaffold Python projects from YAML presets, augment existing projects with CI/tests. That is what the pypreset mcp server brings to an AI assistant: the same capability, reachable through the Model Context Protocol rather than a separate app or dashboard.

The short version

  • Preset-based project creation — from YAML configs with single inheritance
  • Augment existing projects — with CI workflows, tests, Docker, documentation, and more
  • Three package managers — Poetry, uv (PEP 621 + hatchling), and setuptools (PEP 621 + setuptools.build_meta)
  • Two layout styles — src/ layout and flat layout
  • Type checking — mypy, pyright, ty, or none
  • Code quality — ruff linting/formatting, radon complexity checks, pre-commit hooks

Getting it running

The server ships on PyPI as pypreset, so your MCP client can launch it on demand — there is no separate build step. Add the server block to your client's configuration, restart it, and the tools register themselves.

What it needs from you

Configuration is passed through the environment: GITHUB_TOKEN. Treat anything key-shaped as a real credential — scope it to the minimum the server needs, and rotate it if it ever lands in a shared config.

How it compares

Among the cloud and infrastructure options, the useful question is rarely "what can it do" but "what does it cost you to run" — permissions, credentials, and how much of your context its toolset consumes. It is maintained by KaiErikNiermann; worth a glance at recent repository activity before you build anything load-bearing on it.

This entry was verified against Pypreset's own documentation before publication; SyncDev keeps the directory reviewed rather than auto-generated.

Things to watch

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • Missing credentials fail quietly in some clients — if no tools show up, check the environment block first.
  • Keep per-call confirmation enabled while you learn its behaviour; it is the cheapest safeguard you have.

How to install the Pypreset MCP server

```json
{
  "mcpServers": {
    "pypreset": {
      "command": "uvx",
      "args": ["--from", "pypreset[mcp]", "pypreset-mcp"]
    }
  }
}

Configuration as documented by the project. Restart the client after saving.

Configuration

VariableDescriptionRequired
GITHUB_TOKENCredential the server authenticates with.Yes

Frequently asked questions

It connects Pypreset to MCP-compatible AI assistants such as Claude and Cursor. Instead of copying data back and forth by hand, the assistant works with Pypreset directly.