mcpField
T
Token Info MCP

Token Info MCP

Local
github.com/CastrozanSecurity1Updated 67w ago

About Token Info MCP

Token Info MCP is an MCP server for checking Betha Sistemas OAuth tokens. Its verify-token tool returns token validity details, including expiry, client, scopes, and user ID.

Key features

  1. 01Verify OAuth tokens
  2. 02Check expiration status and remaining validity
  3. 03View client and associated scopes
  4. 04Retrieve user ID

Use cases

  1. 01Inspect a Betha OAuth token's validity
  2. 02Check token expiry before troubleshooting access

MCP support

Exposes the verify-token tool to MCP clients, accepting an access token and returning its information.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

mcp.json · Universal config
{
"mcpServers": {
"token-info": {
"command": "npx",
"args": [
"-y",
"@castrozan/token-info-mcp"
]
}
}
}
Run commandnpx -y @castrozan/token-info-mcp

Local servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.

Packages
npm@castrozan/token-info-mcp

Tools

1

Saved tool list · updated 3w ago

ParameterTypeRequiredDescription
accessTokenstringYesThe OAuth access token to verify

Details

From the project README

MseeP.ai Security Assessment Badge

Token Info MCP

smithery badge

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

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.