Skip to main content
Glama
Glot MCP

Glot MCP

Official
by tradeglot

Glot MCP

Lets AI assistants (Claude, Cursor, Copilot and other MCP clients) use the real Glot tools: check code, propose edits, convert Pine Script, and run honest backtests. Skills in glot-skills show the AI how; this server does the real thing.

Status: in development. Glot is not released yet. The local server ships inside the glot command line tool (glot mcp), which is not publicly available yet; a hosted server is planned.

What the AI can do

Tool

Does

compile_check

Check Glot source and return diagnostics with GLT- codes

apply_edit

Apply exact-text edits and return the checked result for the person to review; nothing is saved

convert_code

Convert Pine Script v5/v6 to Glot, with a conversion report

start_backtest, get_backtest

Backtest a strategy on CSV bars; costs must be stated; the report always holds in-sample and out-of-sample results

Details, planned tools and handles: docs/tools.md. Machine-readable list: schema/tools.json.

The boundary: no tool can place, change, confirm or cancel an order, deploy a strategy or touch a broker account. AI never places a real-money order, and a language model is never in the real-time decision loop.

Related MCP server: TradingView MCP Jackson

Connect a client

claude mcp add glot-mcp -- glot mcp

Other clients and the launcher: docs/clients.md.

What is in this repository

Path

Content

docs/

Tools, handles, the trading boundary, client setup

schema/tools.json

The tools the local server serves (names, descriptions, input schemas)

packages/launcher

@tradeglot/glot-mcp: finds glot and starts the server; --check lists tools and refuses a server with a trading tool

The server itself is part of the Glot tools; this repository holds the open interface, documentation and launcher.

Develop

pnpm install
just check

License: Apache 2.0. Contributions need a signed CLA; see CONTRIBUTING.md. Names and logos: TRADEMARKS.md.

Backtests describe the past and do not predict future results. Trading involves risk of loss.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      D
      maintenance
      Enables AI assistants to backtest trading strategies described in plain English, providing access to market data, technical indicators, and comprehensive performance reports.
      13
      1
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables AI agents to run a full quant research workflow over MCP: pulling data, authoring and backtesting strategies, running statistical validation and risk checks, and recording findings for future sessions.
      1
      MIT