Skip to main content
Glama

Tigris MCP Server

Official
by tigrisdata
create-s3-client.ts648 B
import { S3Client } from '@aws-sdk/client-s3'; import { fromIni } from '@aws-sdk/credential-providers'; export function createS3Client() { const { USE_AWS_PROFILES = 'false', AWS_PROFILE = 'default', AWS_ACCESS_KEY_ID = '', AWS_SECRET_ACCESS_KEY = '', AWS_ENDPOINT_URL_S3, AWS_REGION = 'auto', } = process.env; return new S3Client({ credentials: USE_AWS_PROFILES === 'true' ? fromIni({ profile: AWS_PROFILE }) : { accessKeyId: AWS_ACCESS_KEY_ID, secretAccessKey: AWS_SECRET_ACCESS_KEY, }, region: AWS_REGION, endpoint: AWS_ENDPOINT_URL_S3, }); }

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/tigrisdata/tigris-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server