Skip to main content
Glama

get_secret_key

Retrieve secret keys from environment variables for secure API access on Bybit Server, enabling integration and authorization for trading and data operations.

Instructions

Get secret key from environment variables :return: Secret key

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The handler function for the 'get_secret_key' tool, decorated with @mcp.tool() for automatic registration in FastMCP. It simply returns the 'SECRET_KEY' from environment variables.
    @mcp.tool() def get_secret_key( ) -> str: """ Get secret key from environment variables :return: Secret key """ return os.getenv("SECRET_KEY")

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/dlwjdtn535/mcp-bybit-server'

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