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
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/index.ts:702-710 (handler)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: {}, }, },
- src/index.ts:50-53 (schema)Input schema definition for the 'get_secret_key' tool: an empty object schema indicating no input parameters are required.inputSchema: { type: 'object', properties: {}, },