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

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

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.4.tar.gz (16.3 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.4-py3-none-any.whl (21.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: mcpygen-0.1.4.tar.gz
  • Upload date:
  • Size: 16.3 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.4.tar.gz
Algorithm Hash digest
SHA256 7faffc70a75ced1de830f6ed59acf8cd096c9201bcd9846a999233037c645959
MD5 42f2f6ca8c86573187bcb78c8e052acd
BLAKE2b-256 bb428e594fac9318099006156a70c20e12fb1b4524a7df163de33ecaa999e152

See more details on using hashes here.

Provenance

The following attestation bundles were made for mcpygen-0.1.4.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.4-py3-none-any.whl.

File metadata

  • Download URL: mcpygen-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 21.4 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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 4c13704f1250e1cd314627a5f2bb20c62743e111a9bb16a1091606d2943236cf
MD5 529d737ae59baede118460efe4196f7d
BLAKE2b-256 4861a9e549af5d1ec01880f08f5779d06a7304d001a6c9c2b7bf7d8a42271fd1

See more details on using hashes here.

Provenance

The following attestation bundles were made for mcpygen-0.1.4-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