-
Notifications
You must be signed in to change notification settings - Fork 66
Expand file tree
/
Copy pathconfig.example.json
More file actions
67 lines (67 loc) · 1.89 KB
/
config.example.json
File metadata and controls
67 lines (67 loc) · 1.89 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
{
"plugins": {
"time": {
"url": "oci://ghcr.io/hyper-mcp-rs/time-plugin:latest",
"description": "Get current time and do time calculations"
},
"qr-code": {
"url": "oci://ghcr.io/hyper-mcp-rs/qrcode-plugin:latest",
"description": "Generate QR codes from text or URLs"
},
"hash": {
"url": "oci://ghcr.io/hyper-mcp-rs/hash-plugin:latest",
"description": "Generate various types of hashes"
},
"myip": {
"url": "oci://ghcr.io/hyper-mcp-rs/myip-plugin:latest",
"description": "Get your current public IP address",
"runtime_config": {
"allowed_hosts": ["1.1.1.1"],
"allowed_secrets": [
{
"service": "myip-service",
"user": "api-key"
}
],
"skip_tools": ["debug_.*", ".*_test"]
}
},
"fetch": {
"url": "oci://ghcr.io/hyper-mcp-rs/fetch-plugin:latest",
"description": "Fetch and extract content from web pages",
"runtime_config": {
"allowed_hosts": ["*"],
"skip_tools": ["temp_.*", "mock_.*", "tool_[0-9]+"]
}
},
"example_plugin": {
"url": "oci://ghcr.io/example/demo-plugin:latest",
"description": "An example plugin demonstrating advanced runtime configuration",
"runtime_config": {
"skip_tools": [
"admin_tool",
"dev_.*",
".*_deprecated",
"test_(unit|integration)",
"[a-z]+_helper"
],
"allowed_hosts": ["example.com"],
"allowed_paths": ["/tmp", "/var/log:/plugin/logs"],
"allowed_secrets": [
{
"service": "example-db",
"user": "db-user"
},
{
"service": "example-api",
"user": "api-token"
}
],
"env_vars": {
"EXAMPLE_ENV": "production"
},
"memory_limit": "256Mi"
}
}
}
}