Commit graph

67 commits

Author SHA1 Message Date
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
Nate
bbc5002a57 tests 2025-04-18 11:51:32 -07:00
Nate
afa41b771d separate connection and singleton in mcp folder 2025-04-18 10:11:19 -07:00
liuk
45eacf4ebb fix: Resolve type error in env comparison 2025-04-12 01:37:19 +08:00
liuk
1a0d41128f feat: Enhance MCP connection refresh logic 2025-03-29 01:57:29 +08:00
Dallin Romney
ac277b969d fix refresh 2025-03-21 14:59:21 -07:00
Dallin Romney
0a98d8775d tool group toggle 2025-03-21 14:45:38 -07:00
Dallin Romney
2c0582dc08 MCP servers section in more page 2025-03-21 10:14:07 -07:00
Dallin Romney
7df9c60484 mcp loading fixes and duplicate tools 2025-03-20 19:02:24 -07:00
Dallin Romney
cda958f54d show errors, codeblock for wouldliketo message 2025-03-20 15:17:47 -07:00
Dallin Romney
0edd308aeb mcp slash commands makeover 2025-03-18 22:15:56 -07:00
Dallin Romney
427ef923b9 typescript shenangians 2025-03-18 13:18:47 -07:00
Dallin Romney
2a77f8c510 filter 2025-03-18 12:32:27 -07:00
Dallin Romney
5e13ead3e7 handle spawn enoent error 2025-03-17 16:04:47 -07:00