---
title: "Discussion on \"Connect Cursor and Claude Code to your internal API over MCP (step by step)\" | Hashnode"
description: "Discussion on \"Connect Cursor and Claude Code to your internal API over MCP (step by step)\". Stop pasting internal API docs into every agent session. Serve the OpenAPI spec as a local or hosted MCP endpoint, register it once in Cursor and Claude Code, and let the agent call typed tools. Here is the full setup, auth scoping, and the verification checklist."
url: "https://hashnode.com/posts/connect-cursor-claude-code-to-internal-api-mcp/6aca07e2ec4b45255eb80d9b"
---

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

Discussion

# [Connect Cursor and Claude Code to your internal API over MCP (step by step)](https://blogs.powerduck.com/connect-cursor-claude-code-to-internal-api-mcp?utm_source=hashnode&utm_medium=feed)

Stop pasting internal API docs into every agent session. Serve the OpenAPI spec as a local or hosted MCP endpoint, register it once in Cursor and Claude Code, and let the agent call typed tools. Here is the full setup, auth scoping, and the verification checklist.

Oct 4 · 7 min read · blogs.powerduck.com  
Read the article

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

## Written by

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

@powerduck · hon

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

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
