A Model Context Protocol server
Supabase Nextjs MCP server is a locally run integration for AI assistants that speak the Model Context Protocol. A Model Context Protocol server.
This is a TypeScript-based MCP server that implements a simple notes system for NextJS. It demonstrates core MCP concepts by providing:
Once Supabase Nextjs is connected, these are the calls the assistant has available:
create_note — Create new text notesInit — The Init tool exposed by this serverResources — The Resources tool exposed by this serverTools — The Tools tool exposed by this serverPrompts — The Prompts tool exposed by this serverDebugging — Since MCP servers communicate over stdio, debugging can be challenging. We recommend using the [MCPThe server ships on npm as @smithery/cli, so your MCP client can launch it on demand — there is no separate build step. Add the server block to your client's configuration, restart it, and the tools register themselves.
You will need 2 environment variables: NEXT_PUBLIC_SUPABASE_URL, NEXT_PUBLIC_SUPABASE_ANON_KEY. The server will not start without them, which is usually why the tools fail to appear on a first run. Keep credentials in your client's env block or a secrets manager rather than in a file you might commit.
Plenty of developer tooling servers cover similar ground. The differences that matter in practice are scope of access and how much setup stands between you and a working tool call. Supabase Nextjs's toolset — create_note, Init, Resources and 3 more — is a fair guide to whether it matches your workflow. It is maintained by tengfone; worth a glance at recent repository activity before you build anything load-bearing on it.
We check each listing at SyncDev against the project's documentation before it goes live — if something here drifts out of date, it is a bug worth reporting.
| Tool | What it does |
|---|---|
| create_note | Create new text notes |
| Init | The Init tool exposed by this server. |
| Resources | The Resources tool exposed by this server. |
| Tools | The Tools tool exposed by this server. |
| Prompts | The Prompts tool exposed by this server. |
| Debugging | Since MCP servers communicate over stdio, debugging can be challenging. We recommend using the [MCP Inspector](https://github.com/modelcontextprotocol/inspector), which is available as a package script: |
{
"mcpServers": {
"supabase-nextjs": {
"command": "npx",
"args": ["-y", "@smithery/cli"],
"env": {
"NEXT_PUBLIC_SUPABASE_URL": "your-value",
"NEXT_PUBLIC_SUPABASE_ANON_KEY": "your-value"
}
}
}
}Add to claude_desktop_config.json, then restart Claude Desktop.
| Variable | Description | Required |
|---|---|---|
| NEXT_PUBLIC_SUPABASE_URL | Endpoint or connection string the server talks to. | Yes |
| NEXT_PUBLIC_SUPABASE_ANON_KEY | Credential the server authenticates with. | Yes |
Kill hallucinated APIs — version-accurate, up-to-date library documentation injected straight into context.
Microsoft's official browser automation server — drive a real browser through the accessibility tree, no screenshots needed.
GitHub's official server — repos, issues, pull requests, Actions and code security, straight from your assistant.
Issue tracking at the speed of conversation — Linear's official hosted server with OAuth and zero install.
Local repository surgery — status, diffs, commits, branches and history for any repo on disk.
Timezone sanity for AI — current time anywhere and correct conversions, without the model doing date math.