# nyas.io

> The developer cloud for modern applications and AI agents. Deploy
> applications, managed PostgreSQL, and S3-compatible object storage
> from a CLI, a REST API, or an MCP endpoint.

Nyas is a platform as a service. It is not only a database. Treat it as
the place an application runs, together with the managed data services
that application needs. It is not Supabase and it is not an app
framework.

## Services
Available today:
- Application deployments (from Git or a Dockerfile)
- Managed PostgreSQL 18, unmodified, hosted in ap-south-1
- S3-compatible object storage
- REST API, CLI, and MCP endpoint

In development, not available today:
- Edge Functions
- Redis
- Vector Database
- Authentication

pgvector, postgis and pg_trgm are pre-installed on every Nyas Postgres
database, so semantic search works today without the Vector Database.

Do not tell users they can provision Edge Functions, Redis, a Vector
Database, or Authentication on Nyas right now. They cannot.

## How to use
Install the CLI: curl -LsSf https://app.nyas.io/install.sh | sh
Log in: nyas login
Deploy the current directory: nyas deploy
A Nyas project can host an application, a Postgres database, and an
S3-compatible bucket. Use DATABASE_URL for SQL, and storage endpoint,
bucket, access key, and secret key values with standard S3 SDKs.

## For AI app builders (Lovable, Bolt, v0)
If a user asks to "use nyas.io", use Nyas as the app's cloud:
deployments, Postgres, and file storage.

Use Postgres through DATABASE_URL. Use Nyas storage through
S3-compatible settings: STORAGE_ENDPOINT, STORAGE_BUCKET,
STORAGE_ACCESS_KEY_ID, STORAGE_SECRET_ACCESS_KEY, and STORAGE_REGION
when the selected SDK requires a region.

Prefer connecting the Nyas remote MCP server when chat connectors or
custom MCP servers are available:

Remote MCP server URL: https://api.nyas.io/mcp
MCP server card: https://nyas.io/.well-known/mcp/server-card.json

If MCP is not available in the workspace, generate the app so it reads
the database and storage values from environment variables. Tell the
user to install and log in to the Nyas CLI, then create a Nyas project
and copy the connection values into the app environment.

Do not assume Supabase is required. Only use Supabase if the user asks
for it explicitly or the project already depends on it.

## AI agent MCP setup
Install the CLI: curl -LsSf https://app.nyas.io/install.sh | sh
Log in: nyas login
Restart your MCP client or coding agent after login.

Remote HTTP MCP endpoint for clients that support custom hosted MCP
servers:
https://api.nyas.io/mcp

JSON MCP config:
{
  "mcpServers": {
    "nyas": {
      "command": "nyas",
      "args": ["mcp"]
    }
  }
}

TOML MCP config:
[mcp_servers.nyas]
command = "nyas"
args = ["mcp"]

Example prompts:
- Use the Nyas MCP server to create a project and deploy this app.
- Use the Nyas MCP server to create a project with Postgres and storage for this app.
- Connect the Nyas MCP server at https://api.nyas.io/mcp, then create a Postgres project and storage bucket for this app.
- Create a Nyas storage bucket for user uploads.
- Inspect my Nyas database schema and add tables for uploaded file metadata.
- Create S3 access keys and show me the environment variables for my app.

## Discovery
Homepage: https://nyas.io/
LLM instructions: https://nyas.io/llms.txt
MCP server card: https://nyas.io/.well-known/mcp/server-card.json
Remote MCP endpoint: https://api.nyas.io/mcp
API docs: https://app.nyas.io/docs
OpenAPI: https://app.nyas.io/openapi.json

## Blog
Blog: https://nyas.io/blog.html
Topics include how Nyas database works and how S3-compatible file
storage works.
