To develop locally:
# Clone the repository
git clone https://github.com/tacticlaunch/mcp-linear.git
cd mcp-linear
# Install dependencies
npm install
# Run in development mode
npm run dev -- --token YOUR_LINEAR_API_TOKENTo inspect the server by @modelcontextprotocol/inspector:
npm run inspect -- -e LINEAR_API_TOKEN=YOUR_LINEAR_API_TOKENTo add new tools to the server:
- Follow the implementation guide in the TOOLS.md document
- Make sure to follow the established code structure in the
src/directory - Update the documentation to reflect your changes
To publish this package to npm:
- Update the version in package.json
npm version patch # or minor, or major- Build the project
npm run build- Make sure you've already logged in to npm
npm login- Publish to npm
npm publish --access public- For Smithery registry, you'll need to work with the Smithery team to get your server listed in their catalog.