Skip to content

hyprmcp/mcp-who-am-i

Repository files navigation

MCP, Who am I?

This project is a Model Context Protocol (MCP) server that reports auth information about the current request. It parses the Authorization header as JWT and reports some decoded payload items from the JWT. The name is inspired by the whoami coreutils package.

Remote MCP server demo

Unauthenticated "MCP, Who am I" MCP server?

"MCP, Who am I" is hosted on HyprMCP and available at:

https://demo.hyprmcp.cloud/who-am-i-public/mcp

Find specific installation instructions here:

Cursor

Installation Link

Add to Cursor

Manual Installation

Add the following to your mcp.json file:

{
  "mcpServers": {
    "who-am-i-public": {
      "url": "https://demo.hyprmcp.cloud/who-am-i-public/mcp"
    }
  }
}
VSCode

Installation Link

Install in VS Code

Manual Installation

Open a terminal and run the following command:

code --add-mcp '{"type":"http","name":"who-am-i-public","url":"https://demo.hyprmcp.cloud/who-am-i-public/mcp"}'

Then, from inside VS Code, open the .vscode/mcp.json file and click "Start server".

Claude Code

Open a terminal and run the following command:

claude mcp add --transport http who-am-i-public https://demo.hyprmcp.cloud/who-am-i-public/mcp

From within Claude Code, you can use the /mcp command to get more information about the server.

Claude Desktop

Open Claude Desktop and navigate to Settings > Connectors > Add Custom Connector.

Enter the name as who-am-i-public and the remote MCP server URL as https://demo.hyprmcp.cloud/who-am-i-public/mcp.

Windsurf

Copy the following JSON to your Windsurf MCP config file:

{
  "mcpServers": {
    "who-am-i-public": {
      "serverUrl": "https://demo.hyprmcp.cloud/who-am-i-public/mcp"
    }
  }
}
ChatGPT

Note: In Team, Enterprise, and Edu workspaces, only workspace owners and admins have permission

  • Navigate to Settings > Connectors
  • Add a custom connector with the server URL: https://demo.hyprmcp.cloud/who-am-i-public/mcp
  • It should then be visible in the Composer > Deep research tool
  • You may need to add the server as a source

*Connectors can only be used with Deep Research*

Gemini CLI

Add the following JSON to your Gemini CLI configuration file (~/.gemini/settings.json):

{
  "mcpServers": {
    "who-am-i-public": {
      "httpUrl": "https://demo.hyprmcp.cloud/who-am-i-public/mcp",
      "headers": {
        "Accept": "application/json, text/event-stream"
      }
    }
  }
}

by Hypr MCP

Authenticated "MCP, Who am I" MCP server?

"MCP, Who am I" is hosted on HyprMCP and available at:

https://demo.hyprmcp.cloud/who-am-i/mcp

Find specific installation instructions here:

Cursor

Installation Link

Add to Cursor

Manual Installation

Add the following to your mcp.json file:

{
  "mcpServers": {
    "who-am-i-public": {
      "url": "https://demo.hyprmcp.cloud/who-am-i-public/mcp"
    }
  }
}
VSCode

Installation Link

Install in VS Code

Manual Installation

Open a terminal and run the following command:

code --add-mcp '{"type":"http","name":"who-am-i-public","url":"https://demo.hyprmcp.cloud/who-am-i-public/mcp"}'

Then, from inside VS Code, open the .vscode/mcp.json file and click "Start server".

Claude Code

Open a terminal and run the following command:

claude mcp add --transport http who-am-i-public https://demo.hyprmcp.cloud/who-am-i-public/mcp

From within Claude Code, you can use the /mcp command to get more information about the server.

Claude Desktop

Open Claude Desktop and navigate to Settings > Connectors > Add Custom Connector.

Enter the name as who-am-i-public and the remote MCP server URL as https://demo.hyprmcp.cloud/who-am-i-public/mcp.

Windsurf

Copy the following JSON to your Windsurf MCP config file:

{
  "mcpServers": {
    "who-am-i-public": {
      "serverUrl": "https://demo.hyprmcp.cloud/who-am-i-public/mcp"
    }
  }
}
ChatGPT

Note: In Team, Enterprise, and Edu workspaces, only workspace owners and admins have permission

  • Navigate to Settings > Connectors
  • Add a custom connector with the server URL: https://demo.hyprmcp.cloud/who-am-i-public/mcp
  • It should then be visible in the Composer > Deep research tool
  • You may need to add the server as a source

*Connectors can only be used with Deep Research*

Gemini CLI

Add the following JSON to your Gemini CLI configuration file (~/.gemini/settings.json):

{
  "mcpServers": {
    "who-am-i-public": {
      "httpUrl": "https://demo.hyprmcp.cloud/who-am-i-public/mcp",
      "headers": {
        "Accept": "application/json, text/event-stream"
      }
    }
  }
}

by Hypr MCP

Local Usage

You can run the MCP server using NPM:

npx @hyprmcp/mcp-who-am-i@latest

Or you can use Docker:

docker run --rm -p 3000:3000 ghcr.io/hyprmcp/mcp-who-am-i

Development

We recommend that you use mise to manage tool installations. If you prefer to manage tool installations manually, ensure that node and pnpm are installed.

Tasks:

  • pnpm install - install dependencies
  • pnpm build - compile typescript files
  • pnpm start - start the MCP server