Skip to main content
Glama

Omi MCP Server

by fourcolors
CLAUDE.md1.02 kB
# Omi MCP Local Development Guide ## Commands - Build: `npm run build` - Dev mode: `npm run dev` - Start server: `npm run start` - Test: `npm run test` or `node test-mcp-client.js` - Clean: `npm run clean` - Rebuild: `npm run rebuild` ## Code Style - TypeScript with strict type checking - Use tabs for indentation - Line length maximum: 140 characters - Use single quotes for strings - End statements with semicolons - Use Zod for API parameter validation - Use JSDoc comments for public methods ## Error Handling - Use try/catch blocks around async operations - Log errors before throwing - Provide detailed error messages - Handle cleanup on process exit ## Naming Conventions - PascalCase for interfaces and types - camelCase for variables and functions - Descriptive variable names - Consistent parameter naming ## Logging - Use the custom log function for all logging - Include timestamps in log messages - Log both to stderr and log file ## Package Management - Always use pnpm instead of npm in this project

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/fourcolors/omi-mcp'

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