lsp-max 26.6.24

Law-state LSP runtime: max LSP 3.18 coverage, process-mining conformance, receipt-chain admission
Documentation
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
# MCP Plugins Registry

## Overview

This registry provides a centralized index of all Model Context Protocol (MCP) servers and plugins available in the Claude Code ecosystem, organized by category and use case.

**Version:** 1.0
**Last Updated:** 2026-06-14

---

## Table of Contents

1. [Server Registry]#server-registry
2. [Plugin Compatibility Matrix]#plugin-compatibility-matrix
3. [Installation Guide]#installation-guide
4. [Configuration Reference]#configuration-reference
5. [Upgrade Guide]#upgrade-guide

---

## Server Registry

### Master Registry

| Server | Category | Tools | Status | Min Version | Auth Type | Cost |
|--------|----------|-------|--------|-------------|-----------|------|
| **Gmail** | Email | 11 | Stable | 1.0 | OAuth 2.0 | Free (quota limits) |
| **Google Calendar** | Productivity | 8 | Stable | 1.0 | OAuth 2.0 | Free (quota limits) |
| **GitHub** | DevOps | 47 | Stable | 1.0 | PAT | Free (5k API calls/hr) |
| **Mermaid Chart** | Visualization | 1 | Stable | 1.0 | None | Free |

### Server Details

#### Gmail Server

**Canonical Name:** `mcp__Gmail`

**Full Tool List:**
1. create_draft
2. list_drafts
3. list_labels
4. create_label
5. update_label
6. delete_label
7. search_threads
8. get_thread
9. label_thread
10. unlabel_thread
11. label_message
12. unlabel_message

**Capabilities:**

```json
{
  "read": true,
  "write": true,
  "delete": true,
  "threads": true,
  "labels": true,
  "drafts": true,
  "attachments": true,
  "search": true,
  "organization": true
}
```

**Resource Limits:**

- Max email size: 25MB
- Max recipients per email: Unlimited
- Max labels per account: Unlimited
- Max query results: 50 per page
- Concurrent requests: 1 (sequential processing)

**Example Configuration:**

```json
{
  "mcpServers": {
    "gmail": {
      "command": "gmail-mcp",
      "args": [],
      "env": {
        "GOOGLE_APPLICATION_CREDENTIALS": "~/.config/claude/google-creds.json"
      },
      "disabled": false
    }
  }
}
```

---

#### Google Calendar Server

**Canonical Name:** `mcp__Google_Calendar`

**Full Tool List:**
1. list_calendars
2. list_events
3. get_event
4. create_event
5. update_event
6. delete_event
7. respond_to_event
8. suggest_time

**Capabilities:**

```json
{
  "read": true,
  "write": true,
  "delete": true,
  "sharing": true,
  "reminders": true,
  "attendees": true,
  "recurrence": true,
  "availability": true,
  "time_zones": true,
  "google_meet": true
}
```

**Resource Limits:**

- Max events per calendar: Unlimited
- Max attendees per event: Unlimited
- Max description length: 4000 characters
- Max attachment size: 25MB per event
- Concurrent requests: 1 (sequential processing)

**Example Configuration:**

```json
{
  "mcpServers": {
    "googleCalendar": {
      "command": "google-calendar-mcp",
      "args": [],
      "env": {
        "GOOGLE_APPLICATION_CREDENTIALS": "~/.config/claude/google-creds.json"
      },
      "disabled": false
    }
  }
}
```

---

#### GitHub Server

**Canonical Name:** `mcp__github`

**Tool Categories:**

| Category | Count | Tools |
|----------|-------|-------|
| Repository Management | 7 | create_repository, fork_repository, list_branches, create_branch, get_file_contents, create_or_update_file, delete_file |
| File Operations | 2 | push_files, (integrated with above) |
| Commit Operations | 4 | get_commit, list_commits, search_commits, get_tag |
| Issue & PR | 13 | issue_write, issue_read, add_issue_comment, list_issues, search_issues, create_pull_request, list_pull_requests, search_pull_requests, pull_request_read, pull_request_review_write, update_pull_request, merge_pull_request, update_pull_request_branch |
| Search | 5 | search_code, search_repositories, search_users, search_commits, search_issues, search_pull_requests |
| Release | 3 | list_releases, get_latest_release, get_release_by_tag |
| GitHub Actions | 4 | actions_list, actions_get, actions_run_trigger, get_job_logs |
| PR Auto-Merge | 2 | enable_pr_auto_merge, disable_pr_auto_merge |
| User & Teams | 4 | get_me, get_teams, get_team_members, list_repository_collaborators |
| Security | 2 | run_secret_scanning, request_copilot_review |
| Labels & Misc | 2 | get_label, list_issue_fields, list_issue_types |

**Capabilities:**

```json
{
  "repositories": {
    "create": true,
    "fork": true,
    "manage": true,
    "delete": false
  },
  "commits": {
    "read": true,
    "search": true,
    "create": false
  },
  "issues": {
    "create": true,
    "read": true,
    "update": true,
    "delete": false,
    "search": true
  },
  "pullRequests": {
    "create": true,
    "read": true,
    "review": true,
    "merge": true,
    "autoMerge": true
  },
  "workflows": {
    "list": true,
    "trigger": true,
    "cancel": true,
    "rerun": true
  },
  "security": {
    "secretScanning": true,
    "copilotReview": true
  }
}
```

**Resource Limits:**

- API Rate Limit: 5,000 requests/hour (authenticated)
- GraphQL Rate Limit: 5,000 points/hour
- Search Rate Limit: 30 queries/minute
- Max response size: 60MB
- Max file size: 100MB
- Concurrent requests: 1 (sequential processing)

**Example Configuration:**

```json
{
  "mcpServers": {
    "github": {
      "command": "github-mcp",
      "args": [],
      "env": {
        "GITHUB_TOKEN": "ghp_xxxxxxxxxxxxxxxxxxxx",
        "GITHUB_API_ENDPOINT": "https://api.github.com"
      },
      "disabled": false
    }
  }
}
```

---

#### Mermaid Chart Server

**Canonical Name:** `mcp__Mermaid_Chart`

**Tool List:**
1. validate_and_render_mermaid_diagram

**Supported Diagram Types:**

- Flowchart (LR, TB, BT, RL)
- Sequence Diagram
- Gantt Chart
- Class Diagram
- State Diagram
- Entity Relationship Diagram (ER)
- User Journey
- Pie Chart
- Bar Chart
- Git Graph

**Capabilities:**

```json
{
  "validation": true,
  "rendering": true,
  "export": true,
  "customization": true,
  "authentication": false,
  "rateLimiting": false
}
```

**Resource Limits:**

- Max diagram size: 100KB
- Max complexity: 1000 nodes/connections
- Rendering timeout: 10 seconds
- Concurrent requests: Unlimited

**Example Configuration:**

```json
{
  "mcpServers": {
    "mermaid": {
      "command": "mermaid-mcp",
      "args": [],
      "env": {},
      "disabled": false
    }
  }
}
```

---

## Plugin Compatibility Matrix

### Claude Code Version Compatibility

| Server | 1.0+ | 2.0+ | Notes |
|--------|------|------|-------|
| Gmail ||| OAuth 2.0 standard |
| Google Calendar ||| OAuth 2.0 standard |
| GitHub ||| PAT-based auth |
| Mermaid ||| No auth required |

### Operating System Compatibility

| Server | macOS | Linux | Windows | WSL |
|--------|-------|-------|---------|-----|
| Gmail |||||
| Google Calendar |||||
| GitHub |||||
| Mermaid |||||

### Tool Compatibility Table

| Server | Desktop | Web | Mobile | CLI |
|--------|---------|-----|--------|-----|
| Gmail | Full | Full | Partial | Full |
| Google Calendar | Full | Full | Partial | Full |
| GitHub | Full | Full | Partial | Full |
| Mermaid | Full | Full | Full | Full |

---

## Installation Guide

### Prerequisites

- Claude Code CLI v1.0 or later
- Node.js 16+ (for MCP server processes)
- Required authentication credentials

### Step-by-Step Installation

#### 1. Gmail Server

**Prerequisites:**

- Google account with Gmail
- Google Cloud Console access
- OAuth 2.0 credentials

**Installation:**

```bash
# Claude Code will handle installation automatically
# Configure in Claude Code settings:

1. Open Claude Code Settings
2. Navigate to MCP Servers
3. Click "Add Server"
4. Select "Gmail"
5. Click "Authorize with Google"
6. Complete OAuth flow
7. Grant calendar access
```

**Verification:**

```bash
# Test in Claude Code
/claude list_labels

# Expected output:
# [
#   {"id": "INBOX", "displayName": "INBOX", "type": "system"},
#   {"id": "Label_1", "displayName": "Work", "type": "user"},
#   ...
# ]
```

---

#### 2. Google Calendar Server

**Prerequisites:**

- Same Google account as Gmail (recommended)
- Google Cloud Console with Calendar API enabled

**Installation:**

```bash
# Usually shares OAuth credentials with Gmail
# Configure in Claude Code settings:

1. Open Claude Code Settings
2. Navigate to MCP Servers
3. Click "Add Server"
4. Select "Google Calendar"
5. Use existing Google authorization (or re-authorize)
6. Grant calendar access
```

**Verification:**

```bash
# Test in Claude Code
/claude list_calendars

# Expected output:
# {
#   "calendars": [
#     {
#       "id": "primary",
#       "summary": "Your Name's Calendar",
#       "timeZone": "America/Los_Angeles",
#       "primary": true
#     }
#   ]
# }
```

---

#### 3. GitHub Server

**Prerequisites:**

- GitHub account
- Personal Access Token (PAT) with scopes: repo, read:user, user:email, read:org, workflow

**Installation - Generate PAT:**

```bash
# Go to: https://github.com/settings/tokens

1. Click "Generate new token (classic)"
2. Give it a name: "Claude Code"
3. Select expiration: 90 days (for rotation schedule)
4. Select scopes:
   - [x] repo (full control)
   - [x] read:user
   - [x] user:email
   - [x] read:org
   - [x] workflow
5. Click "Generate token"
6. Copy token immediately (cannot retrieve later)
```

**Installation - Configure Server:**

```bash
# In Claude Code settings:

1. Open Claude Code Settings
2. Navigate to MCP Servers
3. Click "Add Server"
4. Select "GitHub"
5. Paste PAT into "Personal Access Token" field
6. Click "Verify Connection"
7. Save configuration
```

**Verification:**

```bash
# Test in Claude Code
/claude get_me

# Expected output:
# {
#   "login": "your_username",
#   "id": 12345,
#   "name": "Your Name",
#   "email": "your_email@example.com",
#   "company": "Your Company",
#   "public_repos": 15,
#   "followers": 100,
#   "following": 50
# }
```

---

#### 4. Mermaid Chart Server

**Installation:**

```bash
# Mermaid server is built-in (no configuration needed)

1. Open Claude Code Settings
2. Navigate to MCP Servers
3. Verify "Mermaid Chart" is listed and enabled
4. No authentication required
```

**Verification:**

```bash
# Test in Claude Code
/claude validate_and_render_mermaid_diagram --diagramCode="
flowchart LR
    A[Test] --> B[Diagram]
"

# Expected output: SVG diagram rendered
```

---

### Troubleshooting Installation

#### Gmail/Calendar OAuth Issues

**Problem:** "Authorization failed" or "Invalid credentials"

**Solutions:**

1. Clear cached credentials:
   ```bash
   # macOS/Linux
   rm -rf ~/.config/claude/credentials
   
   # Windows
   rmdir /s %USERPROFILE%\.config\claude\credentials
   ```

2. Re-authorize in settings
3. Check that Gmail API is enabled in Google Cloud Console
4. Verify OAuth consent screen is configured

**Problem:** "Permission denied" error

**Solutions:**

1. Check OAuth scopes include: gmail.modify, gmail.readonly
2. Verify Google account has Gmail enabled
3. Check account is not suspended or restricted

---

#### GitHub Authentication Issues

**Problem:** "Invalid token" or "Unauthorized"

**Solutions:**

1. Verify PAT has not expired
2. Check PAT has required scopes
3. Verify PAT is not revoked in GitHub settings
4. Generate new PAT if necessary
5. Paste exact token (no whitespace)

**Problem:** "Repository not found" or "Permission denied"

**Solutions:**

1. Verify PAT has `repo` scope
2. Check user has access to repository
3. For private repos, verify PAT has full `repo` scope
4. For org repos, verify PAT has `read:org` scope

---

#### Mermaid Chart Issues

**Problem:** "Invalid diagram syntax"

**Solutions:**

1. Validate syntax in Mermaid Live Editor: https://mermaid.live
2. Check for common syntax errors:
   - Missing colons in labels
   - Unmatched brackets
   - Invalid node IDs
3. Use simple diagram first to test

---

## Configuration Reference

### Global Settings

Located in: `~/.config/claude/settings.json`

```json
{
  "mcpServers": {
    "gmail": {
      "enabled": true,
      "timeout": 30000,
      "retries": 3,
      "cacheResults": true,
      "cacheDuration": 300
    },
    "googleCalendar": {
      "enabled": true,
      "timeout": 30000,
      "retries": 3,
      "defaultTimeZone": "America/Los_Angeles"
    },
    "github": {
      "enabled": true,
      "timeout": 30000,
      "retries": 3,
      "endpoint": "https://api.github.com",
      "graphqlEndpoint": "https://api.github.com/graphql"
    },
    "mermaid": {
      "enabled": true,
      "timeout": 10000,
      "renderingEngine": "svg",
      "theme": "default"
    }
  }
}
```

### Per-Server Environment Variables

#### Gmail

```bash
GOOGLE_APPLICATION_CREDENTIALS=~/.config/claude/google-creds.json
GMAIL_QUOTA_USER=user@example.com
GMAIL_MAX_BATCH_SIZE=10
```

#### Google Calendar

```bash
GOOGLE_APPLICATION_CREDENTIALS=~/.config/claude/google-creds.json
CALENDAR_TIMEZONE=America/Los_Angeles
CALENDAR_DEFAULT_CALENDAR=primary
```

#### GitHub

```bash
GITHUB_TOKEN=ghp_xxxxxxxxxxxxxxxxxxxx
GITHUB_API_ENDPOINT=https://api.github.com
GITHUB_GRAPHQL_ENDPOINT=https://api.github.com/graphql
GITHUB_MAX_RETRIES=3
GITHUB_RETRY_DELAY_MS=1000
```

#### Mermaid

```bash
MERMAID_THEME=default
MERMAID_MAX_DIAGRAM_SIZE=102400
MERMAID_RENDER_TIMEOUT=10000
```

---

## Upgrade Guide

### Version Management

Current stable versions:

```
Gmail: 1.0.0
Google Calendar: 1.0.0
GitHub: 1.0.0
Mermaid: 1.0.0
```

### Checking Installed Versions

```bash
# View all installed servers and versions
claude mcp list

# Check specific server version
claude mcp version gmail
```

### Upgrading Servers

#### Automatic Updates

By default, Claude Code checks for updates daily:

```json
{
  "autoUpdate": {
    "enabled": true,
    "checkInterval": 86400000,
    "installUpdates": false,
    "notifyOnUpdate": true
  }
}
```

#### Manual Updates

```bash
# Upgrade specific server
claude mcp upgrade gmail

# Upgrade all servers
claude mcp upgrade --all

# Upgrade to specific version
claude mcp upgrade github@1.1.0
```

### Breaking Changes

#### v1.0 → v2.0 (Future)

Anticipated breaking changes:

- Gmail: Thread IDs format change (planned)
- GitHub: Deprecated REST endpoints removed
- Google Calendar: Recurring event format changes

Migration path:

1. Test upgrade on non-production first
2. Update any custom scripts
3. Review deprecation warnings
4. Execute upgrade during maintenance window

### Rollback Procedure

```bash
# Downgrade to previous version
claude mcp downgrade gmail

# Downgrade to specific version
claude mcp install gmail@0.9.0

# Restore from backup
claude mcp restore gmail --backup-date=2026-06-01
```

---

## Maintenance

### Regular Maintenance Tasks

#### Daily

```bash
# Check server health
claude mcp health --verbose

# Monitor rate limit usage
claude mcp stats
```

#### Weekly

```bash
# Verify all credentials are valid
claude mcp verify-auth

# Check for available updates
claude mcp check-updates
```

#### Monthly

```bash
# Rotate personal access tokens (GitHub)
# Instructions: Generate new PAT, update settings, revoke old token

# Review and clean up unused labels (Gmail)
# Archive old drafts

# Review calendars and remove archived calendars
```

#### Quarterly

```bash
# Security audit of MCP permissions
claude mcp audit-permissions

# Review and rotate credentials
# Update OAuth consent screen (if needed)
```

---

## Support & Documentation

### Getting Help

- **Official Docs:** https://claude.ai/code/docs
- **GitHub Issues:** https://github.com/anthropic-ai/claude-code/issues
- **Community Forums:** https://community.anthropic.com
- **Email Support:** support@anthropic.com

### API Documentation

- **Gmail API:** https://developers.google.com/gmail/api
- **Google Calendar API:** https://developers.google.com/calendar
- **GitHub API:** https://docs.github.com/en/rest
- **Mermaid:** https://mermaid.js.org

### Contributing

Report bugs, request features, or contribute improvements:

```bash
# Report issue
claude mcp report-issue --server=gmail

# Request feature
claude mcp request-feature --description="Add feature X"

# Contribute
# See: https://github.com/anthropic-ai/claude-code/CONTRIBUTING.md
```

---

**Registry Version:** 1.0
**Last Updated:** 2026-06-14
**Next Review:** 2026-09-14