Stellar Ravencodemode

Stellar Raven documentation

How Raven works, how to connect, and how to fix problems

What Raven is

Stellar Raven is a remote Model Context Protocol (MCP) server that gives AI agents Stellar documentation and ecosystem context through one connection.

Raven exposes exactly two tools over a single catalog of 60 operations, 19 skills, and 173 sections. One browser sign-in covers everything; you never handle API keys for the underlying services.

Connect your agent

Add https://raven.stellar.org/mcp to any MCP client that supports streamable HTTP and OAuth — Claude Desktop, Claude Code, Cursor, Codex, VS Code, and others.

The two tools

search ranks exposed operations and whole skills against your question. Operation hits carry a ready-to-call TypeScript signature, and runnable-skill hits can carry one too. Skill hits list their availableSections instead — individual skill sections are not searchable, so your agent reads them by exact section id. execute takes that shortlist and runs one JavaScript script inside a sandboxed isolate with no network access. Service operations run through host-side adapters that hold the upstream credentials and enforce policy. The eight allowed codemode helpers (codemode.spec, codemode.search, codemode.catalog, codemode.describe, codemode.skill.read, codemode.skill.run, codemode.artifact.info, and codemode.artifact.read) are functions on one host provider, inside the same sandbox boundary. This is the working loop:

1 · search ranks the catalog
search({ query: "soroswap liquidity", limit: 3 })
→ ranked hits with TypeScript signatures:
  scout.searchProjects · scout.searchResearch · stellarDocs.search_protocol_concepts_docs
2 · execute composes them in one script
const found = await scout.searchProjects({ q: "soroswap" });
if (!found.ok) return found.error;   // check r.ok first
if (found.data.projects.length === 0)    // ok:true can still be empty
  return { note: "no matches" };
const top = found.data.projects[0];       // payloads live under .data
return await scout.searchResearch({ q: `${top.name} liquidity` });  // composition
Every service call resolves to { ok: true, data } or { ok: false, error }. It never throws across the tool boundary.

The four source families

Each family answers different questions, and Raven's guidance tells your agent which to trust:

Ecosystem facts start with Lumenloop or Scout. Protocol and standards claims stay unverified until official docs confirm them.

Troubleshooting

Get help

Ask in #raven in the Stellar Developers Discord. That channel is the support channel for Raven. Use it for connection problems, catalog questions, and failures this page does not resolve.

Report a security vulnerability privately instead: use GitHub private vulnerability reporting on stellar-experimental/stellar-raven, or email frontier@stellar.org. Do not post a vulnerability in Discord.