xcode-mcp-server 1.0.0__py3-none-any.whl → 1.0.2__py3-none-any.whl

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.
@@ -1,21 +1,18 @@
1
1
  """Xcode MCP Server - Model Context Protocol server for Xcode integration"""
2
2
 
3
- from .__main__ import mcp, ALLOWED_FOLDERS, get_allowed_folders
4
-
5
3
  def main():
6
4
  """Entry point for the xcode-mcp-server command"""
7
5
  import sys
8
- from .__main__ import mcp, ALLOWED_FOLDERS, get_allowed_folders
6
+ from . import __main__
9
7
 
10
8
  # Initialize allowed folders
11
- global ALLOWED_FOLDERS
12
- ALLOWED_FOLDERS = get_allowed_folders()
9
+ __main__.ALLOWED_FOLDERS = __main__.get_allowed_folders()
13
10
 
14
11
  # Debug info
15
- print(f"Allowed folders: {ALLOWED_FOLDERS}", file=sys.stderr)
12
+ print(f"Allowed folders: {__main__.ALLOWED_FOLDERS}", file=sys.stderr)
16
13
 
17
14
  # Run the server
18
- mcp.run()
15
+ __main__.mcp.run()
19
16
 
20
17
  __version__ = "1.0.0"
21
- __all__ = ["mcp", "main"]
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", "monkies")
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: No allowed folders specified. Access will be restricted.", file=sys.stderr)
40
- print("Set XCODEMCP_ALLOWED_FOLDERS environment variable to specify allowed folders.", file=sys.stderr)
41
- return allowed_folders
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,11 +1,11 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: xcode-mcp-server
3
- Version: 1.0.0
4
- Summary: MCP server for Xcode integration
5
- Project-URL: Homepage, https://github.com/yourusername/xcode-mcp-server
6
- Project-URL: Repository, https://github.com/yourusername/xcode-mcp-server
7
- Project-URL: Issues, https://github.com/yourusername/xcode-mcp-server/issues
8
- Author-email: Your Name <your.email@example.com>
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
@@ -0,0 +1,6 @@
1
+ xcode_mcp_server/__init__.py,sha256=3OJM6T0CtBDdfhpwMx7gFOwG7EZ0wmeJqdc_BctxAHM,474
2
+ xcode_mcp_server/__main__.py,sha256=j37oU29Mi3cuZanndlx0L2eT-7r6B99_K7BzTKdudyQ,19080
3
+ xcode_mcp_server-1.0.2.dist-info/METADATA,sha256=4j6pM-U8JPg_LK8ee4NkUVt5Z2REjn7Spi9_SRGzokM,4284
4
+ xcode_mcp_server-1.0.2.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
5
+ xcode_mcp_server-1.0.2.dist-info/entry_points.txt,sha256=u3sbPCAACGxesL3YtGByZRj6hXkL_FqncBmUMW1SEzo,59
6
+ xcode_mcp_server-1.0.2.dist-info/RECORD,,
@@ -1,6 +0,0 @@
1
- xcode_mcp_server/__init__.py,sha256=isXCmR_ASdjNbBCThfuDBh5mukoOQLlhYZIxZci5l6E,578
2
- xcode_mcp_server/__main__.py,sha256=9V6gTwUEYPkf5bVtCjNyjw3_YF-zpVhOYbzdFJTTWAk,18997
3
- xcode_mcp_server-1.0.0.dist-info/METADATA,sha256=3G4TaoqRHu8o98cK3Qd3Tj4vIR3bPK76UcWCQRZeRrw,4281
4
- xcode_mcp_server-1.0.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
5
- xcode_mcp_server-1.0.0.dist-info/entry_points.txt,sha256=u3sbPCAACGxesL3YtGByZRj6hXkL_FqncBmUMW1SEzo,59
6
- xcode_mcp_server-1.0.0.dist-info/RECORD,,