Skip to main content
Glama
by microsoft
mcp.genai.mts781 B
script({ description: "Model Context Protocol server demo", model: "small", tests: {}, }) await runPrompt((ctx) => { ctx.defTool({ filesystem: { command: "npx", args: [ "-y", "@modelcontextprotocol/server-filesystem", path.resolve("."), ], }, }) ctx.$`Write a poem about the file README.md` }) defTool({ memory: { command: "npx", args: ["-y", "@modelcontextprotocol/server-memory"], }, filesystem: { command: "npx", args: [ "-y", "@modelcontextprotocol/server-filesystem", path.resolve("."), ], }, }) $`Summarize the README.md file at the root of the workspace.`

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/microsoft/genaiscript'

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