Skip to main content
Glama

MCP Template

by pidanmeng
index.ts250 B
#!/usr/bin/env node import { FastMCP } from 'fastmcp'; import { add } from './tools/add'; const server = new FastMCP({ name: 'MCP Template', version: '1.0.0', }); server.addTool(add); server.start({ transportType: 'stdio', });

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/pidanmeng/mcp-template'

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