Skip to main content
Glama

MCP Server Boilerplate

by cds-id
analyzeDataPrompt.ts690 B
import { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js'; /** * A prompt for analyzing data with specific instructions * @param server The MCP server instance */ export function analyzeDataPrompt(server: McpServer): void { const description = 'A prompt template for analyzing data with customizable instructions'; server.prompt('analyze-data', description, () => { const prompt = `Please analyze the provided data and focus on key patterns, anomalies, and actionable insights.`; return { messages: [ { role: 'user', content: { type: 'text', text: prompt, }, }, ], }; }); }

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/cds-id/mcp-server-boilerplate'

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