## Development
To develop locally:
```bash
# 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_TOKEN
```
### Inspecting the server
To inspect the server by @modelcontextprotocol/inspector:
```bash
npm run inspect -- -e LINEAR_API_TOKEN=YOUR_LINEAR_API_TOKEN
```
### Extending the Server
To add new tools to the server:
1. Follow the implementation guide in the [TOOLS.md](./TOOLS.md) document
2. Make sure to follow the established code structure in the `src/` directory
3. Update the documentation to reflect your changes
### Publishing to npm
To publish this package to npm:
1. Update the version in package.json
```bash
npm version patch # or minor, or major
```
2. Build the project
```bash
npm run build
```
3. Make sure you've already logged in to npm
```bash
npm login
```
4. Publish to npm
```bash
npm publish --access public
```
5. For Smithery registry, you'll need to work with the Smithery team to get your server listed in their catalog.
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/tacticlaunch/mcp-linear'
If you have feedback or need assistance with the MCP directory API, please join our Discord server