Skip to main content
Glama

mcp-google-sheets

get-project-by-id.ts834 B
import { HttpMethod } from '@activepieces/pieces-common'; import { createAction, Property } from '@activepieces/pieces-framework'; import { ticktickAuth } from '../../index'; import { tickTickApiCall } from '../common/client'; export const getProjectAction = createAction({ auth: ticktickAuth, name: 'get_project', displayName: 'Get Task List', description: 'Retrieves the details of a specific task list by ID.', props: { projectId: Property.ShortText({ displayName: 'List ID', description: 'Select the list to retrieve details for.', required: true, }), }, async run(context) { const { projectId } = context.propsValue; const response = await tickTickApiCall({ accessToken: context.auth.access_token, method: HttpMethod.GET, resourceUri: `/project/${projectId}`, }); 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