-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsettings-fragment.json
More file actions
37 lines (35 loc) · 1.01 KB
/
settings-fragment.json
File metadata and controls
37 lines (35 loc) · 1.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$comment": "Copy the 'hooks' section into your Claude Code settings.json to enable Linear hash validation. Update the paths to match your installation location.",
"hooks": {
"PostToolUse": [
{
"matcher": "mcp__linear__.*(get|Get|issue$|Issue$)",
"hooks": [
{
"type": "command",
"command": "~/.claude/plugins/linear-mcp-sync/hooks/linear-hash-save.sh"
}
]
}
],
"PreToolUse": [
{
"matcher": "mcp__linear__.*(update|Update|create|Create)",
"hooks": [
{
"type": "command",
"command": "~/.claude/plugins/linear-mcp-sync/hooks/linear-hash-check.sh"
}
]
}
]
},
"mcpServers": {
"$comment": "This configuration is handled by 'claude mcp add', shown here for reference only",
"linear": {
"command": "npx",
"args": ["-y", "mcp-remote", "https://mcp.linear.app/sse"]
}
}
}