https://github.com/jesse-c/linear-context-server
A TypeScript server for Linear through a model context.
https://github.com/jesse-c/linear-context-server
linear model-context-protocol
Last synced: about 2 months ago
JSON representation
A TypeScript server for Linear through a model context.
- Host: GitHub
- URL: https://github.com/jesse-c/linear-context-server
- Owner: jesse-c
- License: mit
- Created: 2024-12-01T23:33:57.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2025-03-17T02:48:55.000Z (3 months ago)
- Last Synced: 2025-04-20T08:57:50.306Z (about 2 months ago)
- Topics: linear, model-context-protocol
- Language: JavaScript
- Homepage:
- Size: 119 KB
- Stars: 4
- Watchers: 1
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Linear MCP Server
A Model Context Protocol server for Linear.
## Tools
> [!IMPORTANT]
> * means required.### `create_issue`
Create a new Linear issue.**Parameters**
- `title` (string*): Title of the issue
- `description` (string): Description of the issue
- `assignee` (string): Set to 'me' to assign to self### `create_comment`
Create a new comment on an existing Linear issue.**Parameters**
- `id` (string*): ID of the existing Linear issue.
- `body` (string*): Body of the comment### `list_issues`
List all Linear issues assigned to me.**Parameters**
N/A
### `list_teams`
List all Linear teams I have access to.**Parameters**
N/A
## Examples
### Listing issues assigned to me
### Creating an issue

## How to use
To use with Claude Desktop, add the server config.
### Linear API key
You can create a Personal API Key at [https://linear.app/your-team-name/settings/account/security](https://linear.app//settings/account/security). Remember to replace `your-team-name` with the correct value.
### Automatic
> [!TIP]
> `.env` files are supported.```shell
LINEAR_API_KEY= npm run configure [--force] [--name=]
```### Manual
On MacOS: `~/Library/Application Support/Claude/claude_desktop_config.json`
On Windows: `%APPDATA%/Claude/claude_desktop_config.json`
```json
{
"mcpServers": {
"linear-context-server": {
"command": "node",
"args": [
"//linear-context-server/build/server.js"
],
"env": {
"LINEAR_API_KEY":
}
}
}
}
```## Development
Install dependencies:
```bash
npm install
```Build the server:
```bash
npm run build
```For development with auto-rebuild:
```bash
npm run watch
```### Debugging
Since MCP servers communicate over stdio, debugging can be challenging. We recommend using the [MCP Inspector](https://github.com/modelcontextprotocol/inspector), which is available as a package script:
```bash
npm run inspector
```The Inspector will provide a URL to access debugging tools in your browser.