Skip to content

Releases: gradion-ai/mcpygen

0.1.4

Choose a tag to compare

@krasserm krasserm released this 21 Mar 07:20
e81981f

What's Changed

  • Add ApprovalRequestor client and /approve endpoint by @krasserm in #4

Full Changelog: 0.1.3...0.1.4

0.1.3

Choose a tag to compare

@krasserm krasserm released this 13 Mar 08:27

Bug Fixes

  • Fix FutureWarning from datamodel-code-generator by setting explicit formatters

Full Changelog: 0.1.2...0.1.3

0.1.2

Choose a tag to compare

@krasserm krasserm released this 10 Mar 07:20
09fee7b

What's Changed

  • Fix stale output_schema leaking between tools in generate_mcp_sources by @krasserm in #3
  • Forward connect_timeout from ToolServer to MCPClient by @krasserm in #2

Full Changelog: 0.1.1...0.1.2

0.1.1

Choose a tag to compare

@krasserm krasserm released this 07 Mar 06:06
4e7cedc

What's Changed

  • Add async API generation support to apigen by @krasserm in #1

New Contributors

Full Changelog: 0.1.0...0.1.1

0.1.0

Choose a tag to compare

@krasserm krasserm released this 04 Mar 05:40

Initial release of mcpygen, factored out from ipybox as a standalone project.

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.