Λογότυπο QuantConnect

QuantConnect

Οργανισμός
QuantConnect

Official Python MCP server for local interactions with the QuantConnect API

ΕκδότηςQuantConnect
Αποθετήριοmcp-server
ΓλώσσαPython
Forks
33
Αστέρια
77
Διαθέσιμα εργαλεία
0
Τύπος μεταφοράςstdio
Κατηγορίες
Άδεια χρήσηςApache-2.0
Σύνδεσμοι
  • Συνδέστε εργαλεία σε ροές εργασίας AI

    Το QuantConnect παρέχει δυνατότητες MCP που μπορούν να χρησιμοποιηθούν από συμβατές εφαρμογές-πελάτες AI και πράκτορες AI.

  • 0 διαθέσιμα εργαλεία

    Περιηγηθείτε παρακάτω στις ενέργειες που μπορούν να κληθούν, μαζί με τα ονόματα και τις περιγραφές τους, όταν παρέχονται από τον διακομιστή.

  • Ρυθμίσεις έτοιμες για αντιγραφή

    Χρησιμοποιήστε τα αποσπάσματα εγκατάστασης για να ρυθμίσετε αυτόν τον διακομιστή στην εφαρμογή-πελάτη MCP που προτιμάτε.

  • Δείκτες ενδιαφέροντος για τον ανοιχτό κώδικα

    77 αστέρια και 33 διακλαδώσεις στο συνδεδεμένο αποθετήριο.

This repository is deprecated for now - the preferred way to use our MCP is through the one embedded in VSCode.

See https://www.quantconnect.com/docs/v2/ai-assistance/mcp-server/key-concepts

QuantConnect MCP Server

The QuantConnect MCP Server is a bridge for AIs (such as Claude and OpenAI o3 Pro) to interact with our cloud platform. When equipped with our MCP, the AI can perform tasks on your behalf through our API such as updating projects, writing strategies, backtesting, and deploying strategies to production live-trading.

This is the OFFICIAL implementation of QuantConnect's MCP, maintained by the QuantConnect team. We recommend using the official version to ensure security of your code and API tokens. Our implementation is tested and dockerized for easy cross-platform deployment.

Getting Started

To connect local MCP clients (like Claude Desktop) to the QC MCP Server, follow these steps:

  1. Install and open Docker Desktop.
  2. Install and open Claude Desktop.
  3. In Claude Desktop, click File > Settings > Developer > Edit Config.
  4. Edit the claude_desktop_config.json file to include the following quantconnect configuration:
json
{
  "mcpServers": {
    "quantconnect": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e", "QUANTCONNECT_USER_ID",
        "-e", "QUANTCONNECT_API_TOKEN",
        "-e", "AGENT_NAME",
        "--platform", "<your_platform>",
        "quantconnect/mcp-server"
      ],
      "env": {
        "QUANTCONNECT_USER_ID": "<your_user_id>",
        "QUANTCONNECT_API_TOKEN": "<your_api_token>",
        "AGENT_NAME": "MCP Server"
      }
    }
  }
}

To get your user Id and API token, see Request API Token.

Our MCP server is multi-platform capable. The options are linux/amd64 for Intel/AMD chips and linux/arm64 for ARM chips (for example, Apple's M-series chips).

If you simultaneously run multiple agents, set a unique value for the AGENT_NAME environment variable for each agent to keep record of the request source.

  1. Restart Claude Desktop.

    Claude Desktop automatically pulls our MCP server from Docker Hub and connects to it.

To view all the MCP clients and the features they support, see the Feature Support Matrix in the MCP documentation.

To keep the Docker image up-to-date, pull the latest MCP server from Docker Hub in the terminal.

docker pull quantconnect/mcp-server

If you have an ARM chip, add the --platform linux/arm64 option.

Available Tools (64)

Tools provided by this ServerShort Description
read_accountRead the organization account status.
create_projectCreate a new project in your default organization.
read_projectList the details of a project or a set of recent projects.
list_projectsList the details of all projects.
update_projectUpdate a project's name or description.
delete_projectDelete a project.
create_project_collaboratorAdd a collaborator to a project.
read_project_collaboratorsList all collaborators on a project.
update_project_collaboratorUpdate collaborator information in a project.
delete_project_collaboratorRemove a collaborator from a project.
lock_project_with_collaboratorsLock a project so you can edit it.
read_project_nodesRead the available and selected nodes of a project.
update_project_nodesUpdate the active state of the given nodes to true.
create_compileAsynchronously create a compile job request for a project.
read_compileRead a compile packet job result.
create_fileAdd a file to a given project.
read_fileRead a file from a project, or all files in the project if no file name is provided.
update_file_nameUpdate the name of a file.
update_file_contentsUpdate the contents of a file.
patch_fileApply a patch (unified diff) to a file in a project.
delete_fileDelete a file in a project.
create_backtestCreate a new backtest request and get the backtest Id.
read_backtestRead the results of a backtest.
list_backtestsList all the backtests for the project.
read_backtest_chartRead a chart from a backtest.
read_backtest_ordersRead out the orders of a backtest.
read_backtest_insightsRead out the insights of a backtest.
update_backtestUpdate the name or note of a backtest.
delete_backtestDelete a backtest from a project.
estimate_optimization_timeEstimate the execution time of an optimization with the specified parameters.
create_optimizationCreate an optimization with the specified parameters.
read_optimizationRead an optimization.
list_optimizationsList all the optimizations for a project.
update_optimizationUpdate the name of an optimization.
abort_optimizationAbort an optimization.
delete_optimizationDelete an optimization.
authorize_connectionAuthorize an external connection with a live brokerage or data provider.
create_live_algorithmCreate a live algorithm.
read_live_algorithmRead details of a live algorithm.
list_live_algorithmsList all your past and current live trading deployments.
read_live_chartRead a chart from a live algorithm.
read_live_logsGet the logs of a live algorithm.
read_live_portfolioRead out the portfolio state of a live algorithm.
read_live_ordersRead out the orders of a live algorithm.
read_live_insightsRead out the insights of a live algorithm.
stop_live_algorithmStop a live algorithm.
liquidate_live_algorithmLiquidate and stop a live algorithm.
create_live_commandSend a command to a live trading algorithm.
broadcast_live_commandBroadcast a live command to all live algorithms in an organization.
upload_objectUpload files to the Object Store.
read_object_propertiesGet Object Store properties of a specific organization and key.
read_object_store_file_job_idCreate a job to download files from the Object Store and then read the job Id.
read_object_store_file_download_urlGet the URL for downloading files from the Object Store.
list_object_store_filesList the Object Store files under a specific directory in an organization.
delete_objectDelete the Object Store file of a specific organization and key.
read_lean_versionsReturns a list of LEAN versions with basic information for each version.
check_initialization_errorsRun a backtest for a few seconds to initialize the algorithm and get inialization errors if any.
complete_codeShow the code completion for a specific text input.
enhance_error_messageShow additional context and suggestions for error messages.
update_code_to_pep8Update Python code to follow PEP8 style.
check_syntaxCheck the syntax of a code.
search_quantconnectSearch for content in QuantConnect.
read_mcp_server_versionReturns the version of the QC MCP Server that's running.
read_latest_mcp_server_versionReturns the latest version of the QC MCP Server released.

Tool Details

Tool: read_account

Read the organization account status.

This tool doesn't modify it's environment.

This tool may interact with an "open world" of external entities.


Tool: create_project

Create a new project in your default organization.

ParameterTypeDescription
namestringProject name.
languagestringProgramming language to use.
organizationIdstring optionalThe organization to create project under. If you don't provide a value, it defaults to your preferred organization.

This tool modifies it's environment.

This tool doesn't perform destructive updates.

Calling this tool repeatedly with the same arguments has additional effects.

This tool may interact with an "open world" of external entities.


Tool: read_project

List the details of a project or a set of recent projects.

ParameterTypeDescription
projectIdinteger optionalId of the project to read.
startinteger optionalStarting (inclusive, zero-based) index of the projects to fetch. If you provide this property, omit the project Id property.
endinteger optionalLast (exlusive) index of the projects to fetch. If you provide this property, omit the project Id property.

This tool doesn't modify it's environment.

This tool may interact with an "open world" of external entities.


Tool: list_projects

List the details of all projects.

This tool doesn't modify it's environment.

This tool may interact with an "open world" of external entities.


Tool: update_project

Update a project's name or description.

ParameterTypeDescription
projectIdintegerProject Id to which the file belongs.
namestring optionalThe new name for the project.
descriptionstring optionalThe new description for the project.

This tool modifies it's environment.

This tool may perform destructive updates.

Calling this tool repeatedly with the same arguments has no additional effect.

This tool may interact with an "open world" of external entities.


Tool: delete_project

Delete a project.

ParameterTypeDescription
projectIdintegerId of the project to delete.

This tool modifies it's environment.

This tool may perform destructive updates.

Calling this tool repeatedly with the same arguments has no additional effect.

This tool may interact with an "open world" of external entities.


Tool: create_project_collaborator

Add a collaborator to a project.

ParameterTypeDescription
projectIdintegerId of the project to add the collaborator to.
collaboratorUserIdstringUser Id of the collaborator to add.
collaborationLiveControlbooleanGives the right to deploy and stop live algorithms.
collaborationWritebooleanGives the right to edit the code.

This tool modifies it's environment.

This tool doesn't perform destructive updates.

Calling this tool repeatedly with the same arguments has no additional effect.

This tool may interact with an "open world" of external entities.


Tool: read_project_collaborators

List all collaborators on a project.

ParameterTypeDescription
projectIdintegerId of the project from which to read the collaborators.

This tool doesn't modify it's environment.

This tool may interact with an "open world" of external entities.


Tool: update_project_collaborator

Update collaborator information in a project.

ParameterTypeDescription
projectIdintegerId of the project the collaborator is on.
collaboratorUserIdstringUser Id of the collaborator to update.
liveControlbooleanGives the right to deploy and stop live algorithms.
writebooleanGives the right to edit the code.

This tool modifies it's environment.

This tool may perform destructive updates.

Calling this tool repeatedly with the same arguments has no additional effect.

This tool may interact with an "open world" of external entities.


Tool: delete_project_collaborator

Remove a collaborator from a project.

ParameterTypeDescription
projectIdintegerId of the project to remove the collaborator from.
collaboratorIdstringUser Id of the collaborator to remove.

This tool modifies it's environment.

This tool may perform destructive updates.

Calling this tool repeatedly with the same arguments has no additional effect.

This tool may interact with an "open world" of external entities.


Tool: lock_project_with_collaborators

Lock a project so you can edit it.

ParameterTypeDescription
projectIdintegerId of the project to edit.
codeSourceIdstringName of the environment that's creating the request.

This tool modifies it's environment.

This tool may perform destructive updates.

Calling this tool repeatedly with the same arguments has no additional effect.

This tool may interact with an "open world" of external entities.


Tool: read_project_nodes

Read the available and selected nodes of a project.

ParameterTypeDescription
projectIdintegerId of the project to which the nodes refer.

This tool doesn't modify it's environment.

This tool may interact with an "open world" of external entities.


Tool: update_project_nodes

Update the active state of the given nodes to true.

ParameterTypeDescription
projectIdintegerProject Id to which the nodes refer.
nodesarray optionalList of node Ids the project may use. If you omit this property or pass an empty list, the best node will be automatically selected for backtest, research, and live trading.

This tool modifies it's environment.

This tool doesn't perform destructive updates.

Calling this tool repeatedly with the same arguments has no additional effect.

This tool may interact with an "open world" of external entities.


Tool: create_compile

Asynchronously create a compile job request for a project.

ParameterTypeDescription
projectIdintegerId of the project to compile.

This tool modifies it's environment.

This tool doesn't perform destructive updates.

Calling this tool repeatedly with the same arguments has additional effects.

This tool may interact with an "open world" of external entities.


Tool: read_compile

Read a compile packet job result.

ParameterTypeDescription
projectIdintegerId of the project you requested to compile.
compileIdstringCompile Id returned during the creation request.

This tool doesn't modify it's environment.

This tool may interact with an "open world" of external entities.


Tool: create_file

Add a file to a given project.

ParameterTypeDescription
projectIdintegerId of the project to add the file.
namestringThe name of the new file.
contentstring optionalThe content of the new file.
codeSourceIdstring optionalName of the environment that's creating the request.

This tool modifies it's environment.

This tool doesn't perform destructive updates.

Calling this tool repeatedly with the same arguments has no additional effect.

This tool may interact with an "open world" of external entities.


Tool: read_file

Read a file from a project, or all files in the project if no file name is provided.

ParameterTypeDescription
projectIdintegerId of the project that contains the file.
namestring optionalThe name of the file to read.
codeSourceIdstring optionalName of the environment that's creating the request.

This tool doesn't modify it's environment.

This tool may interact with an "open world" of external entities.


Tool: update_file_name

Update the name of a file.

ParameterTypeDescription
projectIdintegerId of the project that contains the file.
namestringThe current name of the file.
newNamestringThe new name for the file.
codeSourceIdstring optionalName of the environment that's creating the request.

This tool modifies it's environment.

This tool may perform destructive updates.

Calling this tool repeatedly with the same arguments has no additional effect.

This tool may interact with an "open world" of external entities.


Tool: update_file_contents

Update the contents of a file.

ParameterTypeDescription
projectIdintegerId of the project that contains the file.
namestringThe name of the file to update.
contentstringThe new contents of the file.
codeSourceIdstring optionalName of the environment that's creating the request.

This tool modifies it's environment.

This tool may perform destructive updates.

Calling this tool repeatedly with the same arguments has no additional effect.

This tool may interact with an "open world" of external entities.


Tool: patch_file

Apply a patch (unified diff) to a file in a project.

ParameterTypeDescription
projectIdintegerId of the project that contains the file.
patchstringA patch string in unified diff format (as produced by git diff). It specifies changes to apply to one or more files in the project.
codeSourceIdstring optionalName of the environment that's creating the request.

This tool modifies it's environment.

This tool may perform destructive updates.

Calling this tool repeatedly with the same arguments has no additional effect.

This tool may interact with an "open world" of external entities.


Tool: delete_file

Delete a file in a project.

ParameterTypeDescription
projectIdintegerId of the project that contains the file.
namestringThe name of the file to delete.
codeSourceIdstring optionalName of the environment that's creating the request.

This tool modifies it's environment.

This tool may perform destructive updates.

Calling this tool repeatedly with the same arguments has no additional effect.

This tool may interact with an "open world" of external entities.


Tool: create_backtest

Create a new backtest request and get the backtest Id.

ParameterTypeDescription
projectIdintegerId of the project to backtest.
compileIdstringCompile Id for the project to backtest.
backtestNamestringName for the new backtest.
parametersobject optionalParameters to use for the backtest.

This tool modifies it's environment.

This tool doesn't perform destructive updates.

Calling this tool repeatedly with the same arguments has additional effects.

This tool may interact with an "open world" of external entities.


Tool: read_backtest

Read the results of a backtest.

ParameterTypeDescription
projectIdintegerId of the project that contains the backtest.
backtestIdstringId of the backtest to read.

This tool doesn't modify it's environment.

This tool may interact with an "open world" of external entities.


Tool: list_backtests

List all the backtests for the project.

ParameterTypeDescription
projectIdintegerId of the project from which to read one or multiple backtests.
includeStatisticsboolean optionalIf true, the backtests summaries from the response will contain the statistics with their corresponding values.

This tool doesn't modify it's environment.

This tool may interact with an "open world" of external entities.


Tool: read_backtest_chart

Read a chart from a backtest.

ParameterTypeDescription
projectIdintegerId of the project that contains the backtest.
backtestIdstringId of the backtest for this chart request.
namestringThe requested chart name.
countintegerThe number of data points to request.
startintegerThe start timestamp of the request in Unix time.
endintegerThe end timestamp of the request in Unix time.

This tool doesn't modify it's environment.

This tool may interact with an "open world" of external entities.


Tool: read_backtest_orders

Read out the orders of a backtest.

ParameterTypeDescription
startintegerStarting index of the orders to be fetched.
endintegerLast index of the orders to be fetched. Note that end - start must be less than 100.
projectIdintegerId of the project from which to read the backtest.
backtestIdstringId of the backtest from which to read the orders.

This tool doesn't modify it's environment.

This tool may interact with an "open world" of external entities.


Tool: read_backtest_insights

Read out the insights of a backtest.

ParameterTypeDescription
startintegerStarting index of the insights to be fetched.
endintegerLast index of the insights to be fetched. Note that end - start must be less than 100.
projectIdintegerId of the project from which to read the backtest.
backtestIdstringId of the backtest from which to read the insights.

This tool doesn't modify it's environment.

This tool may interact with an "open world" of external entities.


Tool: update_backtest

Update the name or note of a backtest.

ParameterTypeDescription
projectIdintegerId of the project that contains the backtest.
backtestIdstringId of the backtest to update.
namestring optionalName to assign to the backtest.
notestring optionalNote to attach to the backtest.

This tool modifies it's environment.

This tool may perform destructive updates.

Calling this tool repeatedly with the same arguments has no additional effect.

This tool may interact with an "open world" of external entities.


Tool: delete_backtest

Delete a backtest from a project.

ParameterTypeDescription
projectIdintegerId of the project that contains the backtest.
backtestIdstringId of the backtest to delete.

This tool modifies it's environment.

This tool may perform destructive updates.

Calling this tool repeatedly with the same arguments has no additional effect.

This tool may interact with an "open world" of external entities.


Tool: estimate_optimization_time

Estimate the execution time of an optimization with the specified parameters.

ParameterTypeDescription
projectIdintegerId of the project to optimize.
namestringName of the optimization.
targetstringTarget statistic of the optimization to minimize or maximize.
targetTostringTarget extremum of the optimization.
targetValuenumber optionalDesired value for the optimization target statistic.
strategystringOptimization strategy.
compileIdstring optionalOptimization compile Id.
parametersarrayOptimization parameters.
constraintsarray optionalOptimization constraints.

This tool doesn't modify it's environment.

This tool may interact with an "open world" of external entities.


Tool: create_optimization

Create an optimization with the specified parameters.

ParameterTypeDescription
projectIdintegerId of the project to optimize.
namestringName of the optimization.
targetstringTarget statistic of the optimization to minimize or maximize.
targetTostringTarget extremum of the optimization.
targetValuenumber optionalDesired value for the optimization target statistic.
strategystringOptimization strategy.
compileIdstringOptimization compile Id.
parametersarrayOptimization parameters.
constraintsarray optionalOptimization constraints.
estimatedCostnumberEstimated cost for optimization.
nodeTypestringOptimization node type.
parallelNodesintegerNumber of parallel nodes for optimization.

This tool modifies it's environment.

This tool doesn't perform destructive updates.

Calling this tool repeatedly with the same arguments has additional effects.

This tool may interact with an "open world" of external entities.


Tool: read_optimization

Read an optimization.

ParameterTypeDescription
optimizationIdstringId of the optimization to read.

This tool doesn't modify it's environment.

This tool may interact with an "open world" of external entities.


Tool: list_optimizations

List all the optimizations for a project.

ParameterTypeDescription
projectIdintegerId of the Project to get a list of optimizations for.

This tool doesn't modify it's environment.

This tool may interact with an "open world" of external entities.


Tool: update_optimization

Update the name of an optimization.

ParameterTypeDescription
optimizationIdstringId of the optimization to update.
namestringName to assign to the optimization.

This tool modifies it's environment.

This tool may perform destructive updates.

Calling this tool repeatedly with the same arguments has no additional effect.

This tool may interact with an "open world" of external entities.


Tool: abort_optimization

Abort an optimization.

ParameterTypeDescription
optimizationIdstringId of the optimization to abort.

This tool modifies it's environment.

This tool may perform destructive updates.

Calling this tool repeatedly with the same arguments has no additional effect.

This tool may interact with an "open world" of external entities.


Tool: delete_optimization

Delete an optimization.

ParameterTypeDescription
optimizationIdstringId of the optimization to delete.

This tool modifies it's environment.

This tool may perform destructive updates.

Calling this tool repeatedly with the same arguments has no additional effect.

This tool may interact with an "open world" of external entities.


Tool: authorize_connection

Authorize an external connection with a live brokerage or data provider.

ParameterTypeDescription
brokeragestringThe brokerage to authenticate a connection with.

This tool modifies it's environment.

This tool doesn't perform destructive updates.

Calling this tool repeatedly with the same arguments has no additional effect.

This tool may interact with an "open world" of external entities.


Tool: create_live_algorithm

Create a live algorithm.

ParameterTypeDescription
versionIdstringThe version of the Lean used to run the algorithm. -1 is master, however, sometimes this can create problems with live deployments. If you experience problems using, try specifying the version of Lean you would like to use.
projectIdintegerProject Id.
compileIdstringCompile Id.
nodeIdstringId of the node that will run the algorithm.
brokerageobjectBrokerage configuration for the live algorithm.
dataProvidersobject optionalDictionary of data provider configurations to be used in the live algorithm. Provide at least one. The order in which you define the providers defines their order of precedence.

This tool modifies it's environment.

This tool doesn't perform destructive updates.

Calling this tool repeatedly with the same arguments has additional effects.

This tool may interact with an "open world" of external entities.


Tool: read_live_algorithm

Read details of a live algorithm.

ParameterTypeDescription
projectIdintegerId of the project to read.

This tool modifies it's environment.

This tool may perform destructive updates.

Calling this tool repeatedly with the same arguments has additional effects.

This tool may interact with an "open world" of external entities.


Tool: list_live_algorithms

List all your past and current live trading deployments.

ParameterTypeDescription
projectIdinteger optionalId of the project to include in response. If you omit this property, the response includes all your projects.
statusstatus enum optionalStatus of the live deployments to include in the response. If you omit this property, the response includes deployments with any status.

This tool modifies it's environment.

This tool may perform destructive updates.

Calling this tool repeatedly with the same arguments has additional effects.

This tool may interact with an "open world" of external entities.


Tool: read_live_chart

Read a chart from a live algorithm.

ParameterTypeDescription
projectIdintegerId of the project that's live trading.
namestringName of the chart to read.
countintegerThe number of data points to request.
startintegerThe unix start time of the request.
endintegerThe unix end time of the request.

This tool modifies it's environment.

This tool may perform destructive updates.

Calling this tool repeatedly with the same arguments has additional effects.

This tool may interact with an "open world" of external entities.


Tool: read_live_logs

Get the logs of a live algorithm.

ParameterTypeDescription
format`` optionalFormat of the log results.
projectIdintegerId of the project that contains the live running algorithm.
algorithmIdstringDeploy Id (Algorithm Id) of the live running algorithm.
startLineintegerStart line (inclusive) of logs to read. The lines numbers start at 0.
endLineintegerEnd line (exclusive) of logs to read, where endLine - startLine <= 250.

This tool modifies it's environment.

This tool may perform destructive updates.

Calling this tool repeatedly with the same arguments has additional effects.

This tool may interact with an "open world" of external entities.


Tool: read_live_portfolio

Read out the portfolio state of a live algorithm.

ParameterTypeDescription
projectIdintegerId of the project from which to read the live algorithm.

This tool modifies it's environment.

This tool may perform destructive updates.

Calling this tool repeatedly with the same arguments has additional effects.

This tool may interact with an "open world" of external entities.


Tool: read_live_orders

Read out the orders of a live algorithm.

ParameterTypeDescription
startintegerStarting index of the orders to be fetched.
endintegerLast index of the orders to be fetched. Note that end - start must be <= 1,000.
projectIdintegerId of the project from which to read the live algorithm.

This tool modifies it's environment.

This tool may perform destructive updates.

Calling this tool repeatedly with the same arguments has additional effects.

This tool may interact with an "open world" of external entities.


Tool: read_live_insights

Read out the insights of a live algorithm.

ParameterTypeDescription
startinteger optionalStarting index of the insights to be fetched. Required if end > 100.
endintegerLast index of the insights to be fetched. Note that end - start must be less than 100.
projectIdintegerId of the project from which to read the live algorithm.

This tool modifies it's environment.

This tool may perform destructive updates.

Calling this tool repeatedly with the same arguments has additional effects.

This tool may interact with an "open world" of external entities.


Tool: stop_live_algorithm

Stop a live algorithm.

ParameterTypeDescription
projectIdintegerId of the project to stop trading live.

This tool modifies it's environment.

This tool may perform destructive updates.

Calling this tool repeatedly with the same arguments has no additional effect.

This tool may interact with an "open world" of external entities.


Tool: liquidate_live_algorithm

Liquidate and stop a live algorithm.

ParameterTypeDescription
projectIdintegerProject Id for the live instance to liquidate.

This tool modifies it's environment.

This tool may perform destructive updates.

Calling this tool repeatedly with the same arguments has no additional effect.

This tool may interact with an "open world" of external entities.


Tool: create_live_command

Send a command to a live trading algorithm.

ParameterTypeDescription
projectIdintegerProject for the live instance we want to run the command against.
commandobjectThe command to run.

This tool modifies it's environment.

This tool may perform destructive updates.

Calling this tool repeatedly with the same arguments has additional effects.

This tool may interact with an "open world" of external entities.


Tool: broadcast_live_command

Broadcast a live command to all live algorithms in an organization.

ParameterTypeDescription
organizationIdstringOrganization Id of the projects we would like to broadcast the command to
excludeProjectIdinteger optionalProject for the live instance we want to exclude from the broadcast list. If null, all projects will be included.
commandobjectThe command to run.

This tool modifies it's environment.

This tool may perform destructive updates.

Calling this tool repeatedly with the same arguments has additional effects.

This tool may interact with an "open world" of external entities.


Tool: upload_object

Upload files to the Object Store.

ParameterTypeDescription
organizationIdstringOrgainization ID.
keystringUnique key to access the object in Object Store.
objectDatastringObject data to be stored.

This tool modifies it's environment.

This tool may perform destructive updates.

Calling this tool repeatedly with the same arguments has no additional effect.

This tool may interact with an "open world" of external entities.


Tool: read_object_properties

Get Object Store properties of a specific organization and key.

ParameterTypeDescription
organizationIdstringId of the organization that owns the Object Store.
keystringKey in the Object Store.

This tool doesn't modify it's environment.

This tool may interact with an "open world" of external entities.


Tool: read_object_store_file_job_id

Create a job to download files from the Object Store and then read the job Id.

ParameterTypeDescription
organizationIdstringId of the organization that owns the Object Store.
keysarrayKeys of the Object Store files.

This tool modifies it's environment.

This tool doesn't perform destructive updates.

Calling this tool repeatedly with the same arguments has additional effects.

This tool may interact with an "open world" of external entities.


Tool: read_object_store_file_download_url

Get the URL for downloading files from the Object Store.

ParameterTypeDescription
organizationIdstringId of the organization that owns the Object Store.
jobIdstringId of the download job for the files.

This tool doesn't modify it's environment.

This tool may interact with an "open world" of external entities.


Tool: list_object_store_files

List the Object Store files under a specific directory in an organization.

ParameterTypeDescription
organizationIdstringId of the organization to list the Object Store files from.
pathstring optionalPath to a directory in the Object Store.

This tool doesn't modify it's environment.

This tool may interact with an "open world" of external entities.


Tool: delete_object

Delete the Object Store file of a specific organization and key.

ParameterTypeDescription
organizationIdstringId of the organization that owns the Object Store.
keystringKey of the Object Store file to delete.

This tool modifies it's environment.

This tool may perform destructive updates.

Calling this tool repeatedly with the same arguments has no additional effect.

This tool may interact with an "open world" of external entities.


Tool: read_lean_versions

Returns a list of LEAN versions with basic information for each version.

This tool doesn't modify it's environment.

This tool may interact with an "open world" of external entities.


Tool: check_initialization_errors

Run a backtest for a few seconds to initialize the algorithm and get inialization errors if any.

ParameterTypeDescription
languagestringProgramming language.
filesarrayFiles to process.

This tool doesn't modify it's environment.

This tool may interact with an "open world" of external entities.


Tool: complete_code

Show the code completion for a specific text input.

ParameterTypeDescription
languagestringProgramming language for the code completion.
sentencestringSentence to complete.
responseSizeLimitinteger optionalMaximum size of the responses.

This tool doesn't modify it's environment.

This tool may interact with an "open world" of external entities.


Tool: enhance_error_message

Show additional context and suggestions for error messages.

ParameterTypeDescription
languagestringProgramming language for the code completion.
errorobjectError message to enhance.

This tool doesn't modify it's environment.

This tool may interact with an "open world" of external entities.


Tool: update_code_to_pep8

Update Python code to follow PEP8 style.

ParameterTypeDescription
filesarrayFiles of the project.

This tool doesn't modify it's environment.

This tool may interact with an "open world" of external entities.


Tool: check_syntax

Check the syntax of a code.

ParameterTypeDescription
languagestringProgramming language.
filesarrayFiles to process.

This tool doesn't modify it's environment.

This tool may interact with an "open world" of external entities.


Tool: search_quantconnect

Search for content in QuantConnect.

ParameterTypeDescription
languagestringProgramming language of the content to search.
criteriaarrayCriteria for the search.

This tool doesn't modify it's environment.

This tool may interact with an "open world" of external entities.


Tool: read_mcp_server_version

Returns the version of the QC MCP Server that's running.

This tool doesn't modify it's environment.

This tool may interact with an "open world" of external entities.


Tool: read_latest_mcp_server_version

Returns the latest version of the QC MCP Server released.

This tool doesn't modify it's environment.

This tool may interact with an "open world" of external entities.


Debugging

Build

To build the Docker image from source, clone this repository and then run docker build -t quantconnect/mcp-server ..

Logs

To log to the mcp-server-quantconnect.log file, import sys and then print("Hello world", file=sys.stderr).

Inspector

To start the inspector, run npx @modelcontextprotocol/inspector uv run src/main.py. To pass a model to the inspector tool, use JSON (for example, {"name":"My Project","language":"Py"}).

Χρησιμοποιήστε το MCP QuantConnect με πολλά μοντέλα AI

Το TypingMind συνδέει τα εργαλεία MCP σε επίπεδο χώρου εργασίας. Έτσι, μόλις συνδεθεί το QuantConnect, μπορείτε να το χρησιμοποιείτε με διαφορετικά μοντέλα AI στο TypingMind, αντί να το ρυθμίζετε ξεχωριστά για κάθε μοντέλο. Αυτή η ενσωμάτωση MCP εκτελείται τοπικά στη συσκευή σας μέσω του συνδέσμου MCP του TypingMind.

Οδηγός ρύθμισης για τη χρήση του τοπικού συνδέσμου

Επιλέξτε αυτή τη μέθοδο όταν ο διακομιστής MCP χρειάζεται πρόσβαση σε τοπικά αρχεία, εφαρμογές ή ιδιωτικούς πόρους στον υπολογιστή σας.

1

Ανοίξτε τις ρυθμίσεις MCP

Στο TypingMind, μεταβείτε στις «Ρυθμίσεις», έπειτα στις «Σύνθετες ρυθμίσεις» και στο «Model Context Protocol» και επιλέξτε «Ρύθμιση συνδέσμου».

  1. Ανοίξτε το TypingMind στο πρόγραμμα περιήγησής σας.
  2. Κάντε κλικ στο εικονίδιο «Ρυθμίσεις».
  3. Μεταβείτε στις «Σύνθετες ρυθμίσεις».
  4. Ανοίξτε την ενότητα Model Context Protocol.
  5. Κάντε κλικ στην επιλογή «Ρύθμιση συνδέσμου» και επιλέξτε «Αυτή η συσκευή».
Οθόνη ρύθμισης συνδέσμου MCP του TypingMind με επιλεγμένη την επιλογή «Αυτή η συσκευή»
2

Εκτελέστε την εντολή του συνδέσμου

Επιλέξτε «Αυτή η συσκευή», αντιγράψτε την εντολή από το TypingMind και εκτελέστε την στο Τερματικό. Διατηρήστε τη διεργασία σε λειτουργία όσο χρησιμοποιείτε το MCP.

  1. Αντιγράψτε την εντολή ρύθμισης που εμφανίζεται στο TypingMind.
  2. Ανοίξτε το Τερματικό στο macOS ή το Windows Terminal στα Windows.
  3. Επικολλήστε και εκτελέστε την εντολή.
  4. Εγκρίνετε την εγκατάσταση του πακέτου, αν το Τερματικό σάς ζητήσει επιβεβαίωση για να συνεχίσει.
  5. Διατηρήστε ανοιχτό το παράθυρο του Τερματικού και τη διεργασία σε λειτουργία όσο χρησιμοποιείτε εργαλεία MCP.
3

Προσθέστε το QuantConnect ως διακομιστή

Όταν η κατάσταση του συνδέσμου είναι «Έτοιμος», κάντε κλικ στο «Αλλαγή servers» και επικολλήστε τις ρυθμίσεις του διακομιστή MCP.

  1. Περιμένετε μέχρι η κατάσταση του συνδέσμου να εμφανιστεί ως «Έτοιμος».
  2. Κάντε κλικ στο «Αλλαγή servers».
  3. Επικολλήστε τις ρυθμίσεις του διακομιστή MCP QuantConnect.
  4. Αποθηκεύστε τη λίστα διακομιστών.
  5. Κάντε ανανέωση αν θέλετε να επιβεβαιώσετε ότι ο σύνδεσμος παραμένει έτοιμος για χρήση.
Ρυθμίσεις MCP του TypingMind με ενεργό διακομιστή και το κουμπί «Αλλαγή servers»
{
  "mcpServers": {
    "quantconnect-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "<mcp-server-package>"
      ]
    }
  }
}
4

Χρησιμοποιήστε τη σύνδεση με διαφορετικά μοντέλα

Αποθηκεύστε τη λίστα διακομιστών, ανοίξτε τα «Πρόσθετα», ενεργοποιήστε τα εργαλεία MCP του QuantConnect και έπειτα επιλέξτε οποιοδήποτε υποστηριζόμενο μοντέλο AI στο TypingMind. Χρησιμοποιήστε τα εργαλεία στη συνομιλία ή αναθέστε τα σε έναν πράκτορα AI.

  1. Ανοίξτε τη σελίδα «Πρόσθετα» στο TypingMind.
  2. Ενεργοποιήστε τα εργαλεία MCP του QuantConnect.
  3. Ξεκινήστε μια συνομιλία και επιλέξτε το μοντέλο AI που θέλετε να χρησιμοποιήσετε.
  4. Χρησιμοποιήστε τα εργαλεία MCP στη συνομιλία ή αντιστοιχίστε τα σε έναν πράκτορα AI.
  5. Μεταβείτε σε άλλο μοντέλο AI όποτε χρειάζεται, χωρίς να συνδέσετε ξανά το MCP.
Συνομιλία στο TypingMind με ενεργοποιημένα εργαλεία MCP και επιλεγμένο μοντέλο AI
Θα με βοηθήσετε σε αυτό μέσω QuantConnect;
QuantConnect
Βεβαίως. Το διάβασα.
Δείτε τι βρήκα μέσω του QuantConnect.

Συχνές ερωτήσεις

Σε τι χρησιμεύει ο διακομιστής MCP QuantConnect;

Το QuantConnect είναι ένας διακομιστής MCP που επιτρέπει σε συμβατές εφαρμογές AI να συνδέονται με εξωτερικά εργαλεία και πληροφορίες πλαισίου. Στο TypingMind, μπορείτε να προσθέσετε αυτόν τον διακομιστή MCP μία φορά και να κάνετε τα εργαλεία του διαθέσιμα στον χώρο εργασίας AI σας.

Μπορώ να χρησιμοποιήσω το QuantConnect MCP με πολλά μοντέλα AI στο TypingMind;

Ναι. Το TypingMind συνδέει τα εργαλεία MCP σε επίπεδο χώρου εργασίας, ώστε να μπορείτε να χρησιμοποιείτε το QuantConnect με διαφορετικά μοντέλα AI, όπως τα Claude, ChatGPT, Gemini ή άλλα μοντέλα που έχετε ρυθμίσει στο TypingMind, χωρίς να ρυθμίζετε τον διακομιστή MCP ξεχωριστά για κάθε μοντέλο.

Γιατί να χρησιμοποιήσετε τον σύνδεσμο MCP QuantConnect με το TypingMind;

Το TypingMind είναι ένα από τα καλύτερα περιβάλλοντα συνομιλίας με μεγάλα γλωσσικά μοντέλα, καθώς συγκεντρώνει πολλά μοντέλα AI, προτροπές, πρόσθετα, πράκτορες AI, κλειδιά API και εργαλεία MCP σε έναν χώρο εργασίας. Συνδέοντας το QuantConnect, μπορείτε να χρησιμοποιείτε τα εργαλεία MCP του με τα μοντέλα που προτιμάτε, διατηρώντας οργανωμένη τη ροή εργασίας των συνομιλιών σας στο TypingMind.

Πώς συνδέω το QuantConnect MCP στο TypingMind;

Το QuantConnect λειτουργεί μέσω του τοπικού συνδέσμου MCP του TypingMind. Αυτή είναι η καλύτερη επιλογή όταν ο διακομιστής MCP χρειάζεται πρόσβαση σε τοπικά αρχεία, εφαρμογές υπολογιστή, εργαλεία γραμμής εντολών ή ιδιωτικούς πόρους στον υπολογιστή σας.

Ποια εργαλεία παρέχει το QuantConnect MCP στο TypingMind;

Το QuantConnect διαθέτει δυνατότητες MCP που μπορείτε να ενεργοποιήσετε από τη σελίδα Πρόσθετα του TypingMind και να χρησιμοποιήσετε σε συνομιλίες ή να αναθέσετε σε πράκτορες AI.

Χρειάζεται να κοινοποιήσω τα κλειδιά API μου στο TypingMind για να χρησιμοποιήσω το QuantConnect MCP;

Όχι. Το TypingMind δίνει προτεραιότητα στην τοπική λειτουργία και σας επιτρέπει να διατηρείτε τον έλεγχο των παρόχων μοντέλων, των κλειδιών API, των προτροπών και των ρυθμίσεων MCP σας. Αν το QuantConnect απαιτεί έλεγχο ταυτότητας, προσθέστε τις απαιτούμενες κεφαλίδες, τις ρυθμίσεις OAuth ή τις τοπικές ρυθμίσεις για τον συγκεκριμένο διακομιστή MCP κατά τη δημιουργία της σύνδεσης.

Σχετικοί διακομιστές MCP

Προβολή όλων

Στήστε δικό σας χώρο εργασίας AI τώρα

Εγγραφείτε στο ενημερωτικό μας δελτίο για να ενημερώνεστε για νέες λειτουργίες και μελλοντικές κληρώσεις δώρων 👇