Skip to main content
Glama
soriat

MCP Elicitations Demo Server

by soriat
prompt-complex.ts1.16 kB
import { MCP_TINY_IMAGE } from "../lib/shared.js"; export const complexPrompt = { name: 'complex_prompt', description: "A prompt with arguments", arguments: [ { name: "temperature", description: "Temperature setting", required: true, }, { name: "style", description: "Output style", required: false, }, ], handler: async (args?: any) => { return { messages: [ { role: "user" as const, content: { type: "text" as const, text: `This is a complex prompt with arguments: temperature=${args?.temperature}, style=${args?.style}`, }, }, { role: "assistant" as const, content: { type: "text" as const, text: "I understand. You've provided a complex prompt with temperature and style arguments. How would you like me to proceed?", }, }, { role: "user" as const, content: { type: "image" as const, data: MCP_TINY_IMAGE, mimeType: "image/png", }, }, ], }; }, };

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/soriat/soria-mcp'

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