/**
* When running tests, the vscode module is not available.
* So we here to prevent "Cannot find module 'vscode'" error.
*/
export async function reportError(error: string) {
const vscode = await require('vscode');
vscode.window.showErrorMessage(`${String(error)}`)
}
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/damms005/devdb-vscode'
If you have feedback or need assistance with the MCP directory API, please join our Discord server