평균이 아닌,
결정론적 시장 상태
Deterministic market state,
not averages.
에이전트가 그대로 읽는 인터페이스. 어떤 모델도 밸류에이션 못 하는 자산의 현재 상태를 — 결정론적으로 라벨하고, 매일 공개로 채점합니다. An interface your agent can read — the current state of assets no model can value, labeled deterministically and scored in public every day.
curl -s https://api.decker-ai.com/api/v1/public/demo | jq .
MCP는 Claude·Cursor 쓰는 사람용이에요. 그냥 빠르게 써보려면 → 텔레그램 · 웹앱 MCP is for Claude / Cursor users. Just want to try it fast? → Telegram · Web app
8 도구 — 무엇을 반환하나8 tools — what each returns
모두 결정론 — 엔진이 영속시킨 값을 재계산 없이 직독. 실시간 LLM 호출 0(당신 에이전트가 LLM). 모든 응답은 상태 읽기이지 매매 지시가 아닙니다.All deterministic — persisted engine values read as-is, zero recompute. No on-demand LLM call (your agent is the LLM). Every response is a state reading, not a trade instruction.
get_view(symbol)get_market_state(symbol, tf)get_reading(symbol, tf)get_signals(symbols, gate, …)validate_intent(symbol, side)get_state_timeline(symbol, tf, since)get_user_skills()set_skill_overlay(skill_id)decker://rules(공개 룰북 원문) · decker://track-record(일일 자기채점 장부) — 에이전트가 "왜 HOLD인가"를 설명할 때 정본을 직접 인용할 수 있어요.Two MCP resources are also served: decker://rules (the public rulebook) and decker://track-record (the daily self-scoring ledger) — so your agent can quote the canonical source when explaining "why HOLD".payload enum 사전payload enum reference
에이전트가 그대로 읽는 값의 의미. 이 사전이 있어야 에이전트가 추론으로 때우지 않습니다.What the values your agent reads mean — so the agent doesn't have to guess.
c_state 구조 상태structural stateA_FORMING직전 움직임이 진짜였는지 확인 중confirming the prior move was realB_FORMING자리를 시험하는 구간testing whether the level holdsB_OBSERVING시험 자리를 관찰하는 구간observing the tested levelB_SET자리 확정 — 다음 시도 대기level confirmed — awaiting next attemptC_SET새 시도가 진행 중a new attempt in progressBREAK_PLUS / _MINUS기준선 위 돌파 / 아래 이탈broke above / below the baselineaction_gate 자세 (명령 아님)posture, not an orderGO움직임 신호가 켜진 자세movement signal is onWATCH주시 자세watchingHOLD지켜보는 자세holdingverdict 사후 자기채점 (리시트)self-scored after the facthit뷰대로 전개됨the view played outmiss목표 미달 / 반대로 감missed target / went againstinvalidated무효선 터치 = 시나리오 종료invalidation touched = scenario over한 인터페이스, 세 시장One interface, three markets
모든 심볼이 같은 스키마로 나옵니다 — get_market_state("005930.KRX","1d") 든 get_market_state("BTCUSDT","4h") 든. 신선도는 시장마다 다르며, 응답에 정직하게 실립니다.Every symbol returns the same schema — get_market_state("005930.KRX","1d") or get_market_state("BTCUSDT","4h"). Freshness differs per market and is reported honestly in every response.
6종 · 30m–1d 봉 · 장중 갱신.6 assets · 30m–1d bars · updated intraday.
symbol:
BTCUSDTHL 합성 8종 · 같은 판독 스키마.8 synthetics · same reading schema.
symbol:
XYZ_GOLDUSD, XYZ_KR200USDKOSPI + KOSDAQ · 약 2,770 종목 · 종가 판정. 포트폴리오 자세 ADD / HOLD / REDUCE / EXIT.KOSPI + KOSDAQ · ~2,770 tickers · close-of-day. Portfolio posture ADD / HOLD / REDUCE / EXIT.
symbol:
005930.KRX (삼성전자)(Samsung)get_market_state·get_signals가 세 시장을 같은 스키마로 반환해요.Crypto, commodities and indices update on intraday bars; Korean equities settle once daily at the close. MCP get_market_state and get_signals return all three with the same schema.붙이기 전에, 받게 될 걸 먼저 보세요See what you'll get, before you set anything up
curl 한 줄 → MCP 한 줄 → 에이전트가 좌표와 리시트로 답합니다.one curl → one MCP line → the agent answers with coordinates and receipts.
MCP로 붙이기Connect over MCP
쓰는 앱을 고르세요. 앱마다 붙이는 방식이 조금 달라요 — 탭을 고르면 딱 맞는 설정이 나옵니다.Pick your app. Each one connects a little differently — choose a tab and you get the exact config for it.
무료 API 키 발급Get a free API key
decker-ai.com → Settings → API Keys. 텔레그램이면 @deckerclawbot에 /apikey. At decker-ai.com → Settings → API Keys. On Telegram, send /apikey to @deckerclawbot.
curl https://api.decker-ai.com/api/v1/mcp/health → 도구 8개가 보이면 OK.Before touching config, check the server is up (no key needed): curl https://api.decker-ai.com/api/v1/mcp/health → you should see 8 tools.설정에 붙여넣기Paste the config
Claude Desktop → Settings → Developer → Edit Config 버튼을 누르면 설정 파일이 열립니다. 아래를 붙여넣으세요. (Claude Desktop은 원격 MCP를 mcp-remote 브리지로 붙여요 — Node/npx 필요.)Claude Desktop → Settings → Developer → Edit Config opens the file. Paste the block below. (Claude Desktop reaches remote MCP through the mcp-remote bridge — Node/npx required.)
{
"mcpServers": {
"decker": {
"command": "npx",
"args": ["-y", "mcp-remote",
"https://api.decker-ai.com/api/v1/mcp",
"--header", "X-API-Key:${DECKER_API_KEY}"],
"env": { "DECKER_API_KEY": "dk_live_YOUR_KEY" }
}
}
}
Cursor → Settings → MCP → Add new, 또는 ~/.cursor/mcp.json을 직접 열어 붙여넣으세요. Cursor는 원격 MCP 서버(Streamable HTTP)를 직접 지원해서 브리지가 필요 없어요.Cursor → Settings → MCP → Add new, or open ~/.cursor/mcp.json directly. Cursor supports remote MCP servers (Streamable HTTP) natively — no bridge needed.
{
"mcpServers": {
"decker": {
"url": "https://api.decker-ai.com/api/v1/mcp",
"headers": { "X-API-Key": "dk_live_YOUR_KEY" }
}
}
}
Codex CLI는 ~/.codex/config.toml에 MCP 서버를 등록합니다 (TOML · Node/npx 필요). 버전이 다르면 DEVELOPER_README를 참고하세요.Codex CLI registers MCP servers in ~/.codex/config.toml (TOML · Node/npx required). If your version differs, see the DEVELOPER_README.
[mcp_servers.decker]
command = "npx"
args = ["-y", "mcp-remote",
"https://api.decker-ai.com/api/v1/mcp",
"--header", "X-API-Key:${DECKER_API_KEY}"]
env = { DECKER_API_KEY = "dk_live_YOUR_KEY" }
앱 재시작 후 물어보기Restart, then ask
앱을 완전히 종료했다 다시 켜야 MCP가 로드됩니다. 그다음 아래처럼 물어보세요.You must fully quit and reopen the app for the MCP to load. Then ask something like below.
decker가 뜨고, 답변에 좌표(기준·목표·무효선)와 최근 판정이 나오면 성공.How to know it worked: decker shows in the tool list, and the reply comes back with coordinates (ref / target / invalidation) and recent verdicts.
이렇게 물어보세요Try asking
빈 채팅 앞에서 뭘 물을지 모르겠다면, 이 중 하나를 그대로 붙여넣으세요.Not sure what to ask a blank chat? Paste one of these as-is.
막힐 때Troubleshooting
◆ 도구가 안 보여요The tool doesn't appear
앱을 완전히 종료했다 다시 켰나요? MCP는 재시작 후에만 로드됩니다 (Claude Desktop은 Cmd+Q). mcp-remote를 쓰는 앱은 Node/npx가 깔려 있어야 해요.Did you fully quit and reopen? MCP loads only after a restart (Cmd+Q on Claude Desktop). Clients using mcp-remote need Node/npx installed.
◆ 키 오류가 나요Key / auth error
X-API-Key에 dk_live_ 키를 넣었는지 확인하세요. 서버·도구는 키 없이도 확인돼요: curl .../api/v1/mcp/health. 키는 decker-ai.com → Settings → API Keys.Check that X-API-Key holds your dk_live_ key. Server + tools are checkable without a key: curl .../api/v1/mcp/health. Get a key at decker-ai.com → Settings → API Keys.
◆ 설정 파일이 어디죠?Where's the config file?
Claude Desktop은 Settings → Developer → Edit Config가 열어줍니다. Cursor는 ~/.cursor/mcp.json, Codex는 ~/.codex/config.toml.Claude Desktop opens it via Settings → Developer → Edit Config. Cursor uses ~/.cursor/mcp.json, Codex ~/.codex/config.toml.
◆ 터미널이 없어요No terminal
맨 위 curl 대신 이 링크를 그냥 브라우저에서 열면 결과가 보입니다: api.decker-ai.com/…/public/demoSkip the curl — just open this link in a browser to see the output: api.decker-ai.com/…/public/demo