Skip to main content
Glama
soriat

MCP Elicitations Demo Server

by soriat
tool-print-env.ts510 B
import { z } from "zod"; import { zodToJsonSchema } from "zod-to-json-schema"; const PrintEnvSchema = z.object({}); export const printEnvTool = { name: "printEnv", description: "Prints all environment variables, helpful for debugging MCP server configuration", inputSchema: zodToJsonSchema(PrintEnvSchema), handler: async (args: any) => { return { content: [ { type: "text" as const, text: JSON.stringify(process.env, null, 2), }, ], }; }, };

Implementation Reference

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