Skip to main content
Glama

get_secret_key

Retrieve a secret key from environment variables to securely manage API access and authentication for the Bybit MCP Server, ensuring safe and authorized cryptocurrency trading operations.

Instructions

Get secret key from environment variables

Input Schema

NameRequiredDescriptionDefault

No arguments

Input Schema (JSON Schema)

{ "properties": {}, "type": "object" }

Implementation Reference

  • The handler function for the 'get_secret_key' tool. It returns the value of the SECRET_KEY environment variable as text content.
    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 ListToolsRequestSchema handler, including name, description, and input schema (empty object).
    { name: 'get_secret_key', description: 'Get secret key from environment variables', inputSchema: { type: 'object', properties: {}, }, },
  • Input schema for the 'get_secret_key' tool, which requires no parameters (empty object).
    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