We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Jakedismo/master-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
import type { ToolDefinition, ResourceDefinition } from '../../src/types/mcp.js'
export function makeTools(...names: string[]): ToolDefinition[] {
return names.map((n) => ({ name: n, description: `${n} tool` }))
}
export function makeResources(...uris: string[]): ResourceDefinition[] {
return uris.map((u) => ({ uri: u, name: u, mimeType: 'text/plain' }))
}