Skip to main content

MCP tooling infrastructure: client, code generation, tool server, and approval workflow

Project description

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

  • 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

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

mcpygen-0.1.0.tar.gz (15.6 kB view details)

Uploaded Source

Built Distribution

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

mcpygen-0.1.0-py3-none-any.whl (20.5 kB view details)

Uploaded Python 3

File details

Details for the file mcpygen-0.1.0.tar.gz.

File metadata

  • Download URL: mcpygen-0.1.0.tar.gz
  • Upload date:
  • Size: 15.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for mcpygen-0.1.0.tar.gz
Algorithm Hash digest
SHA256 0793cc453e55ccc1a0d0fe99f7fd5bc59e6cfedbb387a76261e966bc4862a5a2
MD5 a5470f0c421741bf74fe0f46c776e236
BLAKE2b-256 f8eb7c0e00b1fb673492008d5289e059c387c26aed4ed34655e14254f68a25d6

See more details on using hashes here.

Provenance

The following attestation bundles were made for mcpygen-0.1.0.tar.gz:

Publisher: release.yml on gradion-ai/mcpygen

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

File details

Details for the file mcpygen-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: mcpygen-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 20.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for mcpygen-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c04ea32337bc09d435dbbe451c72e1812f0411eadef3c54159f0bff9f1e412a1
MD5 105ba64b3f0220ed9070b60d09acf276
BLAKE2b-256 e5dbafda933c67812497e92c831e1a19f2362257d19a37f02bbf7dfe7f6cbc10

See more details on using hashes here.

Provenance

The following attestation bundles were made for mcpygen-0.1.0-py3-none-any.whl:

Publisher: release.yml on gradion-ai/mcpygen

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