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
import { createAction } from '@activepieces/pieces-framework';
import { googleSearchConsoleAuth, createAuthClient } from '../../';
import { commonProps } from '../common';
export const deleteSite = createAction({
auth: googleSearchConsoleAuth,
name: 'delete_site',
displayName: 'Delete a Site',
description:
"Removes a site from the set of the user's Search Console sites.",
props: {
siteUrl: commonProps.siteUrl,
},
async run(context) {
const siteUrl = context.propsValue.siteUrl;
if (!siteUrl) {
throw new Error(
'You must provide either a Site URL or select one from the list.'
);
}
const webmasters = createAuthClient(context.auth.access_token);
await webmasters.sites.delete({
siteUrl: siteUrl,
});
return { success: true };
},
});