-
Notifications
You must be signed in to change notification settings - Fork 65
Expand file tree
/
Copy pathmcpserverregistration-discovery.yaml
More file actions
84 lines (84 loc) · 2.43 KB
/
mcpserverregistration-discovery.yaml
File metadata and controls
84 lines (84 loc) · 2.43 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
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
---
# sample MCPServerRegistrations with category and hint fields for tool discovery
apiVersion: mcp.kuadrant.io/v1alpha1
kind: MCPServerRegistration
metadata:
name: test-server1
namespace: mcp-test
labels:
mcp.kuadrant.io/managed: 'true'
spec:
toolPrefix: test1_
category: "greetings utilities"
hint: "greeting tools, time utilities, request header inspection, and slow response simulation"
targetRef:
# Server 1 - Go SDK based (greet, time, slow, headers tools)
group: gateway.networking.k8s.io
kind: HTTPRoute
name: mcp-server1-route
---
apiVersion: mcp.kuadrant.io/v1alpha1
kind: MCPServerRegistration
metadata:
name: test-server2
namespace: mcp-test
labels:
mcp.kuadrant.io/managed: 'true'
spec:
toolPrefix: test2_
category: "greetings authentication"
hint: "hello world greeting, time, header inspection, auth token validation, and slow response tools"
targetRef:
# Server 2 - Go SDK based (hello_world, time, headers, auth1234, slow tools)
group: gateway.networking.k8s.io
kind: HTTPRoute
name: mcp-server2-route
---
apiVersion: mcp.kuadrant.io/v1alpha1
kind: MCPServerRegistration
metadata:
name: test-server3
namespace: mcp-test
labels:
mcp.kuadrant.io/managed: 'true'
spec:
toolPrefix: test3_
category: "math weather"
hint: "mathematical operations (add, dozen, pi), weather forecasts, and time utilities"
targetRef:
# Server 3 - Python FastMCP based (time, add, dozen, pi, get_weather, slow)
group: gateway.networking.k8s.io
kind: HTTPRoute
name: mcp-server3-route
---
apiVersion: mcp.kuadrant.io/v1alpha1
kind: MCPServerRegistration
metadata:
name: restaurant-server
namespace: mcp-test
labels:
mcp.kuadrant.io/managed: 'true'
spec:
toolPrefix: restaurant_
category: "dining reservations"
hint: "search restaurants by cuisine and location, check table availability, make and cancel reservations"
targetRef:
group: gateway.networking.k8s.io
kind: HTTPRoute
name: mcp-restaurant-server-route
---
apiVersion: mcp.kuadrant.io/v1alpha1
kind: MCPServerRegistration
metadata:
name: messaging-server
namespace: mcp-test
labels:
mcp.kuadrant.io/managed: 'true'
spec:
toolPrefix: messaging_
category: "communication contacts"
hint: "find contacts, send messages via email/sms/slack, view message history, create messaging groups"
targetRef:
group: gateway.networking.k8s.io
kind: HTTPRoute
name: mcp-messaging-server-route