We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/TheLunarCompany/lunar'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
import axios from "axios";
import { getMcpxServerURL } from "../config/api-config";
import { isEnterpriseEnabled } from "@/config/runtime-config";
const API_SERVER_URL = getMcpxServerURL("http");
export const axiosClient = axios.create({
baseURL: API_SERVER_URL,
headers: {
"Content-Type": "application/json",
},
});
axiosClient.interceptors.request.use((config) => {
// Re-evaluate enterprise flag for every request so runtime config changes apply
config.withCredentials = isEnterpriseEnabled();
return config;
});