Skip to main content
Glama
aadarshvelu

Derive MCP Server

by aadarshvelu

get_all_currencies

Retrieve all available currencies from Derive's market data to access comprehensive financial information for trading and analysis.

Instructions

Get all available currencies on Derive

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The actual handler method that makes the API request to the Derive API.
    getAllCurrencies(): Promise<unknown> {
      return this.post('public/get_all_currencies');
    }
  • src/tools.ts:22-26 (registration)
    Tool definition used by the MCP server to list available tools.
    {
      name: 'get_all_currencies',
      description: 'Get all available currencies on Derive',
      inputSchema: { type: 'object', properties: {} },
    },
  • Switch case logic in the MCP server's tool handler to invoke the client method for 'get_all_currencies'.
    case 'get_all_currencies':
      result = await client.getAllCurrencies();
      break;

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/aadarshvelu/derive-mcp'

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