Skip to content

getcmd-dev/spm-dependencies-mcp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

@getcmd/spm-dependencies-mcp

An MCP server for searching and exploring SPM dependencies in your Xcode and SPM projects.

The code of your SPM dependencies is located in hidden folders, often in other directories (DerivedData etc). Coding agents cannot easily access it, were they to need it. This MCP solves this gap.

Configuration

{
  "mcpServers": {
    "spm-dependencies": {
      "command": "npx",
      "args": ["-y", "@getcmd/spm-dependencies-mcp"]
    }
  }
}

Tools

  • list_dependencies lists the dependencies used by a project/package, which version they resolve to, and where to find them on disk
  • search search over dependencies with ripgrep. Arbitrary parameters can be forwarded to ripgrep.
  • list-files list within dependencies
  • read search a file within the dependencies with sed. Arbitrary parameters can be forwarded to sed.

CLI Usage

The tools made available through the MCP server can be directly access in a CLI:

$ npx -y @getcmd/spm-dependencies-mcp --help

Search Swift Package Manager dependencies

Usage: spm-dependencies-mcp [COMMAND]

Commands:
  list-dependencies  List all dependencies for a Swift project
  search             Search through dependencies using ripgrep
  list-files         List files in a dependency
  read               Read a file from a dependency using sed
  help               Print this message or the help of the given subcommand(s)

Options:
  -h, --help     Print help
  -V, --version  Print version

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors