Skip to content

0.2.5

Latest

Choose a tag to compare

@github-actions github-actions released this 29 Jan 13:21
· 29 commits to main since this release
61d154f

Glean v0.2.5 Release Notes

Highlights

This release introduces MCP (Model Context Protocol) server support, enabling AI assistants (e.g., Claude Desktop) to search and interact with your Glean RSS subscriptions. A full API token management system was added to support secure authentication for MCP clients.

🚀 New Features

MCP Server

A built-in MCP server exposing Glean's core functionality to LLM clients via Streamable HTTP transport. Available tools:

  • search_entries — Search articles by keyword across title, content, and summary
  • get_entry — Retrieve full details of a specific article
  • list_entries_by_date — List articles within a date range, with optional read status and feed filters
  • list_subscriptions — List RSS feed subscriptions with unread counts

API Token Management

A complete token lifecycle system for MCP authentication:

  • Create named, long-lived API tokens with optional expiration (30 days / 90 days / 1 year / never)
  • Tokens are hashed with bcrypt at rest; the plain token is only shown once upon creation
  • List, revoke tokens, and automatically track last-used timestamps

Settings UI — API Tokens Tab

A new tab in the Settings page for managing API tokens from the browser:

  • Token creation dialog with name and expiration options
  • One-click copy-to-clipboard for newly created tokens
  • Revocation with confirmation dialog
  • Built-in MCP configuration guide showing Claude Desktop JSON config with the current domain auto-filled

Glean v0.2.5 发布说明

亮点

本次发布引入了 MCP(Model Context Protocol)服务器支持,使 AI 助手(如 Claude Desktop)可以搜索和访问你在 Glean 中订阅的 RSS 内容。同时新增了完整的 API Token 管理系统,用于 MCP 客户端的安全认证。

🚀 新功能

MCP 服务器

内置 MCP 服务器,通过 Streamable HTTP 传输协议向 LLM 客户端暴露 Glean 核心功能。可用工具:

  • search_entries — 按关键词搜索文章,匹配标题、正文和摘要
  • get_entry — 获取指定文章的完整详情
  • list_entries_by_date — 按日期范围列出文章,支持已读状态和订阅源筛选
  • list_subscriptions — 列出 RSS 订阅源及未读数量

API Token 管理

为 MCP 认证提供完整的令牌生命周期管理:

  • 创建命名的长期有效 API Token,可选过期时间(30 天 / 90 天 / 1 年 / 永不过期)
  • Token 以 bcrypt 哈希存储,明文仅在创建时展示一次
  • 支持列出、吊销令牌,并自动记录最近使用时间

设置页面 — API Tokens 标签页

在设置页面新增标签页,可在浏览器中管理 API Token:

  • Token 创建对话框,支持设置名称和过期时间
  • 新创建的 Token 支持一键复制到剪贴板
  • 吊销操作带确认对话框
  • 内置 MCP 配置指南,展示 Claude Desktop JSON 配置示例并自动填充当前域名

Full Changelog: v0.2.4...v0.2.5