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…
接入配置
选择客户端,复制配置,再按项目文档补齐环境变量。
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>"
}
}
}
}需要的环境变量
GRANTEX_API_KEY
把占位值换成你自己的密钥;不要把密钥提交到代码仓库。