Skip to main content
Glama
Marinade Finance MCP Server

Marinade Finance MCP Server

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.

Related MCP server: Solana AI Terminal

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

Available Tools

6 tools
get_marinade_stateGet Marinade StateA

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

Inputs: no named parameters.

get_msol_balanceGet mSOL BalanceA

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

Inputs: walletAddress.

search_documentationSearch Marinade Finance DocumentationA

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.

Inputs: query (required).

send_msolSend mSOL to Another WalletA

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.

Inputs: recipientAddress (required), amount (required).

stake_msolStake SOL for mSOLC

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

Inputs: amount (required).

unstake_msolUnstake mSOLB

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

Inputs: amount (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.7/5.0

    Scored across 6 tools

    Disambiguation5/5

    Each tool has a clearly distinct purpose with no overlap: get_marinade_state retrieves protocol-wide data, get_msol_balance checks wallet balances, search_documentation handles documentation queries, send_msol transfers tokens, stake_msol stakes SOL for mSOL, and unstake_msol reverses that process. The actions and targets are unambiguous.

    Naming Consistency5/5

    All tools follow a consistent verb_noun pattern using snake_case: get_marinade_state, get_msol_balance, search_documentation, send_msol, stake_msol, and unstake_msol. The naming is predictable and readable throughout the set.

    Tool Count5/5

    With 6 tools, this server is well-scoped for its domain of Marinade Finance operations. Each tool earns its place by covering essential functions like state retrieval, balance checking, documentation search, token transfers, and staking/unstaking, without being overly sparse or bloated.

    Completeness4/5

    The tool set covers core workflows for interacting with Marinade Finance, including staking, unstaking, transfers, balance checks, and protocol state. A minor gap is the lack of tools for managing rewards or advanced operations like liquidity provision, but agents can work around this with the provided tools.

    Maintenance

    ActivityInactive
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers

    Appeared in Searches