Skip to main content
Glama

Upstash MCP Server

Official
by upstash
test-connection.ts462 B
import { http } from "./http"; import { log } from "./log"; export async function testConnection() { log("🧪 Testing connection to Upstash API"); // TODO: Test the connection to the Upstash API here // to check if the token is valid const res = await http.get<[]>("v2/teams"); if (!Array.isArray(res)) throw new Error("Invalid response from Upstash API. Check your API key and email."); log("✅ Connection to Upstash API is successful"); }

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/upstash/mcp-server'

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