Skip to main content
Glama
index.ts409 B
import { FastMCP } from 'fastmcp'; import { tools } from '@tools/index'; import { authenticate, WaterCrawlSession } from './auth'; export const setupServer = () => { const server: FastMCP<WaterCrawlSession> = new FastMCP({ name: 'WaterCrawl MCP Server', version: '1.0.0', authenticate, }); // Register tools for (const tool of tools) { server.addTool(tool); } 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/watercrawl/watercrawl-mcp'

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