---
title: "Discussion on \"Publish API docs and an MCP endpoint from one spec with a custom domain\" | Hashnode"
description: "Discussion on \"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."
url: "https://hashnode.com/posts/publish-api-docs-mcp-custom-domain/6aca07dfe939dde236d7573a"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Publish API docs and an MCP endpoint from one spec with a custom domain](https://blogs.powerduck.com/publish-api-docs-mcp-custom-domain?utm_source=hashnode&utm_medium=feed)

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.

Sep 27 · 6 min read · blogs.powerduck.com  
Read the article

-   [#mcp](https://hashnode.com/tag/mcp)
-   [#documentation](https://hashnode.com/tag/documentation)

## Written by

[Powerduck](https://hashnode.com/@powerduck)

@powerduck · hon

  
[View profile](https://hashnode.com/@powerduck)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
