暂无描述

Lukas Goldschmidt 7c1f52c4eb Add v0.0.1 release notes 1 月之前
cache eee45cf911 Initial MCP HTTP server cleanup 1 月之前
indicators fb42000f64 Improve crypto MCP: indicators, capabilities, regime, snapshot docs 1 月之前
providers eee45cf911 Initial MCP HTTP server cleanup 1 月之前
services 3a0db7d283 Add reversal score to get_regime 1 月之前
.dockerignore 4ee195f730 Add Docker Compose support 1 月之前
.gitignore eee45cf911 Initial MCP HTTP server cleanup 1 月之前
Dockerfile 4ee195f730 Add Docker Compose support 1 月之前
PROJECT.md 5db5b8786e Update docs for FastMCP transport 1 月之前
README.md 3a0db7d283 Add reversal score to get_regime 1 月之前
RELEASE_NOTES.md 7c1f52c4eb Add v0.0.1 release notes 1 月之前
config.py eee45cf911 Initial MCP HTTP server cleanup 1 月之前
docker-compose.yml 4ee195f730 Add Docker Compose support 1 月之前
errors.py eee45cf911 Initial MCP HTTP server cleanup 1 月之前
killserver.sh eee45cf911 Initial MCP HTTP server cleanup 1 月之前
main.py eee45cf911 Initial MCP HTTP server cleanup 1 月之前
mcp_tools.py fb42000f64 Improve crypto MCP: indicators, capabilities, regime, snapshot docs 1 月之前
requirements.txt eee45cf911 Initial MCP HTTP server cleanup 1 月之前
restart.sh eee45cf911 Initial MCP HTTP server cleanup 1 月之前
run.sh 5db5b8786e Update docs for FastMCP transport 1 月之前
server.py 3a0db7d283 Add reversal score to get_regime 1 月之前
server_fastmcp.py fb42000f64 Improve crypto MCP: indicators, capabilities, regime, snapshot docs 1 月之前
tests.py fb42000f64 Improve crypto MCP: indicators, capabilities, regime, snapshot docs 1 月之前
tests.sh eee45cf911 Initial MCP HTTP server cleanup 1 月之前

README.md

Crypto MCP Server

FastMCP-based crypto tools server.

Transport (compliance-first)

  • MCP SSE transport mounted at /mcp
  • SSE stream endpoint: /mcp/sse
  • message endpoint handled by FastMCP under /mcp/messages/
  • no legacy /rpc compatibility path

Runtime

pip install -r requirements.txt
./run.sh

Default URL base: http://127.0.0.1:8505

Docker / Compose

Build and start the server with Compose from the project directory:

docker compose up -d --build

The container listens on port 8505 and exposes the MCP SSE transport at:

  • http://127.0.0.1:8505/mcp/sse
  • http://127.0.0.1:8505/health

To stop it:

docker compose down

Tools

  • get_price
  • get_ohlcv
  • get_indicator (supports: rsi, ema, sma, macd, atr, bollinger, vwap — each with optional params)
  • get_market_snapshot
  • get_top_movers
  • get_capabilities
  • get_regime

get_regime returns a composite view (trend EMA/SMA regime, RSI + MACD momentum, ATR-based volatility, Bollinger bands, VWAP) plus a heuristic early reversal score (bullish/bearish/none with 0–100 score and trigger notes) for a given symbol/timeframe.

Health

  • GET /
  • GET /health

Tests

./tests.sh