Skip to main content
Glama
QUICK_START.md1 kB
# Quick Start ## Setup & Run ```bash npm install # Install dependencies npm run dev # Development with file watching # or npm run build && npm start # Production ``` Server: `http://localhost:3001` ## Test Endpoints ```bash # Health check curl http://localhost:3001/mcp/health # Server info curl http://localhost:3001/mcp/info ``` ## Add a Tool Edit `src/tools/index.ts`: ```typescript { name: "my-tool", description: "What this tool does", inputSchema: { input: z.string().describe("Input parameter"), }, handler: async (args) => { return `Result: ${args.input}`; }, } ``` Rebuild: ```bash npm run build && npm start ``` ## Commands ```bash npm run dev # Development mode npm run build # Build to dist/ npm run type-check # Type checking npm start # Run production build ``` ## Project - **201 lines** of source code - **5 modules** with single responsibility - **TypeScript** strict mode - **Official MCP SDK** integration

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/hencydsouza24/mcp_demo'

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