Skip to main content
Glama

Model Context Protocol Server

by hyen43
BaseResource.js700 B
export class MCPResource { description; mimeType; get resourceDefinition() { return { uri: this.uri, name: this.name, description: this.description, mimeType: this.mimeType, }; } async subscribe() { throw new Error("Subscription not implemented for this resource"); } async unsubscribe() { throw new Error("Unsubscription not implemented for this resource"); } async fetch(url, init) { const response = await fetch(url, init); if (!response.ok) { throw new Error(`HTTP error! status: ${response.status}`); } return response.json(); } }

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/hyen43/mcpServer'

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