Skip to main content

mcpygen

Website PyPI - Version GitHub Release GitHub Actions Workflow Status GitHub License

mcpygen generates typed Python APIs from MCP server tool schemas. Tool calls made through the generated APIs are executed on a local tool server that manages MCP server connections.

Features

Feature Description
API generation Generate typed Python tool APIs from MCP server schemas. Each tool becomes a module with a Pydantic Params model and a run() function. Tools that provide an output schema also get a typed Result model.
Tool server Local server that manages stdio MCP servers and connects to remote streamable HTTP or SSE servers
Approval workflow Gate tool calls with a WebSocket-based approval channel before execution

Documentation

Metadata

Release files for mcpygen 0.1.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mcpygen 0.1.4
File Size Uploaded Provenance Actions
mcpygen-0.1.4.tar.gz 16.3 kB With provenance Details for mcpygen-0.1.4.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for mcpygen 0.1.4
File Interpreter ABI Platform Actions
mcpygen-0.1.4-py3-none-any.whl Python 3 none any Details for mcpygen-0.1.4-py3-none-any.whl

Total release size: 37.7 kB

Release files / mcpygen-0.1.4.tar.gz

Download URL mcpygen-0.1.4.tar.gz
Size 16.3 kB
Tags Source
SHA-256 checksum
How to use checksums
7faffc70a75ced1de830f6ed59acf8cd096c9201bcd9846a999233037c645959
BLAKE2b-256 checksum
How to use checksums
bb428e594fac9318099006156a70c20e12fb1b4524a7df163de33ecaa999e152
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Mar 21, 2026.

Transparency log

Release files / mcpygen-0.1.4-py3-none-any.whl

Download URL mcpygen-0.1.4-py3-none-any.whl
Size 21.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4c13704f1250e1cd314627a5f2bb20c62743e111a9bb16a1091606d2943236cf
BLAKE2b-256 checksum
How to use checksums
4861a9e549af5d1ec01880f08f5779d06a7304d001a6c9c2b7bf7d8a42271fd1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Mar 21, 2026.

Transparency log

Security for mcpygen 0.1.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for mcpygen-0.1.4.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Mar 21, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page