# Building ChatGPT Apps with Supabase Edge Functions and mcp-use

DevFeed: [Building ChatGPT Apps with Supabase Edge Functions and mcp-use](<https://devfeed.tech/articles/building-chatgpt-apps-with-supabase-edge-functions-and-mcp-use-327.md>)

Original publisher: [Read original article](<https://supabase.com/blog/building-chatgpt-apps-with-supabase>)

Author: Pedro Rodrigues

Published: 2025-12-17T07:00:00Z

Content type: tutorial

Language: en

Sources: [Supabase Blog](<https://devfeed.tech/sources/supabase-blog.md>)

Topics: [ChatGPT](<https://devfeed.tech/topics/chatgpt.md>), [Supabase](<https://devfeed.tech/topics/supabase.md>), [Model Context Protocol](<https://devfeed.tech/topics/model-context-protocol.md>), [MCP Server](<https://devfeed.tech/topics/mcp-server.md>), [Hono](<https://devfeed.tech/topics/honojs.md>), [TypeScript](<https://devfeed.tech/topics/typescript.md>), [Databases](<https://devfeed.tech/topics/databases.md>), [SDK](<https://devfeed.tech/topics/sdk.md>), [SQL](<https://devfeed.tech/topics/sql.md>), [Express](<https://devfeed.tech/topics/express.md>), [Serverless](<https://devfeed.tech/topics/serverless.md>), [Cloudflare Workers](<https://devfeed.tech/topics/cloudflare-workers.md>)

Tags: [apps](<https://devfeed.tech/tags/apps.md>), [backend](<https://devfeed.tech/tags/backend.md>), [building](<https://devfeed.tech/tags/building.md>), [chatgpt](<https://devfeed.tech/tags/chatgpt.md>), [cloudflare-workers](<https://devfeed.tech/tags/cloudflare-workers.md>), [data](<https://devfeed.tech/tags/data.md>), [database](<https://devfeed.tech/tags/database.md>), [framework](<https://devfeed.tech/tags/framework.md>), [frontend](<https://devfeed.tech/tags/frontend.md>), [guide](<https://devfeed.tech/tags/guide.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [interfaces](<https://devfeed.tech/tags/interfaces.md>), [mcp](<https://devfeed.tech/tags/mcp.md>), [mcp-server](<https://devfeed.tech/tags/mcp-server.md>), [node-js](<https://devfeed.tech/tags/node-js.md>), [open-source](<https://devfeed.tech/tags/open-source.md>), [openai](<https://devfeed.tech/tags/openai.md>), [serverless](<https://devfeed.tech/tags/serverless.md>), [typescript](<https://devfeed.tech/tags/typescript.md>), [web](<https://devfeed.tech/tags/web.md>)

## AI overview

This tutorial explains how to build a ChatGPT app connected to a Supabase database. It uses the open source mcp-use TypeScript SDK to deploy an MCP server on Supabase Edge Functions, enabling schema exploration, table-data viewing, SQL queries, and interactive widgets.

## Source excerpt

Learn how to build a ChatGPT app that connects to your Supabase database using mcp-use and Edge Functions. Create interactive widgets for schema exploration, data viewing, and SQL queries.