Skip to main content
Glama

get_secret_key

Retrieve API secret keys from environment variables to authenticate and secure trading operations on the Bybit cryptocurrency exchange.

Instructions

Get secret key from environment variables

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • Handler implementation for the 'get_secret_key' MCP tool. Returns the SECRET_KEY environment variable as text content in the standard MCP response format.
    case 'get_secret_key': return { content: [ { type: 'text', text: process.env.SECRET_KEY || '', }, ], };
  • src/index.ts:47-54 (registration)
    Registration of the 'get_secret_key' tool in the MCP server's ListTools handler, defining its name, description, and empty input schema (no parameters required).
    { name: 'get_secret_key', description: 'Get secret key from environment variables', inputSchema: { type: 'object', properties: {}, }, },
  • Input schema definition for the 'get_secret_key' tool: an empty object schema indicating no input parameters are required.
    inputSchema: { type: 'object', properties: {}, },

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/kondisettyravi/mcp-bybit-node'

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