Token Info MCP

by Castrozan

123 downloads
Not rated
GitHub

About

Token Info MCP is a Model Context Protocol server that validates and retrieves detailed information about OAuth tokens from Betha Sistemas. It is designed for developers using MCP-compatible clients like Claude Desktop, Cursor, or Windsurf.

Details

Author
Castrozan
Downloads
123
Categories
Other

- Verify OAuth tokens and return structured details
- Check token expiration status and remaining validity
- Retrieve associated client information
- List all scopes attached to the token
- Extract the user ID linked to the token

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name Token Info MCP
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

Configure the server in your MCP client by running npx @castrozan/token-info-mcp@latest (Claude Desktop) or register it as a new MCP server with the command npx token-info-mcp@latest (Cursor). Once connected, call the verify-token tool with an accessToken parameter to obtain token details.

verify_betha_token

Verify an OAuth token on Betha services and get its information

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "token info mcp": {
            "token-info": {
                "command": "npx",
                "args": [
                    "@castrozan/token-info-mcp@latest"
                ]
            }
        }
    }
}

McpServers

{
    "token-info": {
        "command": "npx",
        "args": [
            "@castrozan/token-info-mcp@latest"
        ]
    }
}

Token Info MCP

Servidor MCP (Model Context Protocol) para validação de tokens OAuth da Betha Sistemas.

> Acesse em https://www.npmjs.com/package/@castrozan/token-info-mcp

📋 Descrição

Este projeto fornece uma ferramenta para verificar e obter informações detalhadas sobre tokens OAuth da Betha.
Ele é implementado como um servidor MCP que pode ser integrado com ferramentas client que suportam o protocolo MCP.

Como:

- Claude Desktop
- Cursor
- Windsurf

🚀 Funcionalidades

- Verificação de tokens OAuth
- Informações detalhadas sobre o token:
- Status de expiração
- Tempo restante de validade
- Informações do cliente
- Escopos associados
- ID do usuário

💻 Uso

Claude Desktop

Para configurar o servidor no Claude Desktop, adicione a seguinte configuração ao seu arquivo de configuração:

{
    "mcpServers": {
        "token-info": {
            "command": "npx",
            "args": ["@castrozan/token-info-mcp@latest"]
        }
    }
}

Cursor

No Cursor, você pode registrar o servidor através da interface gráfica:

1. Abra as configurações do Cursor
2. Navegue até a seção de servidores MCP
3. Clique em "Adicionar Novo Servidor"
4. Configure o comando como npx token-info-mcp@latest

📚 API

O servidor expõe a seguinte ferramenta MCP:

verify-token

Verifica um token OAuth e retorna suas informações.

Parâmetros:

- accessToken (string): O token de acesso OAuth a ser verificado

Retorno:

- Informações detalhadas sobre o token, incluindo status de expiração, cliente, escopos e usuário

👥 Autor

Lucas Zanoni

- Email: castro [dot] lucas290 [at] gmail [dot] com
- GitLab: Perfil

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.