Skip to content
ChatGPT + NIYAM

Use NIYAM from ChatGPT—with your permissions intact.

Bring authorised NIYAM project context and controlled actions into a ChatGPT conversation through one remote MCP connection.

Assisted setup · Founding Beta
Choose the surface

Conversation or code. The boundary is the same.

Use assisted setup in the provider interface, or add the remote endpoint to a server-side API request.

Assisted beta

ChatGPT conversation

NIYAM guides an eligible user or workspace admin through the remote app setup, then ChatGPT can request only the tools your grant allows.

  1. Confirm NIYAM access and your ChatGPT plan or workspace policy.
  2. Choose a small NIYAM tool grant before the remote app is scanned.
  3. Open the NIYAM app in chat and review each sensitive tool request.
ChatGPT custom app setup
Developer path

OpenAI Responses API

Add NIYAM as a remote MCP tool in a server-side Responses request and keep approval enabled.

Remote endpointhttps://mcp.niyam.app/mcp
View the safe example
API reference

Server-side Responses example

Start on your server. Replace only environment values; keep the permission and confirmation controls visible.

  • Keep NIYAM_MCP_TOKEN in a server environment—never ship it to browser code.
  • Send authorization on every Responses request; OpenAI does not store that value.
  • Keep require_approval set to always. NIYAM also keeps its own prepare-and-confirm boundary.
OpenAI MCP documentation
TypeScript
import OpenAI from "openai";

const client = new OpenAI();

const response = await client.responses.create({
  model: process.env.OPENAI_MODEL!,
  input: "What needs attention across my sites today?",
  tools: [
    {
      type: "mcp",
      server_label: "niyam",
      server_description: "Permission-scoped NIYAM project operations.",
      server_url: process.env.NIYAM_MCP_URL!,
      authorization: process.env.NIYAM_MCP_TOKEN!,
      require_approval: "always",
    },
  ],
});

console.log(response.output_text);
NIYAM_MCP_URL=https://mcp.niyam.app/mcpNIYAM_MCP_TOKEN=••••••••
Start with a real job

What to ask ChatGPT.

Plain-language prompts that keep source context and review close to the work.

01

What needs attention across my active sites today?

02

Find the latest approved material request for Tower A.

03

Prepare a task for the waterproofing issue; do not save it yet.

What it helps with

From an answer to a reviewed next step.

Start with the daily jobs your team already understands.

Daily brief

Know what needs attention today

See priorities, risks, unread items and authorized audit activity in chat.

See the daily workflowRead-only by default
Workspace search

Find the answer inside your workspace

Search permission-visible work and get evidence-backed answers without changing records.

See how access worksUses only visible evidence
Site operations

Move site work forward from chat

Prepare sites, tasks, attendance, materials and plans; approve before NIYAM saves sensitive changes.

Explore field operationsReview, then confirm
The boundary

Conversation speed. NIYAM control.

Ask in chat. NIYAM checks access. You confirm sensitive changes.

Your role still applies

MCP never widens what the active NIYAM member can access.

Tools stay selected

The connection grant must allow each supported tool and permission.

Sensitive writes pause

NIYAM prepares the exact change and waits for explicit confirmation.

Straight answers

Know the boundary before you connect.

The short version of access, confirmation and current availability.

How does ChatGPT connect to NIYAM?

NIYAM exposes a remote Streamable HTTP MCP endpoint with OAuth discovery. Founding Beta users receive assisted setup while the durable OAuth rollout is completed.

Does ChatGPT bypass NIYAM permissions?

No. NIYAM enforces the active member, workspace, role, selected connection grant and confirmation boundary for each supported tool.

Is an API integration also supported?

The repository includes an OpenAI Responses API path using a remote MCP tool and bearer authorisation. Availability still follows the NIYAM beta and access gates.

Your next step

Bring NIYAM into ChatGPT.

Open the guided workspace path. Connection remains assisted during Founding Beta.