Merge branch 'v1.2.x'
This commit is contained in:
commit
0c00fdc783
3 changed files with 8 additions and 2 deletions
4
.github/workflows/main-checks.yml
vendored
4
.github/workflows/main-checks.yml
vendored
|
|
@ -4,7 +4,9 @@ on:
|
|||
push:
|
||||
branches:
|
||||
- main
|
||||
- 'v*.*.*'
|
||||
- "v*.*.*"
|
||||
tags:
|
||||
- "v*.*.*"
|
||||
|
||||
jobs:
|
||||
checks:
|
||||
|
|
|
|||
2
.gitignore
vendored
2
.gitignore
vendored
|
|
@ -1,3 +1,5 @@
|
|||
.DS_Store
|
||||
|
||||
# Byte-compiled / optimized / DLL files
|
||||
__pycache__/
|
||||
*.py[cod]
|
||||
|
|
|
|||
|
|
@ -8,6 +8,8 @@ from mcp.server.fastmcp.utilities.logging import get_logger
|
|||
|
||||
logger = get_logger(__name__)
|
||||
|
||||
MCP_PACKAGE = "mcp[cli]"
|
||||
|
||||
|
||||
def get_claude_config_path() -> Path | None:
|
||||
"""Get the Claude config directory based on platform."""
|
||||
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue