continue-custom/extensions/cli/src/services
continue[bot] 7b17637763
Allow --mcp flag to accept URLs for streamable-http servers (#8119)
* Allow --mcp flag to accept URLs for streamable-http servers

When a URL starting with http:// or https:// is passed to the --mcp flag,
it will now automatically be configured as a streamable-http MCP server
connection instead of trying to load it from the hub.

This allows users to run:
  cn --mcp https://docs.continue.dev/mcp

The URL will be parsed and configured with:
- type: streamable-http
- url: the provided URL
- name: hostname from the URL

Fixes CON-4285

Generated with [Continue](https://continue.dev)

Co-authored-by: Username <nate@continue.dev>

* fix: tests

---------

Co-authored-by: Continue Agent <agent@continue.dev>
Co-authored-by: Username <nate@continue.dev>
Co-authored-by: Nate <sestinj@gmail.com>
2025-10-08 09:49:36 -07:00
..
ApiClientService.test.ts chore: run prettier --write on cli 2025-08-20 17:57:35 -07:00
ApiClientService.ts Add 'extensions/cli/' from commit 'e27a5c87d520e28844c9eac10bc6d301feee4b5e' 2025-08-20 17:19:56 -07:00
AuthService.refactored.ts fix: remove mode service, fix all tests, workflow service integration 2025-10-03 17:26:18 -07:00
AuthService.test.ts chore: run prettier --write on cli 2025-08-20 17:57:35 -07:00
AuthService.ts Add 'extensions/cli/' from commit 'e27a5c87d520e28844c9eac10bc6d301feee4b5e' 2025-08-20 17:19:56 -07:00
BaseService.test.ts chore: lint fix 2025-09-08 22:23:30 -07:00
BaseService.ts fix: model switcher not working when signed out, and other improvements 2025-08-24 17:52:21 -07:00
ChatHistoryService.test.ts chore: format 2025-09-01 13:30:13 -07:00
ChatHistoryService.ts fix: address feedback 2025-09-01 15:07:29 -07:00
circular-dependencies.test.ts chore: run prettier --write on cli 2025-08-20 17:57:35 -07:00
ConfigService.test.ts fix: tests, formatting, linting 2025-10-03 18:04:39 -07:00
ConfigService.ts fix: workflow e2e working 2025-10-03 19:46:06 -07:00
FileIndexService.test.ts feat: revamp efficient file search and support fuzzy matching 2025-09-17 13:43:03 -07:00
FileIndexService.ts fix: add max depth to file indexing 2025-10-06 17:18:18 -07:00
index.initialization.test.ts fix: remove mode service, fix all tests, workflow service integration 2025-10-03 17:26:18 -07:00
index.test.ts fix: tests, formatting, linting 2025-10-03 18:04:39 -07:00
index.ts fix: workflow e2e working 2025-10-03 19:46:06 -07:00
MCPService.test.ts add tests 2025-09-02 20:22:08 +05:30
MCPService.ts Add apiKey field to mcpServers block schema for Bearer token auth (#8120) 2025-10-08 08:33:30 -07:00
ModelService.direct.test.ts fix: model switcher not working when signed out, and other improvements 2025-08-24 17:52:21 -07:00
ModelService.test.ts fix: cleanup workflow files 2025-10-02 15:02:17 -07:00
ModelService.ts fix: remove mode service, fix all tests, workflow service integration 2025-10-03 17:26:18 -07:00
ModelService.workflow-priority.test.ts fix: tests, lint, workflow model name logic 2025-10-02 17:16:08 -07:00
ResourceMonitoringService.test.ts chore: format 2025-08-24 13:09:45 -07:00
ResourceMonitoringService.ts fix: address feedback 2025-08-24 13:24:57 -07:00
ServiceContainer.test.ts feat: mark unread (#7886) 2025-09-22 19:54:46 -07:00
ServiceContainer.ts fix: remove mode service, fix all tests, workflow service integration 2025-10-03 17:26:18 -07:00
ServiceContainerContext.tsx Add 'extensions/cli/' from commit 'e27a5c87d520e28844c9eac10bc6d301feee4b5e' 2025-08-20 17:19:56 -07:00
StorageSyncService.test.ts Refactor session snapshot handling to use getCompleteStateSnapshot (#7929) 2025-09-24 00:00:56 -07:00
StorageSyncService.ts Refactor session snapshot handling to use getCompleteStateSnapshot (#7929) 2025-09-24 00:00:56 -07:00
SystemMessageService.test.ts fix: lint/format 2025-10-03 19:48:55 -07:00
SystemMessageService.ts fix: circular import 2025-10-03 18:21:29 -07:00
ToolPermissionService.debug.test.ts chore: run prettier --write on cli 2025-08-20 17:57:35 -07:00
ToolPermissionService.integration.test.ts chore: run prettier --write on cli 2025-08-20 17:57:35 -07:00
ToolPermissionService.modes.test.ts chore: run prettier --write on cli 2025-08-20 17:57:35 -07:00
ToolPermissionService.real.test.ts chore: run prettier --write on cli 2025-08-20 17:57:35 -07:00
ToolPermissionService.test.ts fix: cleanup workflow files 2025-10-02 15:02:17 -07:00
ToolPermissionService.ts fix: workflow e2e working 2025-10-03 19:46:06 -07:00
ToolPermissionService.unit.test.ts chore: run prettier --write on cli 2025-08-20 17:57:35 -07:00
types.ts fix: remove mode service, fix all tests, workflow service integration 2025-10-03 17:26:18 -07:00
UpdateService.ts fix: address feedback 2025-09-15 18:04:43 -07:00
workflow-integration.test.ts Allow --mcp flag to accept URLs for streamable-http servers (#8119) 2025-10-08 09:49:36 -07:00
WorkflowService.test.ts fix: tests, lint, workflow model name logic 2025-10-02 17:16:08 -07:00
WorkflowService.ts fix: workflow e2e working 2025-10-03 19:46:06 -07:00