mcp-supabase
Enables interaction with Supabase databases, including listing tables, querying, inserting, updating, deleting records, and executing RPC functions.
README
MCP Supabase Server
Este é um servidor MCP (Model Context Protocol) para interagir com o Supabase. Ele permite listar tabelas, consultar dados, inserir, atualizar e deletar registros diretamente através de um cliente MCP como o Trae ou Claude Desktop.
Ferramentas Disponíveis
list_tables: Lista todas as tabelas no esquemapublic.get_schema: Retorna o esquema (colunas) de uma tabela específica.select_data: Seleciona dados de uma tabela com filtros opcionais.tableName(obrigatório): Nome da tabela.columns(opcional): Colunas a selecionar (padrão:*).filter(opcional): Objeto chave-valor para filtrar (ex:{"status": "active"}).limit(opcional): Limite de registros (padrão:10).
insert_data: Insere dados em uma tabela.tableName(obrigatório): Nome da tabela.data(obrigatório): Objeto com os dados a inserir.
update_data: Atualiza dados em uma tabela pelo ID.tableName(obrigatório): Nome da tabela.id(obrigatório): ID do registro.data(obrigatório): Dados a atualizar.idColumn(opcional): Nome da coluna de ID (padrão:id).
delete_data: Deleta dados de uma tabela pelo ID.tableName(obrigatório): Nome da tabela.id(obrigatório): ID do registro.idColumn(opcional): Nome da coluna de ID (padrão:id).
run_rpc: Executa uma função RPC (Stored Procedure).functionName(obrigatório): Nome da função.params(opcional): Parâmetros da função.
Instalação
- Clone este repositório.
- Instale as dependências:
npm install - Compile o projeto:
npm run build
Configuração
O servidor utiliza variáveis de ambiente para conectar ao Supabase.
SUPABASE_URL: URL do seu projeto Supabase.SUPABASE_KEY: Chave de API (anon ou service_role).
Integração com Trae / Claude Desktop
Adicione a seguinte configuração ao seu arquivo de configuração de servidores MCP:
{
"mcpServers": {
"supabase": {
"command": "node",
"args": ["/caminho/para/mcp-supabase/dist/index.js"],
"env": {
"SUPABASE_URL": "sua_url_do_supabase",
"SUPABASE_KEY": "sua_chave_do_supabase"
}
}
}
}
Para usar via npx (se publicado):
{
"mcpServers": {
"supabase": {
"command": "npx",
"args": ["-y", "mcp-supabase"],
"env": {
"SUPABASE_URL": "sua_url_do_supabase",
"SUPABASE_KEY": "sua_chave_do_supabase"
}
}
}
}
Desenvolvimento
Para rodar em modo de desenvolvimento:
npm run dev
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.