get_access_key
Retrieve access keys from environment variables to enable secure authentication and integration with the Bybit MCP Server for cryptocurrency trading and account management.
Instructions
Get access key from environment variables
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Input Schema (JSON Schema)
{
"properties": {},
"type": "object"
}
Implementation Reference
- src/index.ts:712-720 (handler)The handler function for the 'get_access_key' tool. It returns the value of the ACCESS_KEY environment variable wrapped in the MCP response format.case 'get_access_key': return { content: [ { type: 'text', text: process.env.ACCESS_KEY || '', }, ], };
- src/index.ts:55-62 (registration)Registration of the 'get_access_key' tool in the ListToolsRequestSchema response, including its name, description, and input schema (no required parameters).{ name: 'get_access_key', description: 'Get access key from environment variables', inputSchema: { type: 'object', properties: {}, }, },
- src/index.ts:58-61 (schema)Input schema for the 'get_access_key' tool, which is an empty object (no parameters required).inputSchema: { type: 'object', properties: {}, },