Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
HOSTNoHost where your MCP server will run when using streamable-http0.0.0.0
PORTNoPort where your MCP server will run when using streamable-http3000
ENVIRONMENTYesWorking environment, either MAINNET or TESTNET
PRIVATE_KEYYesBase58-encoded private key for your Solana wallet (required for on-chain operations like staking, unstaking, and transfers)
SOLANA_RPC_URLYesSolana RPC URL for mainnet operations
USE_STREAMABLE_HTTPYesSpecifies whether your MCP server will run on stdio or streamable-http (set to true or false)
SOLANA_RPC_URL_DEVNETYesSolana RPC URL for devnet/testnet operations

Tools

Functions exposed to the LLM to take actions

NameDescription
search_documentation

Search across the documentation to find relevant information, code examples, API references, and guides. Use this tool when you need to answer questions about Marinade Finance Docs, find specific documentation, understand how features work, or locate implementation details. The search returns contextual content with titles and direct links to the documentation pages.

get_marinade_state

Retrieve the current state of the Marinade Finance protocol, including information about staked assets, mint address, price, rewards, and other relevant data.

get_msol_balance

Check the mSOL token balance of the environment wallet or any specified Solana wallet address.

stake_msol

Stake your SOL tokens with Marinade Finance to receive mSOL tokens and earn rewards.

unstake_msol

Unstake your mSOL tokens with Marinade Finance to receive SOL tokens.

send_msol

Send mSOL tokens to another Solana wallet address. This tool automatically checks if the recipient's mSOL token account exists and creates it if necessary.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/leandrogavidia/marinade-finance-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server