Exograph

v1.0.0Databasesstable

Build production-ready backends in minutes

access-controlapiauthorizationawslambdacloudflare-workers
Share:
347
Stars
0
Downloads
0
Weekly
0/5

What is Exograph?

Exograph is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to build production-ready backends in minutes

Build production-ready backends in minutes

This server falls under the Databases category on MCPgee, the world's largest MCP server directory with 33,000+ servers.

Features

  • Build production-ready backends in minutes

Use Cases

Build production backends quickly
API and access control management
Cloud deployment support
exograph

Maintainer

LicenseNOASSERTION
Languagerust
Versionv1.0.0
UpdatedMay 21, 2026
Statushealthy
Maintenanceactive

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

Manual Installation

npx exograph

Configuration

Configuration Details

Config File

claude_desktop_config.json

Performance

Response Metrics

Response Time< 200ms
ThroughputMedium

Resource Usage

Memory UsageLow
CPU UsageLow

How to Set Up and Use Exograph

Exograph is a declarative backend framework that generates flexible, secure, and performant GraphQL APIs from a concise data model definition, with built-in access control and cloud deployment support. It integrates with ecosystems like Next.js, Auth0, Clerk, and can be deployed to AWS Lambda, Cloudflare Workers, Fly.io, and Deno. Teams looking to build production-ready backends without hand-coding resolvers, auth middleware, or database migrations will find Exograph dramatically reduces boilerplate while maintaining full control over security policies.

Prerequisites

  • Node.js 18+ or Deno runtime installed
  • A PostgreSQL database (local or cloud-hosted)
  • Exograph CLI installed (`npm install -g @exograph/cli` or via the getting started guide)
  • An MCP-compatible client such as Claude Desktop
  • Basic understanding of GraphQL schema concepts
1

Install the Exograph CLI

Install the Exograph CLI tool which provides project scaffolding, local development server, and deployment commands.

npm install -g @exograph/cli
2

Create a new Exograph project

Scaffold a new project with the init command. This creates an `exo` schema file where you declare your data model and access control rules.

exo new my-backend && cd my-backend
3

Define your data model

Edit the generated `.exo` schema file to declare your types, fields, and access control policies. Exograph automatically derives GraphQL queries, mutations, and subscriptions from this definition.

// src/index.exo
context AuthContext {
  @jwt role: String
}

@postgres
module TodoModule {
  @access(query: AuthContext.role == "user", mutation: AuthContext.role == "admin")
  type Todo {
    @pk id: Uuid = generate_uuid()
    title: String
    completed: Boolean = false
  }
}
4

Start the local development server

Launch the Exograph development server, which connects to your PostgreSQL database and starts the GraphQL endpoint with live reload.

EXO_POSTGRES_URL=postgresql://user:pass@localhost/mydb exo dev
5

Configure Claude Desktop to use Exograph MCP

Add the Exograph server to your Claude Desktop config to enable natural language interaction with your backend schema and data.

{
  "mcpServers": {
    "exograph": {
      "command": "npx",
      "args": ["exograph"],
      "env": {
        "EXO_POSTGRES_URL": "postgresql://user:pass@localhost/mydb"
      }
    }
  }
}
6

Deploy to production

Use the Exograph CLI to deploy your backend to your chosen cloud target. The CLI handles schema migrations, environment configuration, and platform-specific packaging.

exo deploy --target fly

Exograph Examples

Client configuration

Claude Desktop configuration for Exograph, with the PostgreSQL connection string passed as an environment variable.

{
  "mcpServers": {
    "exograph": {
      "command": "npx",
      "args": ["exograph"],
      "env": {
        "EXO_POSTGRES_URL": "postgresql://user:password@localhost:5432/myapp"
      }
    }
  }
}

Prompts to try

Use Claude to explore, generate, and reason about your Exograph backend schema and GraphQL API.

- "Generate an Exograph schema for a blog with posts, authors, and comments with role-based access control"
- "Show me what GraphQL mutations are available for my Todo type"
- "Add a new field 'dueDate' of type DateTime to the Todo type with appropriate access rules"
- "Write a GraphQL query to fetch all incomplete todos assigned to the current user"
- "Help me add Auth0 JWT authentication to my Exograph backend"

Troubleshooting Exograph

Database connection fails on `exo dev`

Verify that `EXO_POSTGRES_URL` uses the correct format: `postgresql://user:password@host:port/dbname`. Ensure PostgreSQL is running and the specified database exists. The user must have CREATE TABLE privileges for Exograph to apply migrations.

Access control rules are blocking expected queries

Check your `@access` annotations in the `.exo` schema. Ensure the JWT context is properly configured and that the token contains the expected claims matching your access expressions. Use `exo dev` with verbose logging to inspect auth decisions.

Deployment fails on Cloudflare Workers or AWS Lambda

Make sure to build the project with `exo build` before deploying to edge targets. Edge deployments require Exograph's WASM runtime — check that the target platform supports the required WASM size limits and environment variable configuration.

Frequently Asked Questions about Exograph

What is Exograph?

Exograph is a Model Context Protocol (MCP) server that build production-ready backends in minutes It connects AI assistants to external tools and data sources through a standardized interface.

How do I install Exograph?

Follow the installation instructions on the Exograph GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.

Which AI clients work with Exograph?

Exograph works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.

Is Exograph free to use?

Yes, Exograph is open source and available under the NOASSERTION license. You can use it freely in both personal and commercial projects.

Browse More Databases MCP Servers

Explore all databases servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.

Quick Config Preview

{ "mcpServers": { "exograph": { "command": "npx", "args": ["-y", "exograph"] } } }

Add this to your claude_desktop_config.json or .cursor/mcp.json

Read the full setup guide →

Ready to use Exograph?

Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.

33,000+ ServersFree & Open SourceStep-by-Step Guides