Skip to main content
Glama

feedback-loop-mcp

by tuandinh-org
preload.mjs864 B
import { contextBridge, ipcRenderer } from 'electron' // Expose protected methods that allow the renderer process to use // the ipcRenderer without exposing the entire object contextBridge.exposeInMainWorld('electronAPI', { onSetUiData: (callback) => { // Renamed from onInitialData // Ensure we remove any previous listener to avoid duplicates if this is called multiple times ipcRenderer.removeAllListeners('set-ui-data'); return ipcRenderer.on('set-ui-data', (event, data) => { // Changed channel name callback(event, data); }); }, sendFeedback: (feedback) => ipcRenderer.send('feedback-result', feedback), submitFeedback: (data) => ipcRenderer.invoke('submit-feedback', data), requestResize: (height) => ipcRenderer.send('request-resize', height), removeAllListeners: (channel) => ipcRenderer.removeAllListeners(channel) });

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/tuandinh-org/feedback-loop-mcp'

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