Solana Model Context Protocol (MCP) Server

by omaidf
Verified
MIT License
5
  • Linux
  • Apple

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
HOSTNoHost to bind the server to0.0.0.0
PORTNoPort to run the server on8000
LOG_LEVELNoLogging levelINFO
LOG_FORMATNoFormat for logging outputjson
ENVIRONMENTNoEnvironment the server is running inproduction
SOLANA_RPC_URLNoURL of the Solana RPC endpointhttps://api.mainnet-beta.solana.com
SOLANA_TIMEOUTNoTimeout value for Solana RPC calls in seconds30
PRICE_CACHE_TTLNoTime-to-live for price cache entries in seconds60
PRICE_CACHE_SIZENoSize of the price cache500
SOLANA_COMMITMENTNoSolana commitment levelconfirmed
METADATA_CACHE_TTLNoTime-to-live for metadata cache entries in seconds300
METADATA_CACHE_SIZENoSize of the metadata cache100

Schema

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Tools

Functions exposed to the LLM to take actions

NameDescription

No tools

ID: 2xuxi3ody7