You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The `authInput` object is used to specify which environment varibale should be populated with the OAuth token.
34
+
Gram will then handle the OAuth exchange and automatically supply the token to your function.
35
+
36
+
Note that this will only work if you follow the steps below to enable OAuth for your MCP server.
37
+
38
+
## Adding OAuth to your MCP server
39
+
40
+
Configuring OAuth for a toolset containing Gram Functions is the same as configuring OAuth for any other toolset.
41
+
You can follow the steps in our [guide](/docs/gram/host-mcp/adding-oauth) to get started.
42
+
43
+
## Caveats
44
+
45
+
MCP servers can only have one authentication method. This means that toolsets cannot contain tools that require different forms of OAuth (though they can contain any number of tools that DO NOT require OAuth alongside tools of a single OAuth type).
0 commit comments