We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/heroku/heroku-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
mcp-tool-response.ts•540 B
/**
* Interface representing the standard response format for MCP tool operations.
* This interface defines the structure of responses returned by tool handlers.
*
* [x: string] - Additional properties that may be present in the response
*
* [isError] - Indicates whether the operation resulted in an error
*
* content - Array containing the response content
* in a standardized format
*/
export type McpToolResponse = {
[x: string]: unknown;
isError?: boolean;
content: Array<{
type: 'text';
text: string;
}>;
};