Back to Home
trilogy-group icon

brainlift-mcp-server

Verified Safe

by trilogy-group

Overview

An agent-facing server that provides tools to manage and query a user's BrainLift knowledge base, primarily by interacting with the BrainLift API via Google OAuth.

Installation

Run Command
uv run brainlift-mcp

Environment Variables

  • BRAINLIFT_API_URL
  • OAUTH_CLIENT_SECRET_PATH
  • OAUTH_CLIENT_TOKEN_PATH

Security Notes

The server uses standard Python libraries for HTTP requests (`requests`) and Google OAuth (`google-auth-oauthlib`). It handles OAuth credentials by storing them in local files (`client-secrets.json`, `.gcp-saved-token.json`), with paths configurable via environment variables. The `setup.sh` script retrieves and formats OAuth credentials from an external API (`$API_BASE_URL`) using `curl` and `jq`. The main security considerations are the trustworthiness of the `API_BASE_URL` and `API_KEY` provided to the `setup.sh` script, as well as the secure storage of the generated OAuth credential files in the deployment environment. No 'eval', code obfuscation, or obvious malicious patterns were found. Input validation for tool parameters (`brainlift_id`, `dok_levels`) is present. Network requests have timeouts.

Similar Servers

Stats

Interest Score0
Security Score8
Cost ClassMedium
Avg Tokens750
Stars0
Forks0
Last Update2025-12-03

Tags

MCP ServerAgent ToolingKnowledge ManagementGoogle OAuthPython