Skip to content

Commit 7b9adff

Browse files
committed
Added port listener
1 parent 2e5dba2 commit 7b9adff

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/DigmaSSEServer/Program.cs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
using System.Net;
21
using DigmaSSEServer;
32
using DigmaSSEServer.Tools;
43
using ModelContextProtocol.Protocol.Types;
@@ -16,6 +15,11 @@
1615
.WithHttpTransport() // OR WithStdioServerTransport()
1716
.WithTools<CodeObservabilityTool>();
1817

18+
builder.WebHost.ConfigureKestrel(k =>
19+
{
20+
k.ListenAnyIP(5194);
21+
});
22+
1923
var app = builder.Build();
2024

2125
app.MapMcp();

0 commit comments

Comments
 (0)