Skip to main content
Glama

get_access_key

Retrieve the access key from environment variables for secure interaction with the Bybit API. Simplify authentication and ensure smooth data access for trading activities.

Instructions

Get access key from environment variables :return: Access key

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The handler function for the 'get_access_key' tool, decorated with @mcp.tool() for registration. It simply returns the value of the ACCESS_KEY environment variable.
    @mcp.tool() def get_access_key( ) -> str: """ Get access key from environment variables :return: Access key """ return os.getenv("ACCESS_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