Commit graph

80 commits

Author SHA1 Message Date
uinstinct
4b34402401 fix tests 2025-07-29 17:13:03 +05:30
uinstinct
0acda9fbb3 added tests
- correct lints in MCPManagerSingleton
2025-07-29 17:02:35 +05:30
uinstinct
ff07bd4e39 do not start server is already listening 2025-07-29 14:19:18 +05:30
uinstinct
c969f9fffb correct eslint 2025-07-29 14:06:28 +05:30
uinstinct
bc3089ad6c start and stop during mcp server oauth process 2025-07-29 13:02:00 +05:30
uinstinct
64702333a7 remove vscode redirect after authentication 2025-07-29 12:24:27 +05:30
uinstinct
0407836192 fix find authenticating server 2025-07-29 11:53:28 +05:30
uinstinct
a82a340368 store mcp authenticating server as connection status 2025-07-28 23:21:45 +05:30
uinstinct
9438add281 handle mcp oauth callback 2025-07-28 23:03:01 +05:30
uinstinct
ab66938a66 added mcp remove authentication
- add protectedresource key to mcp server status
- shift mcp server auth status handling to core
2025-07-28 22:42:47 +05:30
uinstinct
a062f26559 add authenticate button in gui
- added a startAuthentication protocol
2025-07-28 21:51:47 +05:30
uinstinct
35a58c0c9d handle authentication callback
- add storage to store tokens
- in mcp connection, add headers
2025-07-28 12:26:03 +05:30
uinstinct
2473a3993f handle mcp authenticated token
- spin up a local server to handle redirects
- create an MCPOauth class to handle oauths
2025-07-25 19:11:55 +05:30
Dallin Romney
1a87532cdc
Merge pull request #6446 from continuedev/nate/async-exec-shell-path
run shell path async to avoid blocking config load
2025-07-10 16:01:34 -07:00
Patrick Erichsen
b7a9448e9e Update MCPConnection.vitest.ts 2025-07-09 11:17:58 -07:00
Nate
3668ba636d run shell path async to avoid blocking config load 2025-07-03 23:07:15 -07:00
Brian 'bdougie' Douglas
7964faff7d Merge branch 'main' into bdougie/mcp-cwd 2025-07-01 13:57:40 -07:00
uinstinct
35029e2409 Merge branch 'main' into core-vitest/config 2025-07-01 08:18:47 +05:30
Brian 'bdougie' Douglas
6e72c496c7 npm run format 2025-06-24 12:08:54 -07:00
Brian 'bdougie' Douglas
79d74977d3 adds cwd to the MCP yaml as an option. 2025-06-24 11:28:10 -07:00
Dallin Romney
fb5beb042e WIP: render slash commands 2025-06-23 09:26:10 -07:00
uinstinct
d510541247 rename to vitest 2025-06-23 18:46:59 +05:30
uinstinct
b6f7143882 migrate context foler 2025-06-13 19:34:10 +05:30
Nate
208d6a6e1a update test 2025-05-29 07:53:48 -07:00
Nate
76b4ac8ad3 add support for MCP resource templates 2025-05-28 21:58:33 -07:00
Maxx Rodriguez
40818eb783 Merge remote-tracking branch 'continue/main' into mcp-streamable-http 2025-05-26 12:01:48 -07:00
Nate
bfce8cbb8f skip passing test because of open handle 2025-05-25 21:44:43 -07:00
Nate
25ad8197f6 fix flake by scaling up test timeout 2025-05-25 20:32:05 -07:00
Nate
d18b3971a7 add a test to check for stderr included in err msg 2025-05-24 15:32:24 -07:00
Nate
b82bd26b85 show stderr in the error message for failed MCP servers 2025-05-24 15:26:21 -07:00
Maxx Rodriguez
2d2ce42b31 updated timeout in jest test from 11ms to 50ms.
- stdio needs about ~30ms to fully connect now. not 1ms.
2025-05-24 15:08:01 -07:00
Maxx Rodriguez
fcc90c9947 added streamable-http as a valid connection type in the constructTransport case statement 2025-05-24 10:10:37 -07:00
Patrick Erichsen
60ec3ac452 fix: grab PATH for mcp connections 2025-05-19 17:35:22 -07:00
Patrick Erichsen
30cd65a205 Update MCPConnection.test.ts 2025-05-12 10:34:39 -07:00
Patrick Erichsen
0eb0545916 Update MCPConnection.ts 2025-05-12 10:23:34 -07:00
Patrick Erichsen
569695e650 Update MCPConnection.ts 2025-05-12 09:49:46 -07:00
Patrick Erichsen
5e184e25ff Update MCPConnection.ts 2025-05-12 09:42:27 -07:00
Patrick Erichsen
b8ca4cb6ee fix: use cmd for windows MCP connections 2025-05-12 09:38:11 -07:00
Camilo
18832e05a9 refactor: replace transport headers with requestOptions 2025-05-05 19:04:39 -05:00
04cfb1ed
d392d7736d feat: add support for custom headers in SSE transport 2025-05-05 18:04:38 -05:00
Owen W. Taylor
9e05f745a5 MCPConnection: avoid accidentally mutating options.transport.env
The code that added the PATH to the stdio transport environment was
mutating the original options.transport.env object, which can lead
to an infinite loop of reloading the continue config since
MCPMananagerSingletone.setConnections() compares the old and new
options and forces a refresh if any existing server changed transport
options. This triggers a config reload because in core.ts we have:

  MCPManagerSingleton.getInstance().onConnectionsRefreshed = async () => {
     await this.configHandler.reloadConfig();
  };
Which thens calls setConnections() and so forth...
2025-05-02 13:51:02 -04:00
uinstinct
f56f0aa93d add test 2025-05-01 13:39:53 +05:30
uinstinct
ef0e7a490f introduce custom mcp server timeout 2025-05-01 13:30:09 +05:30
Nate Sesti
e9f9fd8b86
Merge pull request #4887 from lkk214/feat/mcp-conn-refresh-logic
feat: Enhance MCP connection refresh logic
2025-04-29 10:00:36 -07:00
Dallin Romney
49b6663ef2 fix mcp connections! 2025-04-28 18:40:43 -07:00
Nate
efda8d8c9a make updates to singleton 2025-04-23 14:50:52 -07:00
Nate
72f6f0ac92 Merge branch 'main' into feat/mcp-conn-refresh-logic 2025-04-23 14:50:42 -07:00
Nate
302607963d mcp manager singleton tests 2025-04-18 13:13:30 -07:00
Nate
7e6376edb1 skip 2025-04-18 12:50:04 -07:00
Nate
1ec10a3cbb disconnect 2025-04-18 12:43:13 -07:00