uber_set_access_token
Set the access token for a user after OAuth callback
This record as markdown: /tools/199-mcp-mcp-uber/uber-set-access-token.md
What uber_set_access_token does on MCP Uber Server
AI agents use uber_set_access_token to create or update resources in MCP Uber Server, usually the action step of a workflow, after the agent has gathered context. Every call changes real data in your MCP Uber Server environment.
Why uber_set_access_token is rated Medium
This tool creates or modifies user authentication credentials (access token) that enable subsequent ride-booking operations. While it doesn't directly move money or delete data, it irreversibly changes authentication state and grants the ability to book/manage rides on behalf of a user.
From the tool's definition Tool sets/modifies the access token state for a user account after OAuth callback. Description explicitly states 'Set the access token', which is a state modification operation.
Attacks that exploit this kind of access
The rule that runs uber_set_access_token safely
PolicyLayer is an MCP gateway: it sits between your AI agents and MCP Uber Server, and checks every tool call against a rule you set before the call runs. Nothing changes on the server itself. For uber_set_access_token, this is the rule to start with:
uber_set_access_token stays usable, but capped: an agent stuck in a loop can't make hundreds of changes a minute. Everything else on the server is denied unless you say otherwise.
The button opens the PolicyLayer dashboard: create your workspace, connect MCP Uber Server, apply this rule, and every uber_set_access_token call is checked against it from then on.
Questions about uber_set_access_token
Set the access token for a user after OAuth callback. It is categorised as a Write tool in the MCP Uber Server MCP Server, which means it can create or modify data. Consider rate limits to prevent runaway writes.
Register the MCP Uber Server MCP server in PolicyLayer and add a rule for uber_set_access_token: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches MCP Uber Server. Nothing to install.
uber_set_access_token is a Write tool with medium risk. Write tools should be rate-limited to prevent accidental bulk modifications.
Yes. Add a rate_limit block to the uber_set_access_token rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.
Set action: deny in the PolicyLayer policy for uber_set_access_token. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.
uber_set_access_token is provided by the MCP Uber Server MCP server (199-mcp/mcp-uber). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
More on MCP Uber Server, and thousands of servers like it.
This server
Across the catalogue