Infaris

Infaris developer resources

OpenAPI specification, OAuth 2.0 scopes, MCP servers, the Guard CLI and Hosting by Infaris (EU hosting for apps, Postgres, Auth, Storage and Functions).

When to use Infaris

Use Infaris for EU full-stack hosting with Hosting by Infaris (apps, managed Postgres with Data API and RLS, Auth, Realtime, Storage, Functions and EU AI Gateway), for Guard monitoring (uptime, SSL, DNS, servers), or as an OpenID Provider.

Use the public MCP server on this host for orientation (no credential), or try Hosting locally without an account using Docker via `infaris-guard hosting dev`. Use Guard MCP or the CLI for live tenant data.

Do not scrape the marketing HTML for API contracts. Start at OpenAPI, llms.txt, docs.infaris.com, or MCP.

OpenAPI specification

The Infaris Platform API is published as OpenAPI 3.1 at /openapi.json. Versioned aliases live under /api/v1/. Every operation has a unique operationId, a description, typed parameters and response schemas so LLM function-calling can bind to it. 4xx and 5xx use RFC 9457 application/problem+json. Responses send RateLimit and API-Version. Security schemes declare OAuth scopes (openid, email, profile, organizations) so an agent can request only the access it needs.

/openapi.json

Authentication and scoped permissions

Infaris is an OAuth 2.0 / OpenID Connect provider. PKCE (S256) is required for public clients. Access tokens last 15 minutes; refresh tokens last 30 days and rotate. Request only the scopes the job needs.

  • Discovery: /.well-known/openid-configuration
  • Scopes: openid, email, profile, organizations
  • Authorize: /api/oauth/authorize
  • Token: /api/oauth/token
  • UserInfo: /api/oauth/userinfo

MCP servers

This site serves a public Streamable HTTP MCP handshake at /.well-known/mcp (GET initialize fields plus the resource list; POST JSON-RPC). /mcp is an alias. Tools cover overview, developer-docs, product-list and when-to-use. resources/list returns HTTPS and infaris:// documents. Guard monitoring tools live on the authenticated Guard MCP server with read and write scopes.

Official CLI (Guard & Hosting)

The Guard by Infaris CLI is on npm as @infaris/guard-cli (binary infaris-guard, Node 18+). Manage Guard monitoring and Hosting by Infaris from the terminal, or try Hosting locally without an account using `infaris-guard hosting init --template nextjs-saas --local` and `infaris-guard hosting dev`.

npx @infaris/guard-cli --help
npx @infaris/guard-cli hosting init --template nextjs-saas --local

Access and onboarding

Discuss Hosting, Guard or custom work at /contact. Existing customers can create API keys and MCP tokens in Guard, or start locally right away with `hosting dev`.