Skip to main content
Glama
custom-api-call.ts505 B
import { createCustomApiCallAction } from '@activepieces/pieces-common'; import { fragmentAuth } from '../common/auth'; export const customApiCall = createCustomApiCallAction({ auth: fragmentAuth, name: 'custom_api_call', displayName: 'Custom API Call', description: 'Make a custom API call to any Fragment endpoint', baseUrl: () => 'https://api.onfragment.com/api/v1', authMapping: async (auth) => ({ 'Authorization': `Bearer ${auth}`, 'Content-Type': 'application/json', }), });

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