Skip to main content
Glama

mcp-google-sheets

index.ts3 kB
import { BaseModelSchema } from '@activepieces/shared' import { Static, Type } from '@sinclair/typebox' export enum GitBranchType { PRODUCTION = 'PRODUCTION', DEVELOPMENT = 'DEVELOPMENT', } export const GitRepo = Type.Object({ ...BaseModelSchema, remoteUrl: Type.String(), branch: Type.String(), branchType: Type.Enum(GitBranchType), projectId: Type.String(), sshPrivateKey: Type.String(), slug: Type.String(), }) export type GitRepo = Static<typeof GitRepo> export const GitRepoWithoutSensitiveData = Type.Omit(GitRepo, ['sshPrivateKey']) export type GitRepoWithoutSensitiveData = Static<typeof GitRepoWithoutSensitiveData> export enum GitPushOperationType { PUSH_FLOW = 'PUSH_FLOW', DELETE_FLOW = 'DELETE_FLOW', PUSH_TABLE = 'PUSH_TABLE', DELETE_TABLE = 'DELETE_TABLE', PUSH_AGENT = 'PUSH_AGENT', DELETE_AGENT = 'DELETE_AGENT', PUSH_EVERYTHING = 'PUSH_EVERYTHING', } export const PushFlowsGitRepoRequest = Type.Object({ type: Type.Union([Type.Literal(GitPushOperationType.PUSH_FLOW), Type.Literal(GitPushOperationType.DELETE_FLOW)]), commitMessage: Type.String({ minLength: 1, }), externalFlowIds: Type.Array(Type.String()), }) export type PushFlowsGitRepoRequest = Static<typeof PushFlowsGitRepoRequest> export const PushTablesGitRepoRequest = Type.Object({ type: Type.Union([Type.Literal(GitPushOperationType.PUSH_TABLE), Type.Literal(GitPushOperationType.DELETE_TABLE)]), commitMessage: Type.String({ minLength: 1, }), externalTableIds: Type.Array(Type.String()), }) export type PushTablesGitRepoRequest = Static<typeof PushTablesGitRepoRequest> export const PushAgentsGitRepoRequest = Type.Object({ type: Type.Union([Type.Literal(GitPushOperationType.PUSH_AGENT), Type.Literal(GitPushOperationType.DELETE_AGENT)]), commitMessage: Type.String({ minLength: 1, }), externalAgentIds: Type.Array(Type.String()), }) export type PushAgentsGitRepoRequest = Static<typeof PushAgentsGitRepoRequest> export const PushEverythingGitRepoRequest = Type.Object({ type: Type.Literal(GitPushOperationType.PUSH_EVERYTHING), commitMessage: Type.String({ minLength: 1, }), }) export type PushEverythingGitRepoRequest = Static<typeof PushEverythingGitRepoRequest> export const PushGitRepoRequest = Type.Union([PushFlowsGitRepoRequest, PushTablesGitRepoRequest, PushAgentsGitRepoRequest, PushEverythingGitRepoRequest]) export type PushGitRepoRequest = Static<typeof PushGitRepoRequest> export const ConfigureRepoRequest = Type.Object({ projectId: Type.String({ minLength: 1, }), remoteUrl: Type.String({ pattern: '^git@', }), branch: Type.String({ minLength: 1, }), branchType: Type.Enum(GitBranchType), sshPrivateKey: Type.String({ minLength: 1, }), slug: Type.String({ minLength: 1, }), }) export type ConfigureRepoRequest = Static<typeof ConfigureRepoRequest>

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