Skip to main content
Glama

mcp-google-sheets

pause.ts515 B
import { createAction } from '@activepieces/pieces-framework'; import { spotifyCommon, makeClient } from '../common'; export default createAction({ name: 'pause', displayName: 'Pause', description: 'Pauses the playback', auth: spotifyCommon.authentication, props: { device_id: spotifyCommon.device_id(false), }, async run({ auth, propsValue }) { const client = makeClient({ auth }); const res = await client.pause({ device_id: propsValue.device_id, }); return res; }, });

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/activepieces/activepieces'

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