π
Glean Local
Generic Glean MCP Server with OAuth support for any IDE supporting Model Context Protocol
0 installs
Trust: 37 β Low
Security
Ask AI about Glean Local
Powered by Claude Β· Grounded in docs
I know everything about Glean Local. Ask me about installation, configuration, usage, or troubleshooting.
0/500
Loading tools...
Reviews
Documentation
Glean MCP OAuth Wrapper
Monorepo for OAuth-enabled Glean MCP server integration.
Repository: https://github.com/theplenkov-npm/glean-local-mcp
What This Is
A lightweight OAuth wrapper that enables AI IDEs (Cursor, etc.) to use Glean with OAuth 2.0 authentication. It manages tokens and proxies to @gleanwork/local-mcp-server.
Components
glean-local-mcp-server/
βββ packages/
β βββ glean-local-mcp-server/ # OAuth wrapper package
βββ docs/ # Additional documentation
glean-local-mcp-server
OAuth wrapper that:
- Handles OAuth 2.0 flow via Okta
- Manages token storage and refresh
- Spawns
@gleanwork/local-mcp-serverwith valid tokens - No external HTTP dependencies (uses native fetch/http)
See packages/glean-local-mcp-server for usage.
Quick Start
# Install dependencies
bun install
# Build the package
bunx nx run glean:build
# Link for local use
bun link -w glean-local-mcp-server
Development
# Build all packages
bunx nx run-many -t build
# Run tests
bunx nx run-many -t test
# Clean build artifacts
bunx nx run-many -t clean
Tech Stack
- Node.js 24+ - Native TypeScript support
- Bun - Package manager and task runner
- tsdown - Fast TypeScript bundler
- Nx - Monorepo management
- Native Node APIs - fetch, http (zero dependencies)
Contributing
- Fork the repository
- Create a feature branch
- Make your changes
- Build and test:
bunx nx run-many -t build test - Submit a pull request
Issues & Support
License
MIT - See LICENSE for details.
