Skip to main content
Glama

Cursor MCP Server

by johnneerdael
termux.js835 B
import execa from 'execa'; const handler = error => { if (error.code === 'ENOENT') { throw new Error('Couldn\'t find the termux-api scripts. You can install them with: apt install termux-api'); } throw error; }; const clipboard = { copy: async options => { try { await execa('termux-clipboard-set', options); } catch (error) { handler(error); } }, paste: async options => { try { const {stdout} = await execa('termux-clipboard-get', options); return stdout; } catch (error) { handler(error); } }, copySync: options => { try { execa.sync('termux-clipboard-set', options); } catch (error) { handler(error); } }, pasteSync: options => { try { return execa.sync('termux-clipboard-get', options).stdout; } catch (error) { handler(error); } }, }; export default clipboard;

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/johnneerdael/multiplatform-cursor-mcp'

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