---
title: "Discussion on \"Claude Code MCP scopes explained: .mcp.json vs claude mcp add (with outputs)\" | Hashnode"
description: "Discussion on \"Claude Code MCP scopes explained: .mcp.json vs claude mcp add (with outputs)\". Where each scope writes, which one wins, how to keep secrets out of git, and scripts that work on Windows"
url: "https://hashnode.com/posts/claude-code-mcp-scopes-explained-mcp-json-vs-claude-mcp-add-with-outputs/6ad07a89935dabad2ef41476"
---

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

Discussion

# [Claude Code MCP scopes explained: .mcp.json vs claude mcp add (with outputs)](https://socketlist.hashnode.dev/claude-code-mcp-scopes-explained-mcp-json-vs-claude-mcp-add-with-outputs?utm_source=hashnode&utm_medium=feed)

Where each scope writes, which one wins, how to keep secrets out of git, and scripts that work on Windows

Oct 15 · 4 min read · socketlist.hashnode.dev  
Read the article

-   [#claude](https://hashnode.com/tag/claude)
-   [#ai](https://hashnode.com/tag/ai)
-   [#developer-tools](https://hashnode.com/tag/developer-tools)
-   [#mcp](https://hashnode.com/tag/mcp)

## Written by

[Socketlist](https://hashnode.com/@socketlist)

@socketlist

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

Open directory of MCP servers with verified install configs. https://socketlist.pages.dev

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
