Model Context Protocol (MCP) servers enable Claude Code to directly interact with Linear and Notion for automated project management and documentation.
What is MCP?
MCP (Model Context Protocol) allows Claude Code to connect to external services like Linear and Notion, enabling it to:- Create and update Linear tasks automatically
- Sync project progress to Notion
- Link GitHub commits/PRs to Linear issues
- Generate milestone documentation
Linear MCP Setup

- Installation
- Usage
- Automation
Step 1: Get Linear API Key
1
Access Linear Settings
- Go to https://linear.app/workally/settings/api
- Sign in with your WorkAlly account
2
Create API Key
- Click “Create new personal API key”
- Name:
Claude Code MCP - Description:
For automated task tracking via Claude Code - Click “Create key”
3
Copy API Key
Copy the key immediately - it starts with
lin_api_You won’t be able to see it again after closing the dialog.Step 2: Configure Claude Code
Add Linear MCP to your Claude Code configuration file.Config location:~/.claude/config.tomllin_api_YOUR_KEY_HERE with your actual API key.Step 3: Restart Claude Code
Step 4: Verify Connection
Test the connection by asking Claude Code:Notion MCP Setup

- Installation
- Usage
- Templates
Step 1: Create Notion Integration
1
Access Integrations
- Go to https://www.notion.so/my-integrations
- Sign in with your WorkAlly Notion account
2
Create New Integration
- Click ”+ New integration”
- Name:
Claude Code MCP - Associated workspace: Select “WorkAlly”
- Type: Internal integration
- Click “Submit”
3
Copy Integration Token
Copy the Internal Integration TokenIt starts with
secret_4
Get Database ID
- Open your Notion project database
- Copy URL - looks like:
- The database ID is:
1234567890abcdef1234567890abcdef
5
Share Database with Integration
- Open your Notion project database
- Click “Share” button (top right)
- Click “Invite”
- Search for “Claude Code MCP”
- Grant Can edit permission
- Click “Invite”
Step 2: Configure Claude Code
Add Notion MCP to~/.claude/config.toml:secret_YOUR_TOKEN_HERE with your integration token.Step 3: Restart Claude Code
Same as Linear - reload MCP servers.Step 4: Verify Connection
Complete Workflow Integration
Step-by-Step: New Project Setup
1
Create Project Brief
2
Initialize Linear Project
3
Start Development
Begin working on Phase 0 tasks from Linear
4
Daily Updates
5
Complete Phase
6
Continue Cycle
Repeat for each phase, updating Linear daily and Notion per major milestone
Recommended Update Schedule
| Frequency | Action | Tool |
|---|---|---|
| Per Task | Mark task complete | Linear |
| Daily | Sync progress, update estimates | Linear |
| Per PR | Link PR to issue | Linear + GitHub |
| Per Phase | Document completion | Linear + Notion |
| Per Milestone | Create comprehensive doc | Notion |
Troubleshooting
Linear MCP Not Working
Linear MCP Not Working
Check config:Verify API key is valid:Reinstall MCP server:
Notion MCP Not Connecting
Notion MCP Not Connecting
Verify database sharing:
- Open Notion database
- Check “Claude Code MCP” integration has access
- Ensure permission is “Can edit”
Updates Not Syncing
Updates Not Syncing
Reload MCP servers:Check Claude Code logs:Restart Claude Code completely:
Best Practices
Linear Best Practices
✅ DO:
- Update Linear after each task
- Use consistent issue naming
- Link all PRs to issues
- Use labels and milestones
- Add time estimates
- Create duplicate issues
- Skip linking commits
- Forget to close completed issues
- Leave issues without assignees
Notion Best Practices
✅ DO:
- Document major milestones only
- Include screenshots and demos
- Add deployment links
- Track key metrics
- Link to Linear issues
- Document every small task
- Create pages for bugs
- Duplicate Linear info
- Skip technical details
Next Step
With MCP configured, start your first project with the discovery phase →

