Skip to main content
Glama

mcp-google-sheets

index.ts1.27 kB
import { createPiece } from "@activepieces/pieces-framework"; import { PieceCategory } from "@activepieces/shared"; import { createChatCompletion } from "./lib/actions/create-chat-completion"; import { createEmbeddings } from "./lib/actions/create-embeddings"; import { uploadFile } from "./lib/actions/upload-file"; import { listModels } from "./lib/actions/list-models"; import { mistralAuth } from "./lib/common/auth"; import { createCustomApiCallAction } from "@activepieces/pieces-common"; export const mistralAi = createPiece({ displayName: "Mistral AI", description: "Mistral AI provides state-of-the-art open-weight and hosted language models for text generation, embeddings, and reasoning tasks.", auth: mistralAuth, minimumSupportedRelease: "0.36.1", logoUrl: "https://cdn.activepieces.com/pieces/mistral-ai.png", authors: ["sparkybug"], categories: [PieceCategory.ARTIFICIAL_INTELLIGENCE], actions: [ createChatCompletion, createEmbeddings, uploadFile, listModels, createCustomApiCallAction({ auth:mistralAuth, baseUrl:()=>'https://api.mistral.ai/v1', authMapping:async (auth)=>{ return{ Authorization:`Bearer ${auth as string}` } } }) ], triggers: [], });

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