Powerduck Blog

Product updates, engineering notes, and guides for designing, debugging, testing, mocking, and serving MCP tools from one OpenAPI spec.

Your API already describes the tools your AI agent needs

Hand-writing tool wrappers around existing order and inventory endpoints means maintaining every contract twice. Generate the MCP server from the OpenAPI spec, start with read-only tools, and widen the surface deliberately.

2 min read

The backend was three weeks late. We shipped the frontend anyway.

A concrete sprint diary: one OpenAPI file drove a local mock with latency and error overrides, a four-step checkout scenario with an HTML report, live docs, derived database tables and a hosted MCP endpoint while the real API did not exist yet.

2 min read

Your AI codes fast. The integration is still wrong.

Generated screens fail on limit versus pageSize, data.records versus data.items, cents versus dollars. The fix is not a better prompt; it is letting the agent query the real contract and verify against real responses.

2 min read