### Install Node.js Project Dependencies Source: https://github.com/useshortcut/mcp-server-shortcut/blob/main/README.md This command installs all necessary Node.js package dependencies for the `@shortcut/mcp` project, typically defined in `package.json`. ```bash npm install ``` -------------------------------- ### Configure Local Development MCP Server Source: https://github.com/useshortcut/mcp-server-shortcut/blob/main/README.md This configuration snippet allows AI assistants like Cursor and Windsurf to use a locally built version of the MCP server for development and testing. It specifies the `node` command to run the compiled `index.js` file from the local `dist` directory, along with the necessary API token environment variable. This requires the project to be built first using `npm run build`. ```json { "mcpServers": { "shortcut": { "command": "node", "args": [ "/path/to/your/local/mcp-server-shortcut/dist/index.js" ], "env": { "SHORTCUT_API_TOKEN": "" } } } } ``` -------------------------------- ### Build Node.js Project Source: https://github.com/useshortcut/mcp-server-shortcut/blob/main/README.md This command executes the build script defined in the `package.json` for the `@shortcut/mcp` project, compiling source code into a distributable format. ```bash npm run build ``` -------------------------------- ### Configure MCP Server for Windsurf and Cursor Source: https://github.com/useshortcut/mcp-server-shortcut/blob/main/README.md This configuration snippet allows both Windsurf and Cursor to connect to the Shortcut Model Context Protocol (MCP) server. It defines a custom server entry within their respective configuration files (Windsurf MCP Configuration Panel or ~/.cursor/mcp.json), specifying `npx` to run the latest `@shortcut/mcp` package and an environment variable for the API token. Users should replace `` with their actual token. ```json { "mcpServers": { "shortcut": { "command": "npx", "args": [ "-y", "@shortcut/mcp@latest" ], "env": { "SHORTCUT_API_TOKEN": "" } } } } ``` -------------------------------- ### Configure Claude Code for Shortcut MCP Server Source: https://github.com/useshortcut/mcp-server-shortcut/blob/main/README.md This configuration snippet enables Claude Code to utilize the Shortcut Model Context Protocol (MCP) server. It defines a custom server entry within the `~/.claude.json` file, nested under `projects.mcpServers`, instructing Claude Code to execute the `@shortcut/mcp` package via `npx` and providing an environment variable for the API token. Users must replace `` with their actual token. ```json { "projects": { "mcpServers": { "shortcut": { "command": "npx", "args": [ "-y", "@shortcut/mcp@latest" ], "env": { "SHORTCUT_API_TOKEN": "" } } } } } ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.