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