Back to Home
jddunn icon

tenets

Verified Safe

by jddunn

Overview

Provides intelligent, token-optimized code context and automatically injects guiding principles to AI coding assistants for enhanced understanding and consistent interactions.

Installation

Run Command
tenets-mcp

Environment Variables

  • TENETS_CONFIG_PATH
  • TENETS_LOG_LEVEL
  • TENETS_CACHE_DIR
  • TENETS_MAX_TOKENS
  • TENETS_DEBUG
  • TENETS_QUIET
  • TENETS_RANKING_ALGORITHM
  • TENETS_RANKING_THRESHOLD
  • TENETS_RANKING_TEXT_SIMILARITY_ALGORITHM
  • TENETS_RANKING_USE_EMBEDDINGS
  • TENETS_RANKING_WORKERS
  • TENETS_SCANNER_MAX_FILE_SIZE
  • TENETS_SCANNER_RESPECT_GITIGNORE
  • TENETS_SCANNER_EXCLUDE_TESTS_BY_DEFAULT
  • TENETS_OUTPUT_DEFAULT_FORMAT
  • TENETS_OUTPUT_COPY_ON_DISTILL
  • TENETS_OUTPUT_SHOW_TOKEN_USAGE
  • TENETS_CACHE_ENABLED
  • TENETS_CACHE_TTL_DAYS
  • TENETS_GIT_ENABLED
  • TENETS_GIT_HISTORY_LIMIT
  • TENETS_TENET_AUTO_INSTILL
  • TENETS_TENET_MAX_PER_CONTEXT
  • TENETS_TENET_INJECTION_FREQUENCY
  • TENETS_TENET_INJECTION_INTERVAL
  • TENETS_TENET_SYSTEM_INSTRUCTION
  • TENETS_TENET_SYSTEM_INSTRUCTION_ENABLED
  • OPENAI_API_KEY
  • ANTHROPIC_API_KEY
  • OPENROUTER_API_KEY
  • GOOGLE_ANALYTICS_ID
  • TENETS_NO_COLOR

Security Notes

The core processing is 100% local, ensuring privacy by design. Optional external connections (e.g., for LLM summarization, issue fetching) are opt-in and explicitly documented regarding data sent. The VSCode extension uses `child_process.spawn` with `shell: true`, which can be a minor security risk if the executable path (`tenets-mcp`) were compromised or user-supplied in a malicious way. However, the path is either user-configured via settings or detected via `which` command, limiting direct arbitrary command injection from prompt input. The use of environment variables for API keys is good practice.

Similar Servers

Stats

Interest Score36
Security Score9
Cost ClassLow
Avg Tokens50000
Stars6
Forks0
Last Update2026-01-19

Tags

mcpaicoding-assistantcode-contextnlpmachine-learninglocal-processingpythonclivscode-extensionprivacycode-rankinggit-analysisdevelopment-tools