grantd
v0.1.0Grantd MCP server: let your AI agent act on a user's behalf across third-party APIs via OAuth.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
list_providers
List the third-party providers Grantd can connect on a user's behalf (e.g. google, github).
check_connection
Check whether an end-user has an active connection to a provider. If not, returns a connect_url to share with them.
| Parameter | Type | Description |
|---|---|---|
provider * | string | provider slug, e.g. "google" or "github" |
end_user_id | string | the end-user id; defaults to GRANTD_END_USER |
create_connect_link
Create an authorization URL an end-user visits to connect a provider account.
| Parameter | Type | Description |
|---|---|---|
provider * | string | provider slug, e.g. "google" or "github" |
end_user_id | string | the end-user id; defaults to GRANTD_END_USER |
call_provider
Make an authorized API call to a provider on behalf of an end-user. The user's OAuth token is injected server-side and never exposed to you. If the user isn't connected, returns an authorization_required result with a connect link — share it with the user, then retry.
| Parameter | Type | Description |
|---|---|---|
path * | string | provider API path, e.g. "/user" (github) or "/gmail/v1/users/me/messages/send" (google) |
provider * | string | provider slug, e.g. "google" or "github" |
body | string | request body as a JSON string (for POST/PUT/PATCH) |
end_user_id | string | the end-user id; defaults to GRANTD_END_USER |
method | string | HTTP method (default GET) |