How It Works
Linear’s hosted MCP server supports automatic OAuth 2.1 discovery and dynamic client registration. Sign in once and PraisonAI caches and refreshes your token automatically in~/.praisonai/mcp-auth.json.
Step-by-Step Setup
1
Prerequisites
- A Linear account with access to the workspace and teams you want to query
2
Install PraisonAI with MCP support
3
Add and authenticate Linear
- CLI (Interactive OAuth)
- Headless / SSH (--manual)
- PraisonAI Dashboard
4
Verify and inspect tools
5
Run your agent
Scope Tools for Safety
Keep triage agents read-only with--allow or require human confirmation before creating or modifying issues:
Common Workflows
- Daily Standup Prep:
"Summarize every Linear issue I moved to In Progress or Done in the last 24 hours." - Bug Triage:
"Find new bugs filed this week without a priority and suggest severity levels."
Troubleshooting
Best Practices
Start read-only before granting issue-write tools
Start read-only before granting issue-write tools
Run
praisonai mcp sync linear to see exact tool names and restrict reporting agents to read tools via --allow.Name teams explicitly in prompts
Name teams explicitly in prompts
If your Linear workspace has multiple teams, mention the team name or key in
instructions so the agent filters accurately on the first call.Use approval='always' for bulk updates
Use approval='always' for bulk updates
Require approval on
MCP(..., approval="always") whenever an agent can change priorities, assignees, or states across multiple tickets.Related
List of Connectors
Browse all popular connectors and step-by-step guides
Remote MCP Connectors
Full CLI reference and Dashboard integration
Linear Tool (Python)
Local Python wrapper using LINEAR_API_KEY
MCP OAuth Authentication
OAuth 2.1 PKCE flow and token storage details

