Skip to main content
Glama
openapi-spec.ts1.79 kB
/** * OpenAPI Spec Template * Self-documenting API specification */ // openapi.yaml /* openapi: 3.0.3 info: title: My API version: 1.0.0 description: A production-ready API servers: - url: http://localhost:3000 description: Development - url: https://api.example.com description: Production paths: /health: get: summary: Health check responses: 200: description: Service is healthy content: application/json: schema: type: object properties: status: type: string example: healthy /api/items: get: summary: List all items tags: [Items] responses: 200: description: List of items content: application/json: schema: type: array items: $ref: '#/components/schemas/Item' post: summary: Create item tags: [Items] requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/CreateItem' responses: 201: description: Created components: schemas: Item: type: object properties: id: type: string name: type: string createdAt: type: string format: date-time CreateItem: type: object required: [name] properties: name: type: string minLength: 1 securitySchemes: ApiKeyAuth: type: apiKey in: header name: x-api-key */ export {};

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/millsydotdev/Code-MCP'

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