Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions nginx/includes/agent-discovery-headers.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Shared response headers for the agent-discovery documents under
# /.well-known (MCP Server Card, AI Catalog). CORS set and caching follow
# the SEP-2127 discovery doc:
# https://github.com/modelcontextprotocol/ext-server-card/blob/main/docs/discovery.md
# The documents are public, read-only metadata, so wide-open CORS is safe.
add_header 'Access-Control-Allow-Origin' '*' always;
add_header 'Access-Control-Allow-Methods' 'GET' always;
add_header 'Access-Control-Allow-Headers' 'Content-Type, If-None-Match' always;
add_header 'Access-Control-Expose-Headers' 'ETag' always;
add_header 'Cache-Control' 'public, max-age=3600' always;
# Browser preflight. The static handler would answer OPTIONS with 405.
if ($request_method = OPTIONS) {
return 204;
}
10 changes: 10 additions & 0 deletions nginx/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -45,5 +45,15 @@ http {
location = /.well-known/api-catalog {
types { } default_type application/linkset+json;
}
# AI Catalog (SEP-2127 discovery, ARD)
location = /.well-known/ai-catalog.json {
types { } default_type application/ai-catalog+json;
include includes/agent-discovery-headers.conf;
}
# MCP Server Card (SEP-2127)
location = /.well-known/mcp/server-card.json {
types { } default_type application/mcp-server-card+json;
include includes/agent-discovery-headers.conf;
}
}
}
41 changes: 41 additions & 0 deletions static/.well-known/ai-catalog.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
{
"specVersion": "1.0",
"host": {
"displayName": "Stellar Developer Documentation",
"documentationUrl": "https://developers.stellar.org/"
},
"entries": [
{
"identifier": "urn:air:stellar.org:mcp:raven",
"displayName": "Stellar Raven MCP server",
"type": "application/mcp-server-card+json",
"url": "https://developers.stellar.org/.well-known/mcp/server-card.json",
"description": "Server card for Stellar Raven, the remote MCP server that gives agents Stellar docs, live ecosystem data, and tested playbooks.",
"tags": ["stellar", "mcp", "raven"]
},
{
"identifier": "urn:air:stellar.org:skills:index",
"displayName": "Stellar Agent Skills index",
"type": "application/agent-skills+json",

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not changed on purpose. The agent-skills discovery RFC says to serve /.well-known/agent-skills/index.json with application/json (cloudflare/agent-skills-discovery-rfc README, publishing checklist). The catalog type field names the artifact kind with the AI Catalog known type. developers.cloudflare.com does the same: catalog type application/agent-skills+json, index served as application/json.

"url": "https://developers.stellar.org/.well-known/agent-skills/index.json",
"description": "Index of the official Stellar agent skills with pinned download URLs and digests.",
"tags": ["stellar", "agent-skills"]
},
{
"identifier": "urn:air:stellar.org:api:catalog",
"displayName": "Stellar API Catalog",
"type": "application/linkset+json",
"url": "https://developers.stellar.org/.well-known/api-catalog",
"description": "RFC 9727 API catalog for Stellar RPC, Horizon, Anchor Platform, and Stellar Disbursement Platform.",
"tags": ["stellar", "api", "rfc9727"]
},
{
"identifier": "urn:air:stellar.org:docs:llms-txt",
"displayName": "Stellar Docs llms.txt",
"type": "text/plain",
"url": "https://developers.stellar.org/llms.txt",
"description": "Text index of the Stellar developer documentation for AI systems.",
"tags": ["stellar", "documentation", "llms.txt"]
}
]
}
18 changes: 18 additions & 0 deletions static/.well-known/mcp/server-card.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"$schema": "https://static.modelcontextprotocol.io/schemas/v1/server-card.schema.json",
"name": "org.stellar/raven",

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The card schema requires exactly one slash in name (pattern ^[a-zA-Z0-9.-]+/[a-zA-Z0-9._-]+$). Raven's runtime name stellar-raven-codemode does not fit that pattern, so the card cannot copy it. version matches the runtime (0.1.0). Aligning Raven's serverInfo.name to org.stellar/raven is a follow-up in the stellar-raven repo.

"title": "Stellar Raven",
"version": "0.1.0",
"description": "Stellar MCP server for AI agents: official docs search, live ecosystem data, and tested playbooks.",
"websiteUrl": "https://raven.stellar.org",
"repository": {
"url": "https://github.com/stellar-experimental/stellar-raven",
"source": "github"
},
"remotes": [
{
"type": "streamable-http",
"url": "https://raven.stellar.org/mcp"
}
]
}
Loading