Skip to content

Commit

Permalink
Merge pull request #135 from modelcontextprotocol/davidsp/issue-128
Browse files Browse the repository at this point in the history
fix: Package configuration and documentation improvements
  • Loading branch information
dsp-ant authored Jan 6, 2025
2 parents 2efa525 + 0907378 commit c02a295
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
.DS_Store

# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
Expand Down
4 changes: 3 additions & 1 deletion src/mcp/cli/claude.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@

logger = get_logger(__name__)

MCP_PACKAGE = "mcp[cli]"


def get_claude_config_path() -> Path | None:
"""Get the Claude config directory based on platform."""
Expand Down Expand Up @@ -87,7 +89,7 @@ def update_claude_config(
args = ["run"]

# Collect all packages in a set to deduplicate
packages = {"mcp"}
packages = {MCP_PACKAGE}
if with_packages:
packages.update(pkg for pkg in with_packages if pkg)

Expand Down

0 comments on commit c02a295

Please sign in to comment.