You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add example servers for SEP-2053 variant patterns (#4)
Add four new example servers demonstrating different SEP-2053 variant
patterns:
- model-optimized (same tools, different descriptions per LLM family)
- trading (API versioning with deprecation lifecycle)
- research (context budget management)
- Refactor the existing variants-http example into a GitHub-style server
with custom ranking.
Signed-off-by: Kurt Degiorgio <kdegiorgio@bloomberg.net>
A variant-aware MCP server that exposes different tool sets for different agent types, mirroring the GitHub MCP Server pattern described in SEP-2053's Prior Art section.
4
+
5
+
**Pattern demonstrated:** Different tool sets per variant with custom ranking.
6
+
7
+
## Variants
8
+
9
+
| Variant | Tools | Description |
10
+
|---|---|---|
11
+
|`code-review`|`list_pull_requests`, `get_diff`, `add_review_comment`| PR operations and code review |
12
+
|`project-management`|`list_issues`, `create_issue`, `add_label`| Issue tracking and labels |
Clients send a `"domain"` hint during initialization. The ranking function boosts variants whose `domain` hint matches the client's requested domain, falling back to priority order.
19
+
20
+
## Run
21
+
22
+
```bash
23
+
go run ./examples/server/github
24
+
```
25
+
26
+
Connect any MCP client to `http://localhost:8080`.
27
+
28
+
## Demo
29
+
30
+
See [mcp-inspector-variants-demo.mp4](mcp-inspector-variants-demo.mp4) for a walkthrough using MCP Inspector.
0 commit comments