The Powerduck Blog

API engineering, from the spec out

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

Browse the guides
Cloud 2 min read

Publishing partner API docs shouldn't become a website project

Integration is done and the partner asks for a link. Finish descriptions locally, verify real calls, and publish versioned hosted docs and MCP from the same workspace, with no doc-tool rollout attached.

Read article
mcp 4 min read

Publish API docs and an MCP endpoint from one spec with a custom domain

Docs, mock, and MCP endpoint usually mean three pipelines, three versions, and three sources of drift. Here is how to publish human docs and an agent endpoint from one OpenAPI document on your own domain, with access control, versioning, and a rollback path.

Read article
mcp 4 min read

MCP vs function calling vs ChatGPT plugins: what API teams actually need in 2026

Function calling is a model capability; plugins were a ChatGPT-era distribution experiment; MCP is a transport and discovery protocol between clients and tool servers. They are not competitors, and confusing them produces bad integrations. Here is the layered view and where your OpenAPI spec fits.

Read article
mcp 2 min read

We gave a partner’s AI agent 12 of our 47 endpoints. Here is how.

A concrete Cloud walkthrough: publish a managed Streamable HTTP MCP endpoint from one spec, expose twelve operations out of forty-seven, gate agents with a rotated bearer key, inject upstream auth, and pin the partner to an immutable version.

Read article
AI Agents 4 min read

Stop pasting API docs into AI coding agents: serve the spec over MCP

Pasted docs rot mid-session, burn tokens on every conversation, and leave the agent guessing field names. An MCP server generated from the OpenAPI spec gives an agent callable tools with typed inputs instead of prose. Here is when that wins and when it does not.

Read article
mcp 2 min read

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.

Read article
testing 4 min read

API contract testing without Pact's overhead: a lighter workflow for small teams

Consumer-driven contracts with Pact are powerful but bring a broker, pactfiles, and a workflow small teams never maintain. Here is what contract testing is really protecting, and a lighter OpenAPI-based setup that catches the same integration bugs with tools you already run.

Read article