Skip to main content
Glama
resources.tsβ€’708 B
import { FastMCP } from "fastmcp"; import { getQualityStandard } from "./prompts/componentPrompts.js"; /** * Register all resources with the MCP server * @param server The FastMCP server instance */ export function registerResources(server: FastMCP) { // Component Quality Profile (Structured for AI consumption) server.addResource({ uri: "standards://component-quality", name: "Component Quality Standards", description: "Structured quality profile optimized for AI code generation", mimeType: "application/json", async load() { const standards = getQualityStandard(); return { text: JSON.stringify(standards.qualityProfile, null, 2), }; }, }); }

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/HelloGGX/shadcn-vue-mcp'

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