grantd
v0.1.0Grantd MCP server: let your AI agent act on a user's behalf across third-party APIs via OAuth.
Values you need
| Variable | What it is | |
|---|---|---|
GRANTD_API_KEY | required secret | A Grantd secret key (sk_...). Treat it like a password. |
GRANTD_BASE_URL | optional | Base URL of your Grantd broker (default http://localhost:8787). |
GRANTD_END_USER | optional | Default end-user id so tools don't need it passed each call. |
npm (npx) discovery passed
Requires Node.js 18+
Run in a terminal
claude mcp add grantd -e 'GRANTD_API_KEY=<GRANTD_API_KEY>' -- npx -y grantd-mcp@0.1.0Add to
claude_desktop_config.json{
"mcpServers": {
"grantd": {
"args": [
"-y",
"grantd-mcp@0.1.0"
],
"command": "npx",
"env": {
"GRANTD_API_KEY": "<GRANTD_API_KEY>"
}
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"grantd": {
"args": [
"-y",
"grantd-mcp@0.1.0"
],
"command": "npx",
"env": {
"GRANTD_API_KEY": "<GRANTD_API_KEY>"
}
}
}
}Add to
.vscode/mcp.json{
"inputs": [
{
"description": "GRANTD_API_KEY",
"id": "grantd-api-key",
"password": true,
"type": "promptString"
}
],
"servers": {
"grantd": {
"args": [
"-y",
"grantd-mcp@0.1.0"
],
"command": "npx",
"env": {
"GRANTD_API_KEY": "${input:grantd-api-key}"
},
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.grantd]
command = "npx"
args = ["-y", "grantd-mcp@0.1.0"]
env = { "GRANTD_API_KEY" = "<GRANTD_API_KEY>" }For AI agents
- Ask the user for: GRANTD_API_KEY. Never invent or guess these values; secrets go into the client config, not into chat logs.
- Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
- Restart or reload the client so it starts the server.
- Verify: the server should expose these tools: list_providers, check_connection, create_connect_link, call_provider.
- If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.
Machine-readable: install.md · manifest.json