Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
DEBUGNoSet to true for debug logging to stderrfalse
NDHM_URLNoABDM gateway auth URLhttps://dev.abdm.gov.in
NHCX_ENVNoEnvironment: sandbox, staging, productionsandbox
PAYER_IDNoYour payer code (used as receivercode in API calls)1518
MEMBER_IDNoDefault patient ABHA/PMJAY member ID for testing
SENDER_CODENoDefault provider/sender code for testing
NHCX_RETRIESNoAuto-retries on transient errors (5xx, network)0
NHCX_TIMEOUTNoAPI request timeout in milliseconds30000
NDHM_CLIENT_IDYesABDM gateway client ID (sandbox: SBX_000XXX)
NDHM_CLIENT_SECRETYesABDM gateway client secret
NHCX_USER_ROLE_URLNoBase URL for get/user-role endpoint
NHCX_PROCESS_CASE_URLNoBase URL for process/case endpoint

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
nhcx_validate_configA

Validate all environment variables and test connectivity to NHCX APIs. Run this first to confirm your setup is correct.

nhcx_loginA

Authenticate with the ABDM gateway V3 and cache a session token (15 min). Useful as a connectivity check — all other tools auto-authenticate.

nhcx_get_user_roleA

Get the current payer role for a case and the allowed actions for that role. Always call this before processing a case.

nhcx_process_caseB

Act as a payer and perform an action on a case: Approve, Reject, Query, Forward, Pending, cpdApprove, cpdReject, iQuery. The usecase is derived automatically from the action. The caseId, action, senderCode, memberId, and correlationId are required.

nhcx_workflowA

Show the full payer workflow: steps, usecase per step, roles, and allowed actions.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/umeshramya/nhcx-payer-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server