Back to Home
AmberLee2427 icon

nancy-brain

by AmberLee2427

Overview

Builds a searchable knowledge base from GitHub repositories and PDF articles for AI agents and assistants.

Installation

Run Command
python run_mcp_server.py

Environment Variables

  • ANTHROPIC_API_KEY
  • GEMINI_API_KEY
  • NB_SECRET_KEY
  • KMP_DUPLICATE_LIB_OK
  • JAVA_HOME
  • USE_DUAL_EMBEDDING

Security Notes

The server processes external content from arbitrary GitHub URLs (git clone) and PDF URLs (requests), which inherently carries risks if sources are malicious. The `subprocess.run` calls for git operations are justified but a potential vector. JWT signing uses a 'dev key' by default for `NB_SECRET_KEY`, which is a critical vulnerability for production deployments. Authentication is implemented for HTTP/UI but the MCP server primarily uses stdio/socket transport, which is generally for local/trusted clients, but its potential exposure (e.g. via `0.0.0.0` host) could be a risk if not properly isolated. No direct use of `eval` or intentional obfuscation was found.

Similar Servers

Stats

Interest Score32
Security Score6
Cost ClassHigh
Avg Tokens2000
Stars2
Forks1
Last Update2026-01-19

Tags

AIRAGKnowledge BaseSearchEmbeddingsGitHubPDFToolsAssistants