Skip to main content
Glama

Omnisend MCP Server

index.ts536 B
import omnisendApi from '../shared/api.js'; import { Brand } from '../../types/brands/index.js'; // Get current brand information export const getCurrentBrand = async (): Promise<Brand> => { try { const response = await omnisendApi.get<Brand>('/brands/current'); return response.data; } catch (error) { if (error instanceof Error) { throw new Error(`Error getting current brand information: ${error.message}`); } else { throw new Error('Unknown error occurred when getting current brand'); } } };

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/plutzilla/omnisend-mcp'

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