Aries
An MCP server that equips AI assistants with curated knowledge and live chain data for the Alkanes metaprotocol and Subfrost network, enabling them to read docs, query the chain, and scaffold contracts.
README
<div align="center">
<p align="center"> <picture> <source media="(prefers-color-scheme: dark)" srcset="assets/aries-wordmark.png" /> <img alt="Aries" src="assets/aries-wordmark-ink.png" width="300" /> </picture> </p>
<p align="center"> <img src="assets/aries-logo-tagline.png" alt="Aries — Alkanes + Subfrost" width="270" /> </p>
Make any AI assistant fluent in building on Alkanes + Subfrost
Use the hosted Aries API · bragi.build/aries
</div>
Aries is a Model Context Protocol server that gives any MCP-capable assistant — Claude Code, Claude Desktop, Cursor — a knowledge and live-chain-data layer for the Alkanes metaprotocol and the Subfrost network. Point your assistant at Aries and it can read the protocol docs, query the live chain, and scaffold contracts without leaving the editor.
There are two ways to use it: the hosted API (recommended) and a bring-your-own-key local install.
The hosted API — the living Aries
Subscribe to hosted Aries · bragi.build/aries
The hosted edition is live now and it is the way to get the full Aries. It is a continuously-learning instance: on top of the baseline docs it carries an ever-growing corpus of real-world lessons — reviewed incident knowledge contributed by every connected agent — that a fresh local clone does not have. Connect one URL and your assistant inherits the whole shared brain, which gets smarter every day.
| Living corpus | Accumulated, reviewed real-world gotchas and fixes — not just static docs. |
| Zero setup | No clone, no build, no key to provision. Connect and go. |
| Tiered, managed access | From a free tier up to production throughput, with rate limits handled for you. |
| Always current | The corpus and tools update server-side. |
Prefer to run everything yourself? The open, bring-your-own-key edition in this repo is below.
Hosted vs. local
Both editions ship the same 21 tools and the same 75-doc baseline. The difference is the living corpus — and who manages the keys.
| Hosted · bragi.build/aries | Local · this repo | |
|---|---|---|
| All 21 tools | Yes | Yes |
| 75-doc baseline knowledge | Yes | Yes |
| Live Subfrost chain data | Yes — managed | Yes — your own key |
| Living corpus of real-world lessons | Yes — ever-growing | No |
| Accumulated incident learning | Yes | No (local store only) |
| Setup | Connect a URL | Clone, install, build |
| Subfrost key | Managed for you | You provide |
| Access | Free to production tiers | Unlimited, local |
Local gives you a complete, self-contained companion on the static baseline. Hosted adds the continuously-learning brain on top. Start local if you like; move to hosted when you want the living corpus.
Run it locally (bring your own key)
Clone this repo and run Aries on your own machine with your own Subfrost API key. You get the full toolset and the complete 75-doc static baseline knowledge — without the hosted instance's accumulated learning.
Get a Subfrost API key
Aries talks to the Subfrost gateway with your key.
Sign up for a Subfrost API key — sign up with our Subfrost referral link and get 50% off your first month.
Quickstart
Requirements: Node.js >= 20 and a Subfrost API key (sign up with our referral link for 50% off your first month).
git clone https://github.com/bitbragi/alkanes-aries.git
cd alkanes-aries
npm install
cp .env.example .env # then set SUBFROST_API_KEY (see below)
npm run build
Set your key in .env:
SUBFROST_API_KEY=your-key-here
# optional override:
# SUBFROST_RPC=https://mainnet.subfrost.io/v4/jsonrpc
The key is sent as the x-subfrost-api-key header (never in a URL) and never
leaves your machine except as that outbound header. .env is gitignored.
Connect your MCP client
Claude Code
claude mcp add --scope local --transport stdio aries \
-e SUBFROST_API_KEY=YOUR_KEY \
-- node /absolute/path/to/alkanes-aries/dist/index.js
Verify with claude mcp list, then /mcp in a session. (-- separates Claude's
flags from the launch command; keep -e KEY=value right before -- — it is
variadic and will otherwise swallow the server name.)
Cursor / Claude Desktop — any client that takes a JSON server config:
{
"mcpServers": {
"aries": {
"command": "node",
"args": ["/absolute/path/to/alkanes-aries/dist/index.js"],
"env": { "SUBFROST_API_KEY": "your-key-here" }
}
}
}
Your assistant now has all 21 Aries tools.
What's inside — 21 tools, four layers
| Layer | Tools |
|---|---|
| Knowledge — a searchable corpus of 75 curated docs: the Alkanes metaprotocol, the Subfrost JSON-RPC/REST reference, alkanes-rs, tutorials, oracle docs, reference contracts | aries_search, aries_doc, aries_full_doc, aries_catalog, aries_tutorials |
| Chain data — live, read-only queries against the Subfrost gateway: holdings, contract metadata, bytecode, simulate, frBTC peg + DIESEL status, oracle reads, AMM pools, guarded RPC | aries_tokens_by_address, aries_token, aries_contract_meta, aries_bytecode, aries_simulate, aries_frbtc_status, aries_diesel_status, aries_oracle_read, aries_oracle_price, aries_pools, aries_pool_info, aries_rpc |
Dev — protocol constants and contract scaffolds, including orbital NFTs |
aries_constants, aries_scaffold |
| Learning — a local incident loop that records gotchas to your own machine as you work | aries_incident_report, aries_incident_query |
Ask your assistant things like
"Is the frBTC peg live, who's the signer, and how much frBTC exists?"
"What Alkanes tokens does
bc1p…hold?""Show the AMM pools and a pool's reserves."
"How do I build a token / oracle / stablecoin / AMM / Orbital?"
"Scaffold an Orbital NFT contract."
Safety — read-only by design
Aries is analytics only. It never signs, broadcasts, or touches wallets or keys:
- The
aries_rpcpassthrough is allowlisted to read methods and explicitly blocks broadcast / spend / admin calls. - Scaffolds and constants are emitted for you to run in your own
alkanesCLI, where you hold the keys. - The local incident loop writes only to your machine and sanitizes secrets, keys, and paths out of any report.
Your keys stay yours. Aries only reads and advises.
Configuration
| Variable | Purpose |
|---|---|
SUBFROST_API_KEY |
Required — auth for the live chain-data tools. |
SUBFROST_RPC / SUBFROST_REST |
Optional gateway overrides (default to mainnet JSON-RPC / REST). |
ARIES_INCIDENTS_PATH |
Optional path for your local incident store (default data/incidents.jsonl, gitignored). |
Logs go to stderr only — stdout is the MCP protocol channel. The doc index
is built from corpus/ at startup.
Good to know
- Alkane ids are
{block, tx}/block:tx. frBTC =32:0, DIESEL (genesis) =2:0. Protocol tag is always1. - Read contract state with
aries_simulate: the opcode goes ininputs(e.g.[103]), notdata. - Orbitals (Alkanes NFTs) are a
Tokenwith total supply 1 + opcode1000for media; read them witharies_oracle_read, scaffold one witharies_scaffold orbital. - Extend the corpus by editing
corpus/or adding URLs toscripts/ingest.ts(HTML cleaned via turndown + jsdom; raw.md/.rstaken verbatim).
Links
| Hosted, continuously-learning Aries | bragi.build/aries |
| Subfrost API keys (50% off first month) | api.subfrost.io |
| Model Context Protocol | modelcontextprotocol.io |
License
MIT
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。