Skip to main content
Glama

Linkd MCP Server

by automcp-app
utils.ts890 B
import { config } from "dotenv"; config(); export const makeLinkdRequest = async (url: string, options: RequestInit): Promise<any> => { const res = await fetch(url, { ...options, headers: { ...options.headers, Authorization: `Bearer ${process.env.LINKD_API_KEY}`, }, }); return res; }; export const logWithTimestamp = ({ level = "info", name = "linkd", data, }: { level?: "info" | "warning" | "error" | "debug"; name?: string; data?: any; }) => { const timestamp = new Date().toISOString(); const consoleData = [`${timestamp} [${name}] [${level}]`]; if (Array.isArray(data)) { consoleData.push(...data); } else { consoleData.push(data); } if (level === "error") { console.error(...consoleData); } else if (level === "warning") { console.warn(...consoleData); } else { console.log(...consoleData); } };

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/automcp-app/linkd-mcp'

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