jenkins_whoami

Return the authenticated Jenkins identity from /whoAmI/api/json.

Server Jenkins Http mdtahmidhossain/jenkins-http-mcp-server
Category Read
Risk class Low
Parameters 00 required

What jenkins_whoami does on Jenkins Http

AI agents call jenkins_whoami to retrieve information from Jenkins Http without modifying anything — typically the context-gathering step in research, monitoring, and reporting workflows, before the agent takes action elsewhere.

Why jenkins_whoami needs a policy

This tool queries the Jenkins /whoAmI/api/json endpoint to retrieve the current authenticated user's identity. It performs no modifications, deletions, or side effects—it simply reads and returns authentication identity data. This is a basic information retrieval operation with minimal blast radius if misused (disclosure of current user identity only).

From the tool's definition Tool name 'jenkins_whoami' and description 'Return the authenticated Jenkins identity from /whoAmI/api/json' indicates a query operation that retrieves identity information without modification.

Questions about jenkins_whoami

What does the jenkins_whoami tool do? +

Return the authenticated Jenkins identity from /whoAmI/api/json. It is categorised as a Read tool in the Jenkins Http MCP Server, which means it retrieves data without modifying state.

How do I enforce a policy on jenkins_whoami? +

Register the Jenkins Http MCP server in PolicyLayer and add a rule for jenkins_whoami: 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 Jenkins Http. Nothing to install.

What risk level is jenkins_whoami? +

jenkins_whoami is a Read tool with low risk. Read-only tools are generally safe to allow by default.

Can I rate-limit jenkins_whoami? +

Yes. Add a rate_limit block to the jenkins_whoami 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.

How do I block jenkins_whoami completely? +

Set action: deny in the PolicyLayer policy for jenkins_whoami. 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.

What MCP server provides jenkins_whoami? +

jenkins_whoami is provided by the Jenkins Http MCP server (mdtahmidhossain/jenkins-http-mcp-server). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.

// LOOK UP ANOTHER SERVER

Every MCP server has a record like this.

Type a name, get the same breakdown: verified identity, auth posture, risk grade, capabilities, recommended policy.

Teams ship this data inside their own products. See what a licence covers →

// GET IN TOUCH

Have a question or want to learn more? Send us a message.

Message sent.

We'll get back to you soon.