Commit graph

29 commits

Author SHA1 Message Date
SteveHuy
4db39b0d06
Merge branch 'main' into main 2025-05-14 21:34:47 +10:00
Glen Maddern
b1dfa9fe5b Picking a default port based on the server hash 2025-05-14 12:31:07 +01:00
Glen Maddern
6f2399bbfb remove client info on conflict 2025-05-14 12:31:07 +01:00
stevehuynh
437c47680a chore: remove whitespace 2025-05-14 20:57:14 +10:00
SteveHuy
baac4b5b79
Merge branch 'main' into main 2025-05-14 20:55:40 +10:00
Frédéric Barthelet
b209d98074 Add port sourcing from existing client information 2025-05-14 11:53:08 +01:00
stevehuynh
c1fe647a48 feat: short timeout has now been added for clients like cursor 2025-05-14 20:40:43 +10:00
Tomer Zait
767549412f fix issue #64 2025-05-12 06:37:44 +01:00
Glen Maddern
45c1739b4c Adding (via mcp-remote <version>) to clientInfo.name on initialize 2025-05-12 06:27:37 +01:00
Glen Maddern
5c71b26869 Added a 2 second delay before closing the browser 2025-05-05 23:54:56 +01:00
dp-rufus
b9105958c1 Attempt auto close 2025-05-05 23:54:56 +01:00
Fadojutimi Temitayo Olusegun
026caedd3c fix: changed the header argument processing from a forEach loop to a while loop to handle array modifications correctly, preventing index errors. 2025-05-05 03:38:07 +01:00
Glen Maddern
2b2b12decd Treat 404s and 405s as the same regardless of starting with SSE or HTTPs transport
Fixes #47 #48
2025-05-02 02:25:50 +01:00
Glen Maddern
04e3d255b1 Added Streamable HTTP support
This adds a new CLI argument, --transport, with the following values: http-first (the default), http-only, sse-first, and sse-only. Any of the -first tags attempts to connect to the URL as either an HTTP or SSE server and falls back to the other.
2025-04-30 12:58:02 +01:00
kissrobber
a2064502b9 add --allow-http flag 2025-04-16 06:01:50 +01:00
dorshany
9258e2f6c4 Fix: Add Authorization header from authProvider tokens in custom fetch for SSE 2025-04-14 06:38:03 +01:00
Glen Maddern
c542f78288 removing --clean flag as it sent things into a reauth loop 2025-04-11 04:48:19 +01:00
Jon Slominski
3c4600a920
Update utils.ts
removed debug logging
2025-04-10 21:00:12 -05:00
Jon Slominski
cf459b1a0d
Ensure Authorization header is passed to SSE connections
When using Bearer token authentication, the Authorization header was not being properly forwarded to SSE connections, causing 401 Unauthorized errors. This fix adds a custom EventSource initialization that explicitly includes the Authorization header in all SSE requests, allowing proper authentication with remote servers.
2025-04-10 20:56:07 -05:00
Glen Maddern
a3b4906afd Added --header CLI args support
This can include ${ENV_VAR} strings that are replaced with the values in process.env
2025-04-10 11:27:25 +10:00
Glen Maddern
9fbba0509c Changing to returning a boolean, but tokens still not being loaded 2025-03-31 21:16:21 +11:00
Glen Maddern
412b5d9486 most of the implementation looking ok but sharing the token the wrong way 2025-03-31 19:39:40 +11:00
Glen Maddern
eee7b1b8d5 Added process.pid to all logs so we can deal with claude code forking mulitple instances 2025-03-31 16:31:34 +11:00
Glen Maddern
1382827ebd Versioning storage based on mcp-auth version number to let us iterate on storage format 2025-03-31 16:21:34 +11:00
Glen Maddern
027007030e adding the --clean flag 2025-03-31 15:35:30 +11:00
Glen Maddern
1dd99edc0d breaking shared apart 2025-03-31 15:35:29 +11:00
Glen Maddern
4e94da52fe adding a PID to the authorize step, we're definitely getting two processes 2025-03-25 09:44:30 +11:00
Sunil Pai
d332273355 format 2025-03-24 10:48:46 +00:00
Glen Maddern
eca1e45363 Gearing up for Claude to write this react hook 2025-03-22 21:46:33 +11:00