xcode-mcp-server 1.0.0__tar.gz → 1.0.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {xcode_mcp_server-1.0.0 → xcode_mcp_server-1.0.2}/PKG-INFO +6 -6
- xcode_mcp_server-1.0.2/deploy.sh +8 -0
- {xcode_mcp_server-1.0.0 → xcode_mcp_server-1.0.2}/pyproject.toml +6 -6
- xcode_mcp_server-1.0.2/xcode_mcp_server/__init__.py +18 -0
- {xcode_mcp_server-1.0.0 → xcode_mcp_server-1.0.2}/xcode_mcp_server/__main__.py +6 -4
- xcode_mcp_server-1.0.0/package.json +0 -21
- xcode_mcp_server-1.0.0/xcode_mcp_server/__init__.py +0 -21
- {xcode_mcp_server-1.0.0 → xcode_mcp_server-1.0.2}/.claude/settings.local.json +0 -0
- {xcode_mcp_server-1.0.0 → xcode_mcp_server-1.0.2}/.gitignore +0 -0
- {xcode_mcp_server-1.0.0 → xcode_mcp_server-1.0.2}/README.md +0 -0
- {xcode_mcp_server-1.0.0 → xcode_mcp_server-1.0.2}/requirements.txt +0 -0
@@ -1,11 +1,11 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: xcode-mcp-server
|
3
|
-
Version: 1.0.
|
4
|
-
Summary: MCP server for Xcode integration
|
5
|
-
Project-URL: Homepage, https://github.com/
|
6
|
-
Project-URL: Repository, https://github.com/
|
7
|
-
Project-URL: Issues, https://github.com/
|
8
|
-
Author-email:
|
3
|
+
Version: 1.0.2
|
4
|
+
Summary: Drew's MCP server for Xcode integration
|
5
|
+
Project-URL: Homepage, https://github.com/drewster99/xcode-mcp-server
|
6
|
+
Project-URL: Repository, https://github.com/drewster99/xcode-mcp-server
|
7
|
+
Project-URL: Issues, https://github.com/drewster99/xcode-mcp-server/issues
|
8
|
+
Author-email: Andrew Benson <db@nuclearcyborg.com>
|
9
9
|
License: MIT
|
10
10
|
Keywords: mcp,server,xcode
|
11
11
|
Classifier: Development Status :: 3 - Alpha
|
@@ -4,13 +4,13 @@ build-backend = "hatchling.build"
|
|
4
4
|
|
5
5
|
[project]
|
6
6
|
name = "xcode-mcp-server"
|
7
|
-
version = "1.0.
|
8
|
-
description = "MCP server for Xcode integration"
|
7
|
+
version = "1.0.2"
|
8
|
+
description = "Drew's MCP server for Xcode integration"
|
9
9
|
readme = "README.md"
|
10
10
|
requires-python = ">=3.8"
|
11
11
|
license = {text = "MIT"}
|
12
12
|
authors = [
|
13
|
-
{name = "
|
13
|
+
{name = "Andrew Benson", email = "db@nuclearcyborg.com"},
|
14
14
|
]
|
15
15
|
keywords = ["mcp", "xcode", "server"]
|
16
16
|
classifiers = [
|
@@ -35,6 +35,6 @@ xcode-mcp-server = "xcode_mcp_server:main"
|
|
35
35
|
dev-dependencies = []
|
36
36
|
|
37
37
|
[project.urls]
|
38
|
-
Homepage = "https://github.com/
|
39
|
-
Repository = "https://github.com/
|
40
|
-
Issues = "https://github.com/
|
38
|
+
Homepage = "https://github.com/drewster99/xcode-mcp-server"
|
39
|
+
Repository = "https://github.com/drewster99/xcode-mcp-server"
|
40
|
+
Issues = "https://github.com/drewster99/xcode-mcp-server/issues"
|
@@ -0,0 +1,18 @@
|
|
1
|
+
"""Xcode MCP Server - Model Context Protocol server for Xcode integration"""
|
2
|
+
|
3
|
+
def main():
|
4
|
+
"""Entry point for the xcode-mcp-server command"""
|
5
|
+
import sys
|
6
|
+
from . import __main__
|
7
|
+
|
8
|
+
# Initialize allowed folders
|
9
|
+
__main__.ALLOWED_FOLDERS = __main__.get_allowed_folders()
|
10
|
+
|
11
|
+
# Debug info
|
12
|
+
print(f"Allowed folders: {__main__.ALLOWED_FOLDERS}", file=sys.stderr)
|
13
|
+
|
14
|
+
# Run the server
|
15
|
+
__main__.mcp.run()
|
16
|
+
|
17
|
+
__version__ = "1.0.0"
|
18
|
+
__all__ = ["main"]
|
@@ -31,14 +31,16 @@ def get_allowed_folders() -> Set[str]:
|
|
31
31
|
allowed_folders = set()
|
32
32
|
|
33
33
|
# Get from environment variable
|
34
|
-
folder_list_str = os.environ.get("XCODEMCP_ALLOWED_FOLDERS"
|
34
|
+
folder_list_str = os.environ.get("XCODEMCP_ALLOWED_FOLDERS")
|
35
35
|
|
36
36
|
if folder_list_str:
|
37
37
|
print(f"Using allowed folders from environment: {folder_list_str}", file=sys.stderr)
|
38
38
|
else:
|
39
|
-
print("Warning:
|
40
|
-
print("Set XCODEMCP_ALLOWED_FOLDERS environment variable to
|
41
|
-
|
39
|
+
print("Warning: Allowed folders was not specified.", file=sys.stderr)
|
40
|
+
print("Set XCODEMCP_ALLOWED_FOLDERS environment variable to a colon-separated list of allowed folders.", file=sys.stderr)
|
41
|
+
home = os.environ.get("HOME", "/")
|
42
|
+
print("Trying $HOME, {home}", file=sys.stderr)
|
43
|
+
folder_list_str = home
|
42
44
|
|
43
45
|
# Process the list
|
44
46
|
folder_list = folder_list_str.split(":")
|
@@ -1,21 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"name": "xcode-mcp-server",
|
3
|
-
"version": "1.0.0",
|
4
|
-
"description": "MCP server for Xcode integration",
|
5
|
-
"bin": {
|
6
|
-
"xcode-mcp-server": "./index.js"
|
7
|
-
},
|
8
|
-
"scripts": {
|
9
|
-
"start": "node index.js"
|
10
|
-
},
|
11
|
-
"keywords": [
|
12
|
-
"mcp",
|
13
|
-
"xcode",
|
14
|
-
"server"
|
15
|
-
],
|
16
|
-
"author": "",
|
17
|
-
"license": "MIT",
|
18
|
-
"engines": {
|
19
|
-
"node": ">=14.0.0"
|
20
|
-
}
|
21
|
-
}
|
@@ -1,21 +0,0 @@
|
|
1
|
-
"""Xcode MCP Server - Model Context Protocol server for Xcode integration"""
|
2
|
-
|
3
|
-
from .__main__ import mcp, ALLOWED_FOLDERS, get_allowed_folders
|
4
|
-
|
5
|
-
def main():
|
6
|
-
"""Entry point for the xcode-mcp-server command"""
|
7
|
-
import sys
|
8
|
-
from .__main__ import mcp, ALLOWED_FOLDERS, get_allowed_folders
|
9
|
-
|
10
|
-
# Initialize allowed folders
|
11
|
-
global ALLOWED_FOLDERS
|
12
|
-
ALLOWED_FOLDERS = get_allowed_folders()
|
13
|
-
|
14
|
-
# Debug info
|
15
|
-
print(f"Allowed folders: {ALLOWED_FOLDERS}", file=sys.stderr)
|
16
|
-
|
17
|
-
# Run the server
|
18
|
-
mcp.run()
|
19
|
-
|
20
|
-
__version__ = "1.0.0"
|
21
|
-
__all__ = ["mcp", "main"]
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|