-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathconfig.inline-test.json
More file actions
101 lines (101 loc) · 2.72 KB
/
config.inline-test.json
File metadata and controls
101 lines (101 loc) · 2.72 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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
{
"version": "v0.0.1-DEV_EDITION_EXPECT_CHANGES",
"proxy": {
"baseURL": "http://localhost:8080",
"addr": ":8080",
"name": "mcp-front-inline-test",
"auth": {
"kind": "bearerToken",
"tokens": {
"test-inline": [
"inline-test-token"
]
}
}
},
"mcpServers": {
"test-inline": {
"transportType": "inline",
"inline": {
"description": "Test inline MCP server",
"tools": [
{
"name": "echo",
"description": "Echo a message",
"inputSchema": {
"type": "object",
"properties": {
"message": {
"type": "string",
"description": "Message to echo"
}
},
"required": ["message"]
},
"command": "echo",
"args": ["test message"]
},
{
"name": "env_test",
"description": "Test environment variables",
"inputSchema": {
"type": "object",
"properties": {}
},
"command": "printenv",
"args": [],
"env": {
"TEST_VAR": "test-value-123",
"OTHER_VAR": {"$env": "INLINE_TEST_ENV_VAR"}
}
},
{
"name": "static_test",
"description": "Test static output",
"inputSchema": {
"type": "object",
"properties": {},
"required": []
},
"command": "sh",
"args": ["-c", "echo 'Static output: test'"]
},
{
"name": "json_output",
"description": "Return JSON output",
"inputSchema": {
"type": "object",
"properties": {
"value": {"type": "string"}
},
"required": ["value"]
},
"command": "sh",
"args": ["-c", "echo '{\"status\": \"ok\", \"input\": \"static-value\", \"timestamp\": 1234567890}'"]
},
{
"name": "failing_tool",
"description": "Tool that always fails",
"inputSchema": {
"type": "object",
"properties": {}
},
"command": "sh",
"args": ["-c", "echo 'Error occurred' >&2 && exit 1"]
},
{
"name": "slow_tool",
"description": "Tool that times out",
"inputSchema": {
"type": "object",
"properties": {}
},
"command": "sleep",
"args": ["10"],
"timeout": "100ms"
}
]
}
}
}
}