Skip to main content
Glama

OpenAI MCP Server

test.json933 B
{ "environment": { "OPENAI_API_KEY": "${OPENAI_API_KEY}" }, "tests": [ { "name": "Test chat completion", "tool": "chat_completion", "arguments": { "messages": [ {"role": "user", "content": "Say 'test successful' and nothing else"} ], "model": "gpt-4o-mini", "max_tokens": 10 }, "expect": { "type": "text", "contains": "test successful" } }, { "name": "Test embedding creation", "tool": "create_embedding", "arguments": { "text": "Hello, world!", "model": "text-embedding-3-small" }, "expect": { "type": "object", "hasKeys": ["embedding", "model", "dimensions"] } }, { "name": "Test model listing", "tool": "list_models", "arguments": {}, "expect": { "type": "array", "minLength": 1 } } ] }

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/NimbleBrainInc/mcp-openai'

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