Skip to main content
Glama
aliyun

Alibaba Cloud Supabase MCP Server

Official
by aliyun
development-tools.ts1.32 kB
import { z } from 'zod'; import type { SupabasePlatform } from '../platform/types.js'; import { injectableTool } from './util.js'; export type DevelopmentToolsOptions = { platform: SupabasePlatform; projectId?: string; }; export function getDevelopmentTools({ platform, projectId, }: DevelopmentToolsOptions) { const project_id = projectId; return { get_project_url: injectableTool({ description: 'Gets the API URL for a project.', parameters: z.object({ project_id: z.string(), }), inject: { project_id }, execute: async ({ project_id }) => { return platform.getProjectUrl(project_id); }, }), get_anon_key: injectableTool({ description: 'Gets the anonymous API key for a project.', parameters: z.object({ project_id: z.string(), }), inject: { project_id }, execute: async ({ project_id }) => { return platform.getAnonKey(project_id); }, }), generate_typescript_types: injectableTool({ description: 'Generates TypeScript types for a project.', parameters: z.object({ project_id: z.string(), }), inject: { project_id }, execute: async ({ project_id }) => { return platform.generateTypescriptTypes(project_id); }, }), }; }

Latest Blog Posts

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/aliyun/alibabacloud-supabase-mcp-server'

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