Skip to main content
Glama
i-dream-of-ai

QuantConnect MCP Server

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
AGENT_NAMENoName of the environment that's creating the request. If you simultaneously run multiple agents, set a unique value for each agent to keep record of the request source.MCP Server
QUANTCONNECT_USER_IDYesYour QuantConnect user ID
QUANTCONNECT_API_TOKENYesYour QuantConnect API token

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
read_accountA

Read the organization account status.

create_projectB

Create a new project in your default organization.

read_projectB

List the details of a project.

list_projectsA

List the details of all projects.

update_projectB

Update a project's name or description.

delete_projectC

Delete a project.

create_project_collaboratorB

Add a collaborator to a project.

read_project_collaboratorsB

List all collaborators on a project.

update_project_collaboratorC

Update collaborator information in a project.

delete_project_collaboratorB

Remove a collaborator from a project.

lock_project_with_collaboratorsB

Lock a project that has collaborators so you can edit it.

read_project_nodesB

Read the available and selected nodes of a project.

update_project_nodesA

Update the active state of the given nodes to true.

    If you don't provide any nodes, all the nodes become inactive 
    and autoSelectNode is true.
    
create_compileB

Asynchronously create a compile job request for a project.

read_compileB

Read a compile packet job result.

create_fileB

Add a file to a given project.

read_fileA

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

update_file_nameB

Update the name of a file.

update_file_contentsB

Update the contents of a file.

delete_fileC

Delete a file in a project.

create_backtestB

Create a new backtest request and get the backtest Id.

read_backtestB

Read the results of a backtest.

list_backtestsB

List all the backtests for the project.

read_backtest_chartC

Read a chart from a backtest.

read_backtest_ordersC

Read out the orders of a backtest.

read_backtest_insightsC

Read out the insights of a backtest.

update_backtestB

Update the name or note of a backtest.

delete_backtestB

Delete a backtest from a project.

estimate_optimization_timeC

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

create_optimizationC

Create an optimization with the specified parameters.

read_optimizationC

Read an optimization.

list_optimizationsB

List all the optimizations for a project.

update_optimizationB

Update the name of an optimization.

abort_optimizationC

Abort an optimization.

delete_optimizationC

Delete an optimization.

authorize_connectionA

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

This tool automatically opens your browser for you to complete the authentication flow. For the flow to work, you must be logged into your QuantConnect account on the browser that opens.

create_live_algorithmD

Create a live algorithm.

read_live_algorithmB

Read details of a live algorithm.

list_live_algorithmsB

List all your past and current live trading deployments.

read_live_chartC

Read a chart from a live algorithm.

read_live_logsC

Get the logs of a live algorithm.

The snapshot updates about every 5 minutes.

read_live_portfolioB

Read out the portfolio state of a live algorithm.

The snapshot updates about every 10 minutes.

read_live_ordersC

Read out the orders of a live algorithm.

The snapshot updates about every 10 minutes.

read_live_insightsB

Read out the insights of a live algorithm.

The snapshot updates about every 10 minutes.

stop_live_algorithmB

Stop a live algorithm.

liquidate_live_algorithmB

Liquidate and stop a live algorithm.

create_live_commandC

Send a command to a live trading algorithm.

broadcast_live_commandC

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

upload_objectB

Upload files to the Object Store.

read_object_propertiesA

Get Object Store properties of a specific organization and key.

It doesn't work if the key is a directory in the Object Store.

read_object_store_file_job_idB

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

read_object_store_file_download_urlB

Get the URL for downloading files from the Object Store.

list_object_store_filesB

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

delete_objectB

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

read_lean_versionsA

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

check_initialization_errorsB

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

complete_codeC

Show the code completion for a specific text input.

enhance_error_messageB

Show additional context and suggestions for error messages.

update_code_to_pep8B

Update Python code to follow PEP8 style.

check_syntaxC

Check the syntax of a code.

search_quantconnectC

Search for content in QuantConnect.

read_mcp_server_versionA

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

read_latest_mcp_server_versionA

Returns the latest version of the QC MCP Server released.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/i-dream-of-ai/quantconnect-mcp-jwt'

If you have feedback or need assistance with the MCP directory API, please join our Discord server