grantd

v0.1.0
io.github.rafavecchi/grantd Checked 16 hours ago Published 5 months ago

Grantd 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.

ParameterTypeDescription
provider *stringprovider slug, e.g. "google" or "github"
end_user_idstringthe 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.

ParameterTypeDescription
path *stringprovider API path, e.g. "/user" (github) or "/gmail/v1/users/me/messages/send" (google)
provider *stringprovider slug, e.g. "google" or "github"
bodystringrequest body as a JSON string (for POST/PUT/PATCH)
end_user_idstringthe end-user id; defaults to GRANTD_END_USER
methodstringHTTP method (default GET)