Skip to main content
Glama

mcp-google-sheets

raw-graphql-query.ts719 B
import { createAction, Property } from '@activepieces/pieces-framework'; import { linearAuth } from '../..'; import { makeClient } from '../common/client'; export const linearRawGraphqlQuery = createAction({ name: 'rawGraphqlQuery', displayName: 'Raw GraphQL query', description: 'Perform a raw GraphQL query', auth: linearAuth, props: { query: Property.LongText({ displayName: 'Query', required: true }), variables: Property.Object({ displayName: 'Parameters', required: false }), }, async run({ auth, propsValue }) { const client = makeClient(auth as string); const result = await client.rawRequest( propsValue.query, propsValue.variables ); return result; }, });

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