Skip to main content
Glama

Payload CMS MCP Server

import { Client } from "@modelcontextprotocol/sdk/client/index.js"; import { SSEClientTransport } from "@modelcontextprotocol/sdk/client/sse.js"; const origin = process.argv[2] || "https://mcp-on-vercel.vercel.app"; async function main() { const transport = new SSEClientTransport(new URL(`${origin}/sse`)); const client = new Client( { name: "example-client", version: "1.0.0", }, { capabilities: { prompts: {}, resources: {}, tools: {}, }, } ); await client.connect(transport); console.log("Connected", client.getServerCapabilities()); const result = await client.listTools(); console.log(result); } main();

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/Matmax-Worldwide/payloadcmsmcp'

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