Nhost logo

Nhost

Connects AI coding assistants to Nhost projects for GraphQL operations, configuration, documentation search, and local development tasks.

Install Nhost

Pick your client, then add it in one click or paste the config.

Streamable HTTP (Remote)
Server URL
https://docs.nhost.io/platform/cli/mcp

Remote servers are added in the app, not the config file: Customize → Connectors → Add custom connector, then paste this URL.

Overview

Nhost MCP server connects AI coding assistants to Nhost projects through the Nhost CLI. It can expose a project's GraphQL schema, run permitted queries and mutations, update Nhost Cloud configuration, and search Nhost documentation. In local development, it also supports managing Hasura metadata, permissions, and database migrations. Use it when an assistant needs controlled access to an Nhost backend or local Nhost project.

Use cases

  • Inspect a project's GraphQL schema from an AI coding assistant
  • Run permitted GraphQL queries and mutations
  • Update Nhost Cloud project configuration
  • Search Nhost documentation while developing
  • Manage local metadata, permissions, and migrations

Key features

  • GraphQL schema inspection
  • Controlled GraphQL queries and mutations
  • Nhost Cloud configuration updates
  • Nhost documentation search
  • Local Hasura metadata management
  • Local permissions and migration management

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked Today

Recent health check succeeded.

41/41 checks healthy over the last 37d

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars9.4kStargazers on the source repository.
Last commitTodayMost recent push to the default branch.
Directory activity2 viewsConfig copies, upvotes, and views on AllMCPs.

How Nhost works

What Nhost MCP server does

Nhost MCP server is built into the Nhost CLI and gives MCP-compatible AI coding assistants access to selected Nhost development and project-management operations. Nhost is an open-source backend platform built around PostgreSQL, Hasura, authentication, storage, serverless functions, and a CLI for local development.

The MCP server is intended for assistants working with an Nhost application. It can expose the application's GraphQL schema, execute the queries and mutations permitted by the configuration, modify Nhost Cloud project settings, and search Nhost's documentation. When used with a local Nhost environment, it can also work with Hasura metadata, permissions, and database migrations.

How it works

The MCP server is distributed as part of the Nhost CLI rather than as a separate package. After installing the CLI and initializing an Nhost project, an MCP-compatible client can launch it with the CLI command nhost mcp start.

The available operations depend on the environment and access settings. Cloud projects support project configuration changes, while local development adds metadata, permission, and migration management. GraphQL access is limited to the queries and mutations allowed for the connected project.

Nhost documents a direct Claude Code configuration using:

Terminal
claude mcp add nhost nhost mcp start

The same CLI-based server can be configured for other MCP clients, including Codex, Gemini CLI, and Cursor.

Setup and configuration

Install the Nhost CLI using Homebrew on macOS or Linux, the Nix package, or a package manager such as npm, pnpm, Yarn, or Bun. Then authenticate and create or initialize a project:

bash
nhost login
nhost init
nhost up

Once the CLI environment is ready, add the MCP server to the coding assistant using that client's MCP configuration process. Nhost provides separate access settings for the MCP server and documentation for client-specific setup.

The hosted workflow starts with an Nhost account and project. Local development uses the CLI to run an environment that tracks database migrations and Hasura metadata. Nhost can also be self-hosted, since the platform is open source, but the MCP server's use in that deployment should be configured through the corresponding CLI environment.

Tools and capabilities

  • Read an Nhost project's GraphQL schema.
  • Run permitted GraphQL queries and mutations.
  • Update Nhost Cloud project configuration.
  • Search Nhost documentation from an AI assistant.
  • Manage Hasura metadata in local development.
  • Work with local permissions and database migrations.

Limitations and notes

The server operates through the Nhost CLI, so the CLI must be installed and the relevant Nhost project environment must be available. GraphQL operations are constrained by the queries and mutations allowed for the project. Cloud configuration management and local metadata, permission, and migration operations apply to different development contexts. Nhost identifies the repository and most related open-source projects as MIT licensed.

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Nhost

Nhost is an MCP server that connects AI coding assistants to Nhost projects through the CLI. It lets agents inspect the GraphQL schema, execute permitted queries and mutations, change Nhost Cloud project settings, search Nhost documentation, and, locally, manage metadata, permissions, and migrations.

Install the Nhost CLI, then launch the built-in server with `nhost mcp start`. The CLI is available through Homebrew, Nix, npm, pnpm, Yarn, or Bun. Authenticate and initialize a project with `nhost login`, `nhost init`, and `nhost up` before connecting an assistant.

Yes, Nhost works with Cursor through its MCP configuration. Install the Nhost CLI, prepare the Nhost project, and add the CLI command `nhost mcp start` using Cursor's MCP setup.

Locally, it can read the GraphQL schema, run permitted queries and mutations, and manage Hasura metadata, permissions, and database migrations. The Nhost CLI maintains a local environment that tracks migrations and Hasura metadata.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewNhost AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/nhost?style=directory)](https://allmcps.com/mcp/nhost)
HTML Embed
<a href="https://allmcps.com/mcp/nhost"><img src="https://allmcps.com/api/badge/nhost?style=directory" alt="Nhost on AllMCPs" /></a>