Skip to main content
Glama
http-client.ts395 B
import axios from "axios"; const TWENTY_FIRST_API_KEY = process.env.TWENTY_FIRST_API_KEY || "test"; if (!TWENTY_FIRST_API_KEY) { throw new Error("TWENTY_FIRST_API_KEY environment variable is not set"); } export const twentyFirstClient = axios.create({ baseURL: "https://magic.21st.dev", headers: { "x-api-key": TWENTY_FIRST_API_KEY, "Content-Type": "application/json", }, });

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/oyasimi1209/magic-mcp'

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