grantex is the identity, authorization, and audit infrastructure for AI agents — the "OAuth moment" for the agentic internet. We provide a universal SDK and cloud service that lets any AI agent act on behalf of a human with scoped, revocable permissions, cryptographic identity, and an immutable…
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add grantex --env GRANTEX_API_KEY='<GRANTEX_API_KEY>' -- npx -y @grantex/mcp~/.codex/config.toml
[mcp_servers.grantex]
command = "npx"
args = ["-y", "@grantex/mcp"]
env = { GRANTEX_API_KEY = "<GRANTEX_API_KEY>" }
# codex mcp add grantex --env GRANTEX_API_KEY='<GRANTEX_API_KEY>' -- npx -y @grantex/mcp~/.cursor/mcp.json
{
"mcpServers": {
"grantex": {
"command": "npx",
"args": [
"-y",
"@grantex/mcp"
],
"env": {
"GRANTEX_API_KEY": "<GRANTEX_API_KEY>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"grantex": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@grantex/mcp"
],
"env": {
"GRANTEX_API_KEY": "<GRANTEX_API_KEY>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"grantex": {
"command": "npx",
"args": [
"-y",
"@grantex/mcp"
],
"env": {
"GRANTEX_API_KEY": "<GRANTEX_API_KEY>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"grantex": {
"command": "npx",
"args": [
"-y",
"@grantex/mcp"
],
"env": {
"GRANTEX_API_KEY": "<GRANTEX_API_KEY>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"grantex": {
"command": "npx",
"args": [
"-y",
"@grantex/mcp"
],
"env": {
"GRANTEX_API_KEY": "<GRANTEX_API_KEY>"
}
}
}
}Environment variables
GRANTEX_API_KEY
Replace the placeholders with your own credentials and keep them out of version control.