{"id":42466172,"url":"https://github.com/bleugreen/linear-mcp","last_synced_at":"2026-01-28T09:39:28.938Z","repository":{"id":306712792,"uuid":"1026997548","full_name":"bleugreen/linear-mcp","owner":"bleugreen","description":null,"archived":false,"fork":false,"pushed_at":"2025-07-27T05:08:23.000Z","size":146,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-07-27T07:18:45.559Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bleugreen.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-07-27T04:55:50.000Z","updated_at":"2025-07-27T05:08:26.000Z","dependencies_parsed_at":"2025-07-27T07:18:47.782Z","dependency_job_id":"c5a16cda-9534-46e8-8c4e-22a6e7f724cb","html_url":"https://github.com/bleugreen/linear-mcp","commit_stats":null,"previous_names":["bleugreen/linear-mcp"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/bleugreen/linear-mcp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bleugreen%2Flinear-mcp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bleugreen%2Flinear-mcp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bleugreen%2Flinear-mcp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bleugreen%2Flinear-mcp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bleugreen","download_url":"https://codeload.github.com/bleugreen/linear-mcp/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bleugreen%2Flinear-mcp/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28843988,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-28T07:39:25.367Z","status":"ssl_error","status_checked_at":"2026-01-28T07:39:24.487Z","response_time":57,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-01-28T09:39:28.396Z","updated_at":"2026-01-28T09:39:28.930Z","avatar_url":"https://github.com/bleugreen.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Legible Linear MCP\n\nAn MCP server that connects Claude Code to Linear with OAuth authentication and multi-workspace support.\n\n## Quick Start\n\n### 1. Install\n\n```bash\n# Clone and build\ngit clone https://github.com/bleugreen/linear-mcp.git\ncd linear-mcp\nnpm install\nnpm run build\n\n# Install CLI globally (optional, for easy auth management)\nnpm link\n```\n\n### 2. Authenticate\n\n```bash\n# Opens browser for OAuth login\nlmcp auth login\n\n# Or if not installed globally:\nnode dist/cli.js auth login\n```\n\n### 3. Configure Claude Code\n\nAdd to your Claude Code MCP settings (`~/.claude.json` or via Claude Code settings):\n\n```json\n{\n  \"mcpServers\": {\n    \"linear-mcp\": {\n      \"type\": \"stdio\",\n      \"command\": \"node\",\n      \"args\": [\"/path/to/linear-mcp/dist/mcp-server.js\"]\n    }\n  }\n}\n```\n\nRestart Claude Code and you're ready to go!\n\n## Authentication\n\n### OAuth (Recommended)\n\nOAuth provides a seamless authentication experience with automatic token refresh:\n\n```bash\nlmcp auth login      # Authenticate with Linear\nlmcp auth status     # Check current auth status\nlmcp auth list       # List connected workspaces\nlmcp auth switch     # Switch active workspace\nlmcp auth logout     # Remove a workspace\n```\n\nCredentials are stored securely in `~/.linear-mcp/credentials.json`.\n\n### Multi-Workspace Support\n\nConnect to multiple Linear workspaces and switch between them:\n\n```bash\n# Add first workspace\nlmcp auth login\n\n# Add another workspace (will show consent screen)\nlmcp auth login\n\n# Switch between them\nlmcp auth switch my-company\nlmcp auth switch side-project\n```\n\n### Environment Variable (Legacy)\n\nYou can also use an API key directly:\n\n```bash\nexport LINEAR_API_KEY=lin_api_YOUR_KEY_HERE\n```\n\nNote: OAuth credentials take priority over the environment variable.\n\n## CLI Reference\n\n```\nlmcp \u003ccommand\u003e [options]\n\nCommands:\n  auth login       Authenticate with Linear via OAuth\n  auth logout      Remove a workspace's credentials\n  auth list        List all connected workspaces\n  auth switch      Switch active workspace\n  auth status      Show current authentication status\n  serve            Start the MCP server (default)\n  help             Show help message\n\nEnvironment Variables:\n  LINEAR_API_KEY       Use API key instead of OAuth (fallback)\n  LINEAR_WORKSPACE     Override active workspace for session\n  LINEAR_CLIENT_ID     Use custom OAuth app client ID\n  LINEAR_CLIENT_SECRET Use custom OAuth app client secret\n```\n\n## Features\n\n### Core Capabilities\n- **Full CRUD**: Issues, comments, projects, cycles, teams, users\n- **Human-Readable IDs**: Use team keys (TEAM), issue identifiers (TEAM-123), project names, user emails\n- **Smart Chunking**: Automatically splits large content across multiple comments\n- **Markdown Export**: Get full issue content with all comments in clean markdown\n\n### Reliability\n- **Auto Token Refresh**: OAuth tokens refresh automatically before expiry\n- **Rate Limiting**: Respects Linear's 1,500 req/hr limit with exponential backoff\n- **Query Splitting**: Handles Linear's 10,000 complexity limit automatically\n\n---\n\n## Related Links\n\n- [Linear API Documentation](https://developers.linear.app)\n- [Model Context Protocol (MCP)](https://modelcontextprotocol.io)\n- [Linear TypeScript SDK](https://github.com/linear/linear)\n\n## Troubleshooting\n\n### \"Field membership argument userId required\"\nThe server handles this automatically by using raw GraphQL queries for affected endpoints.\n\n### \"Query too complex\"\nThe server automatically splits complex queries. If you still see this error, please file an issue.\n\n### SSE Connection Drops\nThe server sends heartbeats every 15 seconds. Check your proxy/firewall timeout settings.\n\n### Rate Limiting\nThe server implements exponential backoff. If you're hitting limits frequently, consider reducing request frequency or batch operations.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbleugreen%2Flinear-mcp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbleugreen%2Flinear-mcp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbleugreen%2Flinear-mcp/lists"}