Skip to main content
Glama
Solana Objective Market & Structure Gates

Solana Objective Market & Structure Gates

README.md
# Solana Objective Market & Structure Gates (MCP & REST)

Free, zero-auth, read-only **Streamable HTTP MCP (`2025-06-18`)** server and **REST JSON Telemetry API** for objective Solana SPL / Token-2022 structural risk checks, DEX liquidity and flow anomaly detection, and cross-exchange market timing context.

- **Human-Readable Docs**: https://fps-rebirth-act5-gates.fps-act5-lab.workers.dev/docs
- **Remote MCP Endpoint**: `https://fps-rebirth-act5-gates.fps-act5-lab.workers.dev/mcp`
- **MCP Discovery Metadata**: https://fps-rebirth-act5-gates.fps-act5-lab.workers.dev/.well-known/mcp.json
- **OpenAPI 3.1 Spec**: https://fps-rebirth-act5-gates.fps-act5-lab.workers.dev/openapi.json
- **llms.txt**: https://fps-rebirth-act5-gates.fps-act5-lab.workers.dev/llms.txt

> **Disclaimer (As-Is)**: As-Is objective market & on-chain structure telemetry only. Not investment, financial, or trading advice; contains no buy/sell recommendation.
>
> **Privacy (Zero PII)**: Zero PII collected. No personal names, emails, or raw IP addresses are stored.

---

## Quick Start (Remote MCP Client Config)

Connect directly to the hosted stateless Streamable HTTP endpoint (no local install, no API key required):

```json
{
  "mcpServers": {
    "solana-objective-gates": {
      "url": "https://fps-rebirth-act5-gates.fps-act5-lab.workers.dev/mcp"
    }
  }
}
```

### Quick `curl` Handshake Check

```bash
curl -sS -X POST https://fps-rebirth-act5-gates.fps-act5-lab.workers.dev/mcp \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2025-06-18","capabilities":{},"clientInfo":{"name":"curl","version":"1.0"}}}'
```

---

## Available MCP Tools (5 Read-Only Gates)

All tools return structured JSON (`structuredContent` + `outputSchema`) with `readOnlyHint: true`.

| Tool Name | Objective Gate Description |
| :--- | :--- |
| `normalize_token_snapshot` | **Gate 1**: Normalize Solana DEX + RugCheck feeds into unified SOL-denominated metrics and strict liquidity status (`REPORTED` / `BONDING_CURVE_UNREPORTED` / `COLLAPSED` / `UPSTREAM_UNAVAILABLE`). |
| `check_token_structure` | **Gate 2**: Inspect Solana SPL / Token-2022 structural flags, authority risk, LP lock %, Top10 concentration, Sybil dispersion, and liquidity collapse. |
| `detect_flow_anomaly` | **Gate 3**: Compute objective 5m / 1h order flow ratios, panic selling flags, average trade size (`$30` micro-bot threshold), and 24h turnover-to-liquidity ratio. |
| `evaluate_market_timing` | **Gate 4**: Report JST liquidity drought window, optional Solana pool age stage, Fear & Greed index, global spot prices, and bitbank JPY parity basis (bps). |
| `get_composite_gate_report` | **Gate 5**: Execute all 4 objective gates in one consolidated structured report for AI agents and research pipelines. |

---

## Live REST Endpoints (Click to Test)

Example token (`BONK`: `DezXAZ8z7PnrnRJjz3wXBoRgixCa6xjnB7YaB1pPB263`):

- `GET` https://fps-rebirth-act5-gates.fps-act5-lab.workers.dev/v1/gates/composite/DezXAZ8z7PnrnRJjz3wXBoRgixCa6xjnB7YaB1pPB263
- `GET` https://fps-rebirth-act5-gates.fps-act5-lab.workers.dev/v1/gates/normalize/DezXAZ8z7PnrnRJjz3wXBoRgixCa6xjnB7YaB1pPB263
- `GET` https://fps-rebirth-act5-gates.fps-act5-lab.workers.dev/v1/gates/structure/DezXAZ8z7PnrnRJjz3wXBoRgixCa6xjnB7YaB1pPB263
- `GET` https://fps-rebirth-act5-gates.fps-act5-lab.workers.dev/v1/gates/flow/DezXAZ8z7PnrnRJjz3wXBoRgixCa6xjnB7YaB1pPB263
- `GET` https://fps-rebirth-act5-gates.fps-act5-lab.workers.dev/v1/gates/timing
- `GET` https://fps-rebirth-act5-gates.fps-act5-lab.workers.dev/terms
- `GET` https://fps-rebirth-act5-gates.fps-act5-lab.workers.dev/health

---

## 概要(日本語)

Solana トークン(SPL / Token-2022)の構造リスク、DEX 流動性・約定フロー異常、および国内外市場タイミング(JST 流動性枯渇時間帯・Fear & Greed・JPY乖離)を、認証不要・完全無料で返す読み取り専用リモート MCP サーバー & REST API です。

- 本サービスは現状有姿(As-Is)の客観的テレメトリ計算のみを提供し、売買推奨・投資助言は一切行いません。
- 氏名・メールアドレス・生IPアドレス等の個人情報は一切保存しません。