v1.6.0
Released: March 2026
Highlights
- OAuth 2.0 for AI chat clients — Graph Memory now implements the OAuth 2.0
client_credentialsflow. AI chat clients that support OAuth connectors (Claude.ai, etc.) can authenticate automatically — no manual API key headers required. Client ID =userId, Client Secret =apiKeyfrom config. - Tool naming consistency — all 58 MCP tools audited and renamed to consistent
graph_verb_nounprefixes. Parameter names, defaults, and descriptions aligned across MCP tools and REST endpoints. - Array syntax for
includepatterns — theincludefield in graph config now accepts a YAML array in addition to a single glob string, matching the existingexcludebehavior. - Cleaner MCP responses — internal graph fields (
fileEmbedding,pendingLinks,pendingImports,pendingEdges,version), null values, and empty arrays stripped from all MCP tool responses to reduce noise and token usage.
New Endpoints
GET /.well-known/oauth-authorization-server— RFC 8414 OAuth discovery metadataPOST /oauth/token— OAuth 2.0client_credentialsgrant; returns a short-lived Bearer JWT (1 hour, typeoauth_access)
Security
- Auth before project lookup — MCP handler now checks authentication before resolving the project, preventing unauthenticated callers from enumerating which project IDs exist via 404 vs 401 responses
WWW-Authenticate: Beareron 401 — MCP endpoints include the RFC 6750 required header on all 401 responses, enabling OAuth clients to trigger automatic re-authentication
Fixes
docs_get_node— removedfileEmbedding,pendingLinks,mtimefrom responsecode_get_symbol— removedfileEmbedding,pendingImports,pendingEdgesfrom responsenotes_get,tasks_get,skills_get— removedversion; null fields and empty arrays strippednotes_list— removed content preview field (not in tool description)
Tests
- 33 new tests in
oauth.test.ts: unit tests forsignOAuthTokenandresolveUserFromBearer, supertest coverage of discovery and token endpoints, integration tests against a real HTTP server forWWW-Authenticateheader behavior
Documentation
docs/authentication.md— added OAuth 2.0 section with endpoint reference and token formatsite/docs/security/authentication.md— new OAuth 2.0 subsection and "Connecting Claude.ai" guidesite/docs/guides/mcp-clients.md— new Claude.ai section with connector setup instructions