# Bcrypt and JOSE Token Service

The Bcrypt and JOSE Token Service MCP server hashes passwords with bcrypt and creates or checks JWT tokens. It fits agent workflows that need session-token operations.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · 4003 installs
- Author: a2a
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://smithery.ai/server/a2a/auth-token-service
- Updated: 2026-05-31
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/mcp/bcrypt-and-jose-token-service

## What it does

Bcrypt and JOSE Token Service exposes two tools. `invoke` handles bcrypt password hashing and JWT session-token issuance or verification. `selftest` runs the service against a fixed input, then returns the actual result and a trust manifest with a signed Agent Card, JWKS, a governance/licence chain, and proof links for its claims.

The service is reached through the remote MCP endpoint `https://auth-token-service--a2a.run.tools`, rather than through a local package. Claude Code has two setup commands for the same endpoint, each using a different server name. Keeping one alias is the clearer configuration unless both names are needed.

## Requirements
- Remote server: `https://auth-token-service--a2a.run.tools`

## Install

### Claude Code (native platform)

**Platform CLI: remote server**
```bash
claude mcp add --transport http auth-token-service https://auth-token-service--a2a.run.tools
```

### Codex

**Platform CLI: remote server**
```bash
codex mcp add bcrypt-and-jose-token-service --url https://auth-token-service--a2a.run.tools
```

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "bcrypt-and-jose-token-service": {
            "url": "https://auth-token-service--a2a.run.tools"
        }
    }
}
```

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "bcrypt-and-jose-token-service": {
            "type": "http",
            "url": "https://auth-token-service--a2a.run.tools"
        }
    }
}
```

### Gemini CLI

**Platform CLI: remote server**
```bash
gemini mcp add -t http bcrypt-and-jose-token-service https://auth-token-service--a2a.run.tools
```

## When to use it
- hash passwords with bcrypt
- issue JWT session tokens
- verify JWT tokens
- run a capability self-test

## Example prompts
- Ask the MCP server to hash this password with `invoke`.
- Use `invoke` to issue a JWT session token for these claims.
- Run `selftest` and return the service result with its trust manifest.

## Similar
- [hedera-token-service](https://affpapa.org/en/nevibecode/skills/hedera-token-service.md) — skill · 680 installs
- [Hash Generator — MD5, SHA256, SHA512, bcrypt](https://affpapa.org/en/nevibecode/mcp/hash-generator-md5-sha256-sha512-bcrypt.md) — MCP server · 2721 installs
- [NFT Metadata — Token Image, Attributes & Collection Info](https://affpapa.org/en/nevibecode/mcp/nft-metadata-token-image-attributes-collection-info.md) — MCP server · 6157 installs
- [Token Holder Analysis — Distribution & Whale Detection](https://affpapa.org/en/nevibecode/mcp/token-holder-analysis-distribution-whale-detection.md) — MCP server · 5218 installs
- [Wallet Portfolio — Multi-Chain Token Holdings](https://affpapa.org/en/nevibecode/mcp/wallet-portfolio-multi-chain-token-holdings.md) — MCP server · 5148 installs
- [Crypto News Feed — Sentiment Scores & Token Mentions](https://affpapa.org/en/nevibecode/mcp/crypto-news-feed-sentiment-scores-token-mentions.md) — MCP server · 3755 installs

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
