Skip to content

Commit 2733e83

Browse files
committed
removed last 50 limit in mcp server
1 parent 45f6b35 commit 2733e83

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

mcp-server/src/mcp-server.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,12 +44,11 @@ server.tool(
4444
async () => {
4545
const response = await fetch(`http://127.0.0.1:${PORT}/console-errors`);
4646
const json = await response.json();
47-
const last50 = json.slice(-50);
4847
return {
4948
content: [
5049
{
5150
type: "text",
52-
text: JSON.stringify(last50, null, 2),
51+
text: JSON.stringify(json, null, 2),
5352
},
5453
],
5554
};

0 commit comments

Comments
 (0)