Skip to main content
Glama

MCP Coinbase Commerce Server

config.ts731 B
import dotenv from 'dotenv'; import { fileURLToPath } from 'url'; import { dirname, join } from 'path'; import fs from 'fs'; // Get the directory name of the current module const __filename = fileURLToPath(import.meta.url); const __dirname = dirname(__filename); // Try to find .env file in the project root const envPath = join(__dirname, '..', '.env'); if (fs.existsSync(envPath)) { dotenv.config({ path: envPath }); } else { dotenv.config(); } export interface Config { coinbaseCommerceApiKey: string; serverName: string; serverVersion: string; } export const config: Config = { coinbaseCommerceApiKey: process.env.COINBASE_COMMERCE_API_KEY || '', serverName: 'coinbase-commerce', serverVersion: '0.1.0', };

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/zhangzhongnan928/mcp-coinbase-commerce'

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