Astrolescent Docs
  • 🚀Introduction
    • Official Links
    • Team
    • Fees
  • 🪙Tokens
    • ASTRL token
    • sASTRL token
    • Airdrops
      • Trading
      • Providing Liquidity
      • Validator Staking
  • 🫡How To Use
    • Getting started
    • Swap
    • Bridge
      • Advanced Settings
    • Limit Orders (Coming soon)
    • ASTRL Staking
  • 💻Infrastructure
    • API
    • MCP
    • Swap Widget
    • Validator Node
  • Etcetera
    • Branding pack
Powered by GitBook
On this page
  • Tools
  • Installation
  1. Infrastructure

MCP

Connect Astrolescent to your LLM or AI Agents

PreviousAPINextSwap Widget

Last updated 23 hours ago

Most LLMs are pretty isolated and have a hard time executing actions or fetching real-time information. The Model Context Protocol (MCP) fixes that. It gives the LLM or your AI Agent the options to interact with external services like Astrolescent. To fetch the latest price of $ASTRL for example, or the current staking yield. Or even to fetch a quote to buy 1k ASTRL.

Tools

An MCP server consists of several tools you can call from your prompt.

Price

Returns the current price in XRD and USD, including the 24H and 7 days differences.

Example Hey, use Astrolescent to display the current price of ASTRL in XRD.

APY

Returns the current APYs for ASTRL staking, and the ASTRL rewards for staking on our validator node and providing liquidity on DefiPlaza.

Example Hey, use Astrolescent to get the current APY on ASTRL staking.

Installation

You can use our remove MCP server by adding it to Claude Desktop, Cursor, Windsurf or any other tool that currently supports adding MCP servers. Unfortunately, none of the current web interfaces support MCP.

URL

Claude Desktop

{
	"mcpServers": {
	  "astrolescent": {
		 "command": "npx",
		 "args": ["mcp-remote", "https://mcp.astrolescent.com/sse"]
	  }
	}
 }

Cursor

To connect Cursor with our remote MCP server, choose Type: "Command" and in the Commandfield, combine the command and args fields into one: npx mcp-remote https://mcp.astrolescent.com/sse

Windsurf

{
  "mcpServers": {
    "astrolescent": {
      "command": "npx",
      "args": ["mcp-remote", "https://mcp.astrolescent.com/sse"]
    }
  }
}
💻
https://mcp.astrolescent.com/sse