Skip to content
Claude + NIYAM

Bring controlled NIYAM project work into Claude.

Use the same remote NIYAM MCP endpoint from a Claude conversation while NIYAM continues to enforce workspace scope and confirmation.

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

Claude custom connector

An eligible Claude user or workspace owner adds NIYAM's HTTPS endpoint, then enables the connector in a conversation.

  1. Confirm NIYAM access and your Claude plan or workspace policy.
  2. Add the remote URL as a custom connector with the smallest tool grant.
  3. Enable NIYAM in the conversation and review sensitive proposals before save.
Claude custom connector setup
Developer path

Claude Messages API

Declare the remote server and matching MCP toolset in a server-side Claude Messages request.

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

Server-side Messages 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.
  • Use an HTTPS URL and keep the mcp_server_name equal to the server name.
  • The current connector beta header is mcp-client-2025-11-20.
Claude MCP connector documentation
TypeScript
import Anthropic from "@anthropic-ai/sdk";

const client = new Anthropic();

const message = await client.beta.messages.create({
  model: process.env.CLAUDE_MODEL!,
  max_tokens: 1024,
  messages: [
    {
      role: "user",
      content: "Summarise today's site risks and cite the source records.",
    },
  ],
  betas: ["mcp-client-2025-11-20"],
  mcp_servers: [
    {
      type: "url",
      url: process.env.NIYAM_MCP_URL!,
      name: "niyam",
      authorization_token: process.env.NIYAM_MCP_TOKEN!,
    },
  ],
  tools: [{ type: "mcp_toolset", mcp_server_name: "niyam" }],
});

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

What to ask Claude.

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

01

Summarise today's site risks and show the source records.

02

Prepare this reviewed bill as an expense; wait for my approval.

03

Draft a project update from the latest reviewed records.

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 Claude connect to NIYAM?

NIYAM exposes one remote MCP endpoint for Claude custom connector and Messages API MCP connector paths. Founding Beta users receive assisted setup today.

Does Claude bypass NIYAM permissions?

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

Can Claude change a finance record immediately?

No. Supported sensitive finance actions are prepared first and require an explicit confirmed action before NIYAM saves them.

Your next step

Bring NIYAM into Claude.

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