Skip to main content
Glama
capabilities.ts663 B
import type { ServerCapabilities } from '@modelcontextprotocol/sdk/types.js'; /** * Build server capabilities declaration. * * Capabilities tell the client what features this server supports: * - tools: Server can register and execute tools * - prompts: Server can provide prompt templates * - resources: Server can expose readable resources * - logging: Server can send log messages to client */ export function buildCapabilities(): ServerCapabilities { return { tools: { listChanged: true, }, prompts: { listChanged: true, }, resources: { listChanged: true, subscribe: true, }, logging: {}, }; }

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/iceener/files-stdio-mcp-server'

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