Skip to main content
Glama
index.ts379 B
import {McpServer} from '@modelcontextprotocol/sdk/server/mcp.js'; import {registerAll, type Config} from './tools/index.js'; // Library exports export type {Config} from './tools/index.js'; export function createServer(config: Config): McpServer { const server = new McpServer({ name: 'gmail-mcp', version: '0.0.1', }); registerAll(server, config); return server; }

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/domdomegg/gmail-mcp'

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