Commit graph

105 commits

Author SHA1 Message Date
Glen Maddern
1908c203ff 0.1.0-1 2025-04-24 16:26:28 +10:00
Glen Maddern
624d3a883c switching to version of the SDK that was released 2025-04-24 16:25:20 +10:00
Glen Maddern
6eeb56e9a8 Adding transport strategy to proxy.ts too 2025-04-24 16:23:19 +10:00
Glen Maddern
d62744526d 0.1.0-0 2025-04-17 16:49:21 +10:00
Glen Maddern
cf355dac9c move back to bundling the SDK so I can publish a test version without waiting for them 2025-04-17 16:49:09 +10:00
Glen Maddern
4237907364 removing claude's refactoring plan 2025-04-17 16:30:42 +10:00
Glen Maddern
c632b774cb removing log that was confusing claude 2025-04-17 16:29:18 +10:00
Glen Maddern
a6e6d0f1e8 Refactor auth coordination to be lazy
- Create lazy auth coordinator that only initializes when needed
- Modify connectToRemoteServer to only use auth when receiving an Unauthorized error
- Update client.ts and proxy.ts to use the lazy auth approach
- Add refactoring plan documentation

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-04-17 16:13:41 +10:00
Glen Maddern
14109a309f Able to catch exceptions from one transport and fall back to the other 2025-04-17 16:04:50 +10:00
Glen Maddern
0bf84d5d22 wip, client now using the util with fallback 2025-04-17 12:26:47 +10:00
Glen Maddern
f80c6c4850 wip 3 2025-04-17 12:00:37 +10:00
Glen Maddern
dee974b8b2 wip 2 2025-04-16 16:59:44 +10:00
Glen Maddern
ec058d240d wip 1 2025-04-16 16:59:36 +10:00
Glen Maddern
b69fdc8ebe 0.0.22 2025-04-16 15:59:57 +10:00
Rune Botten
bb4c03f069 chore: update @modelcontextprotocol/sdk to 1.9.0 to include fix for missing redirect_uri in token exchange 2025-04-16 06:59:49 +01:00
Glen Maddern
189ecc9fce 0.0.21 2025-04-16 15:01:56 +10:00
kissrobber
a2064502b9 add --allow-http flag 2025-04-16 06:01:50 +01:00
Glen Maddern
0596122962
Update README.md with cursor workaround 2025-04-16 05:34:41 +01:00
dp-rufus
7a1bd95844 Add software_id/software_version 2025-04-15 03:06:47 +01:00
Glen Maddern
2913b96e53 0.0.20 2025-04-14 15:38:28 +10:00
dorshany
3a4d81936c Remove package-lock.json 2025-04-14 06:38:03 +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
89177a5ac5 0.0.19 2025-04-11 04:48:19 +01:00
Glen Maddern
c542f78288 removing --clean flag as it sent things into a reauth loop 2025-04-11 04:48:19 +01:00
Glen Maddern
14da1b44d4 0.0.18 2025-04-11 13:23:12 +10:00
Glen Maddern
327b4f7b0e
Merge pull request #19 from jonslo/main
PR: Fix Authorization Header for SSE Connections
2025-04-11 04:22:41 +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
3225345bb4
Merge pull request #18 from geelen/custom-headers
Added --header CLI args support
2025-04-10 02:57:17 +01:00
Glen Maddern
fcf9ed8583 0.0.17 2025-04-10 11:56:06 +10: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
84b87375fb
Merge pull request #15 from geelen/windows-fix
Windows debugging
2025-04-04 04:48:00 +01:00
Glen Maddern
d125df49a2 0.0.16 2025-04-04 14:45:41 +11:00
Glen Maddern
684320a04c Disabling the multi-popup-prevention logic for now on windows as it appears not to be reliable 2025-04-04 14:44:56 +11:00
Brendan Irvine-Broque
88fa18b1d1
Document ~/.mcp-auth (#11)
To help people who get stuck with `mcp-remote`

Co-authored-by: Jeremy Morrell (Cloudflare) <jmorrell@cloudflare.com>
2025-03-31 07:58:18 -07:00
Glen Maddern
c6f98ff4b7
Merge pull request #13 from geelen/no-multiball
Tried to stop multiple windows opening at once
2025-03-31 22:35:44 +11:00
Glen Maddern
bd3610d87b 0.0.15 2025-03-31 22:30:18 +11:00
Glen Maddern
7eac41c561 fixing github url 2025-03-31 22:30:04 +11:00
Glen Maddern
03e56ea31b 0.0.14 2025-03-31 22:28:18 +11:00
Glen Maddern
d5f5b31786 Added a wait for the token exchange 2025-03-31 22:28:10 +11: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
743b6b207f
Merge pull request #12 from geelen/refactor
Refactor, expanded README, better logging, etc
2025-03-31 16:32:43 +11:00
Glen Maddern
e793ed5b04 0.0.13 2025-03-31 16:31:41 +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
a97fd9e5c6 added instructions for running the client 2025-03-31 16:10:12 +11:00
Glen Maddern
3f1664cdba 0.0.12 2025-03-31 15:42:02 +11:00
Glen Maddern
eaed1f31e8 exposing both CLI tools 2025-03-31 15:41:59 +11:00
Glen Maddern
d10063463d 0.0.11 2025-03-31 15:35:52 +11:00