Skip to main content
Glama
README.md545 B
# @repo/ai AI integration package that provides wrappers for AI providers including OpenAI and MCP-STDIO. ## Features - OpenAI adapter integration - MCP-STDIO support - Streaming responses - TypeScript support ## Installation ```bash pnpm add @repo/ai ``` ## Usage ```typescript import { OpenAIAdapter, MCPStdioAdapter } from '@repo/ai'; // For OpenAI const ai = OpenAIAdapter.createOpenAI({ apiKey: process.env.OPENAI_API_KEY, }); // For MCP-STDIO const mcpAi = MCPStdioAdapter.createMCPStdioAI({ endpoint: 'your-endpoint', }); ```

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/thomasdavis/blah'

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