Skip to main content
Glama

mcp-google-sheets

add-website.ts779 B
import { createAction, Property } from '@activepieces/pieces-framework'; import { aidbaseAuth } from '../common/auth'; import { aidbaseClient } from '../common/client'; export const addWebsite = createAction({ auth: aidbaseAuth, name: 'add_website', displayName: 'Add Website', description: 'Adds a website URL as a knowledge source for Aidbase.', props: { website_url: Property.ShortText({ displayName: 'Website URL', description: 'The URL of the website to add as a knowledge source (e.g., https://www.example.com).', required: true, }), }, async run(context) { const { auth: apiKey, propsValue } = context; const { website_url } = propsValue; return await aidbaseClient.addWebsite(apiKey, website_url); }, });

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