Skip to main content
Glama

mcp-google-sheets

project-worker-controller.ts552 B
import { PrincipalType } from '@activepieces/shared' import { FastifyPluginAsyncTypebox } from '@fastify/type-provider-typebox' import { projectService } from './project-service' export const projectWorkerController: FastifyPluginAsyncTypebox = async ( app, ) => { app.get('/', GetWorkerProjectRequest, async (req) => { const projectId = req.principal.projectId return projectService.getOneOrThrow(projectId) }) } const GetWorkerProjectRequest = { config: { allowedPrincipals: [PrincipalType.ENGINE], }, }

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