Skip to content

Commit be4d5f0

Browse files
committed
Add http and appsettings files
1 parent 240ccc8 commit be4d5f0

File tree

3 files changed

+94
-0
lines changed

3 files changed

+94
-0
lines changed
Lines changed: 77 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,77 @@
1+
@HostAddress = http://localhost:3001
2+
3+
POST {{HostAddress}}/
4+
Accept: application/json, text/event-stream
5+
Content-Type: application/json
6+
7+
{
8+
"jsonrpc": "2.0",
9+
"id": 1,
10+
"method": "initialize",
11+
"params": {
12+
"clientInfo": {
13+
"name": "RestClient",
14+
"version": "0.1.0"
15+
},
16+
"capabilities": {},
17+
"protocolVersion": "2025-06-18"
18+
}
19+
}
20+
21+
###
22+
23+
@SessionId = ZwwM0VFEtKNOMBsP8D2VzQ
24+
25+
POST {{HostAddress}}/
26+
Accept: application/json, text/event-stream
27+
Content-Type: application/json
28+
MCP-Protocol-Version: 2025-06-18
29+
Mcp-Session-Id: {{SessionId}}
30+
31+
{
32+
"jsonrpc": "2.0",
33+
"id": 2,
34+
"method": "resources/list"
35+
}
36+
37+
###
38+
39+
@resource_uri = test://direct/text/resource
40+
41+
POST {{HostAddress}}/
42+
Accept: application/json, text/event-stream
43+
Content-Type: application/json
44+
MCP-Protocol-Version: 2025-06-18
45+
Mcp-Session-Id: {{SessionId}}
46+
47+
{
48+
"jsonrpc": "2.0",
49+
"id": 3,
50+
"method": "resources/subscribe",
51+
"params": {
52+
"uri": "{{resource_uri}}"
53+
}
54+
}
55+
56+
###
57+
58+
POST {{HostAddress}}/
59+
Accept: application/json, text/event-stream
60+
Content-Type: application/json
61+
MCP-Protocol-Version: 2025-06-18
62+
Mcp-Session-Id: {{SessionId}}
63+
64+
{
65+
"jsonrpc": "2.0",
66+
"id": 4,
67+
"method": "resources/unsubscribe",
68+
"params": {
69+
"uri": "{{resource_uri}}"
70+
}
71+
}
72+
73+
###
74+
75+
DELETE {{HostAddress}}/
76+
MCP-Protocol-Version: 2025-06-18
77+
Mcp-Session-Id: {{SessionId}}
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"Logging": {
3+
"LogLevel": {
4+
"Default": "Information",
5+
"Microsoft.AspNetCore": "Warning"
6+
}
7+
}
8+
}
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"Logging": {
3+
"LogLevel": {
4+
"Default": "Information",
5+
"Microsoft.AspNetCore": "Warning"
6+
}
7+
},
8+
"AllowedHosts": "*"
9+
}

0 commit comments

Comments
 (0)