Skip to main content
Glama

mcp-google-sheets

find-running-timer.ts848 B
import { HttpMethod } from '@activepieces/pieces-common'; import { createAction } from '@activepieces/pieces-framework'; import { clockifyAuth } from '../../index'; import { clockifyApiCall } from '../common/client'; import { workspaceId } from '../common/props'; export const findRunningTimerAction = createAction({ auth: clockifyAuth, name: 'find-running-timer', displayName: 'Find Running Timer', description: 'Finds currently running timer on specified workspace.', props: { workspaceId: workspaceId({ displayName: 'Workspace', required: true, }), }, async run(context) { const { workspaceId } = context.propsValue; const response = await clockifyApiCall({ apiKey: context.auth, method: HttpMethod.GET, resourceUri: `/workspaces/${workspaceId}/time-entries/status/in-progress`, }); return response; }, });

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