Skip to main content
Glama
client.ts507 B
import { AppConnectionValueForAuthProperty } from '@activepieces/pieces-framework'; import { ContentfulAuth } from './auth'; import * as Contentful from 'contentful-management'; export const makeClient = (auth: AppConnectionValueForAuthProperty<typeof ContentfulAuth>) => { return { client: Contentful.createClient( { accessToken: auth.props.apiKey }, { type: 'plain', defaults: { spaceId: auth.props.space, environmentId: auth.props.environment }, } ), }; };

Latest Blog Posts

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