Skip to main content
Glama

Official page

Integration

Register the server in your MCP-aware host configuration.

{ "mcpServers": { "marinade-finance": { "url": "https://server.smithery.ai/@leandrogavidia/marinade-finance-mcp-server/mcp", "type": "streamable-http" } } }

Note: Follow the Smithery's auth flow.

Tools

  • Marinade Finance Docs

    • Docs

      • search_documentation: Search Marinade Finance Documentation for relevant information, code examples, API references, and guides.

  • Marinade Finance State

    • State

      • 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.

  • Liquid Staking & Wallet Operations

    • Balance

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

    • Staking

      • stake_msol: Stake SOL tokens with Marinade Finance to receive mSOL tokens and earn rewards.

      • unstake_msol: Unstake mSOL tokens to receive SOL tokens back.

    • Transfers

      • send_msol: Send mSOL tokens to another Solana wallet address (automatically creates recipient token account if needed).


.env Config

  • PRIVATE_KEY: Base58-encoded private key for your Solana wallet (required for on-chain operations like staking, unstaking, and transfers).

  • SOLANA_RPC_URL: Solana RPC URL for mainnet operations.

  • SOLANA_RPC_URL_DEVNET: Solana RPC URL for devnet/testnet operations.

  • ENVIRONMENT: Working environment, either MAINNET or TESTNET.

  • USE_STREAMABLE_HTTP: Specifies whether your MCP server will run on stdio or streamable-http (set to true or false).

  • PORT: Port where your MCP server will run when using streamable-http (default: 3000).

  • HOST: Host where your MCP server will run when using streamable-http (default: 0.0.0.0).

Run the project locally

In one terminal window, run the following command: pnpx @modelcontextprotocol/inspector pnpx tsx ./src/index.ts in stdio mode.

Build and run

Run the command: pnpm run build and then: pnpm run start

Note: Run in http mode

Deployment

To deploy this MCP server, fork this project into your GitHub account, log in to smithery.ai, and click Publish server. Complete the steps, and once it is deployed, add the required environment variables in settings.


License

MIT

-
security - not tested
A
license - permissive license
-
quality - not tested

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