Skip to main content
Glama
tywenk

Model Context Protocol Server for Solana Client

by tywenk

validator_exit

Initiate a validator exit request on the Solana blockchain using the Model Context Protocol Server. This tool facilitates the process of requesting a validator to exit, ensuring proper blockchain node management.

Instructions

Request to have the validator exit.

Returns: str: Validator exit request result

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The handler function decorated with @mcp.tool(), which registers and implements the 'validator_exit' MCP tool. It uses an AsyncClient to call validator_exit on the RPC endpoint and returns a formatted result string.
    @mcp.tool() async def validator_exit() -> str: """Request to have the validator exit. Returns: str: Validator exit request result """ async with AsyncClient(rpc_url) as client: result = await client.validator_exit() return f"Validator exit request: {result}"

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/tywenk/mcp-sol'

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