Quantly MCP

AI 어시스턴트에서 규칙 기반 트레이딩 전략을 구축하고 백테스트 및 자동화하세요. 전략을 만들고 편집하고, 60년 이상의 데이터를 사용해 백테스트를 실행하고, 커뮤니티 전략을 살펴보고, 모의 또는 실거래 포트폴리오를 관리할 수 있습니다.

호스팅형 MCP 서버

npx add-mcp 'https://api.quantly.trade/mcp'

Claude Code, Codex, Cursor 등에 설치됩니다

문서

The Model Context Protocol (MCP) lets AI assistants like Cursor create strategies, run backtests, and manage your portfolio in natural language. MCP is separate from the REST API - it uses OAuth, not API keys.

Endpoint

https://api.quantly.trade/mcp

OpenAPI spec: quantly-mcp.yaml

Connect an AI assistant

1

In your MCP client (for example Cursor), add the Quantly MCP server URL above.

2

When prompted, sign in to Quantly and Authorize the connection. OAuth opens in your browser - approve access for the client you are connecting.

3

Ask your assistant to create strategies, backtest, or manage your portfolio in plain language.

Most MCP clients discover OAuth settings automatically. If your client needs manual configuration, the authorization server metadata is at https://api.quantly.trade/.well-known/oauth-authorization-server.

What you can do

Through MCP, an authorized assistant can:

  • Create, update, copy, and delete strategies
  • Run backtests on saved or ad-hoc strategy definitions
  • Browse Explore strategies, Assets, and Track Record data
  • View portfolio, holdings, positions, and trade history
  • Execute portfolio actions (deposit, trade now, liquidate, skip today, and more) at your direction

MCP OAuth grants full trading API access to the connected client. It cannot change billing, delete your account, create API keys, or connect new broker accounts.

MCP vs REST API

MCPREST API
Best forAI assistants (Cursor, Claude Desktop, etc.)Scripts, automation, custom integrations
AuthOAuth (browser sign-in)API keys (qk_live_...)
SetupAdd MCP URL in your AI clientCreate a scoped key in Settings

For programmatic access from your own code, use the REST API with API keys instead.

Tips for good prompts

  • Name the tickers or theme you care about (for example “momentum on tech giants” or “defensive when SPY RSI is above 70”).
  • Say whether you want a single stock, equal-weight basket, or a tilt toward one name.
  • Mention indicators or conditions when you have them (RSI, moving averages, return thresholds).
  • Start broad, then refine the generated tree in the Tree Builder.

Alternatives

  • In-app AI - click Generate with AI on the Strategies page. See AI Generation.
  • Manual build - use the Tree Builder directly.

Next steps