magnet
An MCP server for interacting with Magnet (magnet.run)
claude mcp add --transport stdio toolkit-ai-magnet-mcp-server npx -y @magnet-ai/magnet-mcp-server \ --env MAGNET_API_KEY="your-api-key-here"
How to use
This Magnet MCP Server provides a bridge to the Magnet platform via the MCP interface. It uses the official Magnet MCP server package, invoked through npx, to connect your workspace’s API key to the MCP transport so you can interact with Magnet features through your MCP-enabled clients. Once configured, clients such as Cursor/ Claude Desktop or Claude Code can communicate with Magnet through the MCP layer and leverage Magnet’s capabilities in prompts and workflows.
To use it, configure the Magnet section in your MCP settings (as shown in the README) with the npx invocation for the magnet-mcp-server and your API key. Clients can then connect to this MCP server using the standard MCP transport named Magnet. If you encounter issues, verify that your Node.js/npx version matches the guidance and consider specifying a full path to your npx executable in the command field.
How to install
Prerequisites:
- macOS (as noted in the repository) with sudo access
- Node.js installed (recommended LTS, e.g., 18.x or newer) and npm or npx available
- A Magnet API key generated for your Workspace/Organization
Installation steps:
- Install Node.js and npm from https://nodejs.org/ (or use your preferred Node version manager).
- Ensure npx is available by running: node -v and npm -v; then npx -v should return a version.
- Obtain your Magnet API key from https://www.magnet.run/settings or the Desktop app Settings → MCP.
- Configure the MCP server using the example from the README (Cursor/Claude Desktop) or Claude Code commands provided in the README to start using the magnet-mcp-server package via npx.
- If you need to customize paths or versions, consider using a full path to npx in the command field as suggested in the notes.
Additional notes
Tips:
- If MCP configuration fails, it might be due to Node.js/npx version mismatches. Consider specifying the full path to your npx executable in the command field.
- The server expects your MAGNET_API_KEY to be set; never commit real keys in public repos. Use a secure method to inject environment variables.
- This MCP server is macOS-focused per the README; cross-platform support is planned, so expect potential platform-specific caveats.
- If using Claude Code, the exact command to add the MCP transport is provided in the README and should be adapted to your environment if needed.
Related MCP Servers
iterm
A Model Context Protocol server that executes commands in the current iTerm session - useful for REPL and CLI assistance
mcp
Octopus Deploy Official MCP Server
furi
CLI & API for MCP management
editor
MCP Server for Phaser Editor
DoorDash
MCP server from JordanDalton/DoorDash-MCP-Server
mcp
MCP сервер для автоматического создания и развертывания приложений в Timeweb Cloud