Skip to main content
Glama
none298-dotcom

MyLinedChart Chart Context MCP Server

README.md
# @mylinedchart/mcp-chart-context

Read-only MCP server giving AI agents read-only access to your live [MyLinedChart](https://mylinedchart.com) desktop chart and workspace context. Requires the MyLinedChart desktop app. Full docs: [mylinedchart.com/mcp](https://mylinedchart.com/mcp)

## Tools

| Tool | Purpose |
|------|---------|
| `get_chart_context` | Returns the current MyLinedChart chart and workspace summary: symbol, timeframe, range, provider, connection state, feed type, candle/drawing/indicator counts, diagnostics ID, and data freshness. Read-only. |
| `get_candles` | Returns the most-recent OHLCV candle bars for the current chart. Fields: timestamp (epoch ms), open, high, low, close, volume. Read-only. |
| `get_drawings` | Returns all drawings and price levels for the current chart symbol: trend lines, horizontal levels, note labels, and other overlays. Read-only. |
| `get_indicators` | Returns the configured indicators for the current chart: name, calculation parameters, placement (main/lower), and visibility. Does NOT include series data. Read-only. |
| `get_provider_status` | Returns IBKR connector and market-data provider status: connection state, MarketDataStatus code, feed type (delayed/live), diagnostics ID, and last-updated. Never exposes account IDs, credentials, or bridge URLs. Read-only. |

## Privacy & safety

- **Read-only.** No mutations, no order entry, no trading.
- **Local.** The server runs on your machine alongside the desktop app. Nothing leaves your machine.
- **Redacted.** Account IDs, credentials, bridge URLs, and session tokens are stripped before any context is returned.

## Install

```bash
npm install -g @mylinedchart/mcp-chart-context
```

Node 18 or later required.

## Usage

Add to your AI agent's MCP config (`claude_desktop_config.json` or `~/.claude/settings.json`):

```json
{
  "mcpServers": {
    "mylinedchart": {
      "command": "mlc-mcp"
    }
  }
}
```

Then:

1. Download and open the MyLinedChart desktop app ([mylinedchart.com/resources/downloads](https://mylinedchart.com/resources/downloads)).
2. Enable the MCP server in-app (Settings → MCP).
3. Load a chart. Your AI agent can now call the five read-only tools above.

### Override the context file path

```bash
MLC_CONTEXT_FILE=/custom/path/agent-context.json mlc-mcp
```

## Links

- Product: [mylinedchart.com](https://mylinedchart.com)
- MCP docs: [mylinedchart.com/mcp](https://mylinedchart.com/mcp)
- Downloads: [mylinedchart.com/resources/downloads](https://mylinedchart.com/resources/downloads)

TDQS

A4.4/5.0

Scored across 5 tools

Disambiguation5/5

Each tool targets a distinct aspect of chart data (candles, context, drawings, indicators, provider status) with no overlap, making it easy for an agent to select the correct tool.

Naming Consistency5/5

All tools follow a consistent 'get_<noun>' pattern, using snake_case and clear noun phrases that match their function. No deviations.

Tool Count5/5

5 tools is well-scoped for a read-only chart context server. Each tool serves a clear purpose without excess or redundancy.

Completeness5/5

The set covers all major read-only aspects of chart context: price data (candles), overall context, drawings, indicators, and provider status. No obvious gaps for its intended purpose.

Maintenance

ActivityStale
ResponsivenessNo issues