Skip to main content
Glama

MCP Maker

prompt.hbs966 B
/** * {{prompt_pascal_case}} Prompt * {{description}} */ import { McpServer, PromptTemplate } from "@modelcontextprotocol/sdk/server/mcp.js"; /** * The main template content */ const templateContent = ` # {{prompt_pascal_case}} {{description}} ## Instructions {{#if include_variables}} You have access to the following variables: - \${variable1}: Description of variable1 - \${variable2}: Description of variable2 {{/if}} Provide a detailed and thoughtful response based on the information provided. `; /** * Register the {{prompt_name}} prompt */ export function register{{prompt_pascal_case}}Prompt(server: McpServer): void { server.prompt( new PromptTemplate({ name: "{{prompt_name}}", description: "{{description}}", template: templateContent, {{#if include_variables}} variables: { variable1: { description: "Description of variable1", required: true, }, variable2: { description: "Description of variable2", required: false, }, }, {{/if}} }) ); }

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/CaptainCrouton89/mcp-maker'

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