Grantex MCP Server

Grantex is an open-source delegated authorization protocol and reference implementation for AI agents. It gives each agent a verifiable identity and

Local serverstdioPython

What is the Grantex MCP server?

Grantex MCP server is a locally run integration for AI assistants that speak the Model Context Protocol. Grantex is an open-source delegated authorization protocol and reference implementation for AI agents. It gives each agent a verifiable identity and scoped, time-limited, revocable authority from a human or organization, with multi-agent.

What the assistant can call

Once Grantex is connected, these are the calls the assistant has available:

  • TypeScript — // Create a SAML 2.0 connection await grantex.sso.createConnection({ name: 'Azure AD SAML', protocol: 'saml', idpEntityId

Setting it up

@grantex/sdk on npm is all you need. Most clients run it directly, so configuration is a few lines and a restart.

Configuration and credentials

You will need 3 environment variables: GRANTEX_API_KEY, CLIENT_ID, CLIENT_SECRET. The server will not start without them, which is usually why the tools fail to appear on a first run. Keep credentials in your client's env block or a secrets manager rather than in a file you might commit.

Choosing this one

Among the cloud and infrastructure options, the useful question is rarely "what can it do" but "what does it cost you to run" — permissions, credentials, and how much of your context its toolset consumes. Grantex's toolset — TypeScript — is a fair guide to whether it matches your workflow. It is maintained by mishrasanjeev; worth a glance at recent repository activity before you build anything load-bearing on it.

SyncDev reviews every entry in this directory against the project's own documentation before publishing, and revisits them as servers change.

Before you rely on it

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • Missing credentials fail quietly in some clients — if no tools show up, check the environment block first.
  • MCP clients confirm each tool call by default. Leave that on until you have watched what the grantex mcp server does with a few real requests.

Available tools

ToolWhat it does
TypeScript// Create a SAML 2.0 connection await grantex.sso.createConnection({ name: 'Azure AD SAML', protocol: 'saml', idpEntityId: 'https://sts.windows.net/tenant-id/', idpSsoUrl: 'https://login.microsoftonline.com/tenant-id/sam

How to install the Grantex MCP server

{
  "mcpServers": {
    "grantex": {
      "command": "npx",
      "args": ["-y", "@grantex/sdk"],
      "env": {
        "GRANTEX_API_KEY": "your-value",
        "CLIENT_ID": "your-value",
        "CLIENT_SECRET": "your-value"
      }
    }
  }
}

Add to claude_desktop_config.json, then restart Claude Desktop.

Configuration

VariableDescriptionRequired
GRANTEX_API_KEYCredential the server authenticates with.Yes
CLIENT_IDConfiguration value read at startup.Optional
CLIENT_SECRETCredential the server authenticates with.Yes

Example prompts to try

  • Use Grantex to TypeScript.

Frequently asked questions

It connects Grantex to MCP-compatible AI assistants such as Claude and Cursor, exposing 1 tool (TypeScript) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with Grantex directly.