259 Commits

Author SHA1 Message Date
Fahad
b405aaf8bd some justifications 2025-06-14 19:01:53 +04:00
Fahad
4086306c58 New tool: testgen
Generates unit tests and encourages model to auto-detect framework and testing style from existing sample (if available)
2025-06-14 15:41:47 +04:00
Fahad
7d33aafcab Configurable conversation limit now set to 10 exchanges. This helps when you want to manually continue a thread of thought across different models manually. 2025-06-14 14:00:13 +04:00
Fahad
bc3f98a291 Make conversation timeout configuration (so that you're able to resume a discussion manually with another model with a gap of several hours in case you stepped away) 2025-06-14 13:27:19 +04:00
Beehive Innovations
a569e316af Update README.md 2025-06-14 12:41:15 +04:00
Fahad
710a2ab0eb Surface important public notice 2025-06-14 11:48:57 +04:00
Fahad
7481af5c8f Surface important public notice 2025-06-14 11:47:29 +04:00
Fahad
4a3767921a Surface important public notice 2025-06-14 11:46:32 +04:00
Fahad
002203f0da Surface important public notice 2025-06-14 11:45:45 +04:00
Fahad
746380eb7f Renamed setup script to avoid confusion (https://github.com/BeehiveInnovations/zen-mcp-server/issues/35)
Further fixes to tests
Pass O3 simulation test when keys are not set, along with a notice
Updated docs on testing, simulation tests / contributing
Support for OpenAI o4-mini and o4-mini-high
2025-06-14 09:28:20 +04:00
Fahad
8ac5bbb5af Fixed workspace path mapping
Refactoring
Improved system prompts, more generalized
Home folder protection and detection
Retry logic for gemini
2025-06-14 00:26:59 +04:00
Fahad
8554fa083a Fixed broken doc links 2025-06-13 16:29:05 +04:00
Fahad
6739182c20 Differentiate custom from openrouter models
Split readme into multiple docs
2025-06-13 15:59:48 +04:00
Beehive Innovations
cf8fb04c1e Merge pull request #17 from PatrykIti/feat/comprehensive-project-improvements
ci+docker: Comprehensive project improvements - CI/CD automation, documentation system, multi-platform support
2025-06-13 15:25:07 +04:00
Fahad
f44ca326ef Breaking change: openrouter_models.json -> custom_models.json
* Support for Custom URLs and custom models, including locally hosted models such as ollama
* Support for native + openrouter + local models (i.e. dozens of models) means you can start delegating sub-tasks to particular models or work to local models such as localizations or other boring work etc.
* Several tests added
* precommit to also include untracked (new) files
* Logfile auto rollover
* Improved logging
2025-06-13 15:22:09 +04:00
PCITI
6a0369d2e3 Merge branch 'BeehiveInnovations:main' into feat/comprehensive-project-improvements 2025-06-13 11:35:47 +02:00
Fahad
f5fdf7b2ed Apache 2.0 license 2025-06-13 12:22:45 +04:00
Patryk Ciechanski
b26f45a73d restoring readme 2025-06-13 06:52:37 +02:00
Fahad
6dadf8556e Updated readme 2025-06-13 08:39:02 +04:00
Fahad
b912051623 Openrouter first 2025-06-13 07:17:16 +04:00
Fahad
12595cffd9 Updated readme 2025-06-13 07:16:16 +04:00
Fahad
a19055b76a WIP
- OpenRouter model configuration registry
- Model definition file for users to be able to control
- Update instructions
2025-06-13 05:52:16 +04:00
Patryk Ciechanski
4270ad5718 adding only to readme alternate way for mcp config 2025-06-12 20:47:41 +02:00
Fahad
93daa2942a WIP - OpenRouter support 2025-06-12 22:45:16 +04:00
Patryk Ciechanski
1364475d67 removing docs/contributing.md and restoring README.md from main 2025-06-12 20:24:16 +02:00
Fahad
52b45f2b03 WIP - OpenRouter support and related refactoring 2025-06-12 22:17:11 +04:00
Fahad
3aedb16101 Use the new Gemini 2.5 Flash
Updated to support Thinking Tokens as a ratio of the max allowed
Updated tests
Updated README
2025-06-12 20:46:54 +04:00
Fahad
b34c63d710 Fixed web-search prompt, models can prompt claude to perform web searches on their behalf if and as needed 2025-06-12 20:05:55 +04:00
Fahad
4f2763689b Make setup easier, ask user if they'd like the mcp set up automatically 2025-06-12 19:22:32 +04:00
Patryk Ciechanski
768a10a491 fix: Update mcpServers configuration key from 'gemini' to 'zen'
Changed all Claude Desktop configuration examples to use 'zen' as the mcpServers key
for consistency with project naming (zen-mcp-server, zen-mcp-redis). This aligns the
configuration naming with Docker service names and repository naming conventions.

Users will need to update their claude_desktop_config.json files to use 'zen' instead
of 'gemini' as the server key.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-06-12 16:24:23 +02:00
Patryk Ciechanski
d97080122a fix: Update Claude MCP commands to use consistent zen naming
Updated claude mcp add/remove commands from 'gemini' to 'zen' to match the docker-compose.yml
service names and maintain consistency across the project. All container references now
align with zen-mcp-server, zen-mcp-redis naming convention.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-06-12 16:23:09 +02:00
Patryk Ciechanski
3cb35ba501 docs: Fix DEFAULT_MODEL documentation to reflect actual default behavior
The documentation incorrectly stated that DEFAULT_MODEL defaults to gemini-2.5-pro-preview-06-05,
when in fact config.py defaults to 'auto' mode if the environment variable is not set. Updated
the table to clarify that the server uses 'auto' mode (Claude picks best model) when no
DEFAULT_MODEL env var is provided to the Docker container.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-06-12 16:07:54 +02:00
PCITI
771a91d40d Merge branch 'BeehiveInnovations:main' into feat/comprehensive-project-improvements 2025-06-12 16:01:25 +02:00
Patryk Ciechanski
e37cb71da2 fix: Address Gemini Code Assist review feedback
- Repository URL consistency: Updated all references to BeehiveInnovations/zen-mcp-server format
- Documentation clarity: Fixed misleading table headers and improved Docker configuration examples
- File conventions: Added missing final newlines to all files
- Configuration consistency: Clarified API key placeholder format in documentation

Addresses all points raised in PR #17 review by Gemini Code Assist.

🤖 Generated with Claude Code

Co-Authored-By: Claude <noreply@anthropic.com>
2025-06-12 15:38:01 +02:00
Fahad
cabaed2cee Fixed prompt 2025-06-12 17:28:46 +04:00
Fahad
b95085dbb0 Real prompt examples 2025-06-12 17:28:04 +04:00
Fahad
1f786e3a53 Removed deadlink 2025-06-12 17:16:50 +04:00
github-actions[bot]
ac420e1f2b docs: Update Docker image references to v4.0.10
Automated update after Docker image publish for release v4.0.10.
  All documentation now references the latest stable image.

  🤖 Automated by GitHub Actions
2025-06-12 12:50:22 +00:00
Patryk Ciechanski
7063bf92ba Merge remote-tracking branch 'origin/main' into fix/multi-platform-docker 2025-06-12 14:25:55 +02:00
PCITI
35ebcfcc25 Merge branch 'BeehiveInnovations:main' into main 2025-06-12 14:25:11 +02:00
Patryk Ciechanski
f47d16b316 docs: Add comprehensive Windows setup guide for Docker support
Added detailed Windows setup documentation covering:
- Why WSL2 + Docker Desktop is required for Linux containers
- Complete step-by-step Windows setup instructions
- WSL2 installation and Docker Desktop configuration
- Alternative Python installation method for Windows users
- Windows-specific troubleshooting section
- Claude Desktop config file location for Windows

Updated both README.md and docs/user-guides/installation.md
to provide clear guidance for Windows users who need to use
WSL2 + Docker Desktop to run Linux-based Docker images.
2025-06-12 14:24:17 +02:00
github-actions[bot]
b9afc0abb8 docs: Update Docker image references to v4.0.8
Automated update after Docker image publish for release v4.0.8.
  All documentation now references the latest stable image.

  🤖 Automated by GitHub Actions
2025-06-12 11:51:21 +00:00
Beehive Innovations
1f90d05106 Update README.md 2025-06-12 15:45:55 +04:00
Beehive Innovations
d4a054053c Update README.md 2025-06-12 15:35:34 +04:00
Fahad
ce22d58def Updated readme 2025-06-12 15:30:00 +04:00
Fahad
8bcbd3dc8b Updated readme 2025-06-12 15:29:21 +04:00
Patryk Ciechanski
e8e5c7a5e7 fix: Update repository name from gemini-mcp-server to zen-mcp-server
- Update workflow sed patterns to match zen-mcp-server
- Update README Docker image references to zen-mcp-server
- Ensures automation works with correct repository naming

🤖 Generated with Claude Code
2025-06-12 13:01:02 +02:00
PCITI
c5313b170a docs+docker: Enhanced Docker configuration and workflow fixes (#4)
* addinte templates and user guide

* up docs

* up

* up claude.md

* add mb

* umb

* up workflow

* up settings claude

* adding detailed docs

* adding missing files docs

* add main readme for docs

* up main readme

* adding docs for tests

* Complete documentation integration with test structure analysis link

Adds link to comprehensive test structure documentation in main README.md,
finalizing the progressive disclosure strategy for project documentation.
This completes the documentation integration work that includes:
- Architecture documentation
- API reference documentation
- Contributing guidelines
- Detailed test analysis

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>

* removing folders from git

* up

* up

* up gitignore

* feat: Add automatic semantic versioning workflow

- Create GitHub Actions workflow for automatic version bumping based on PR title prefixes
- Add version bumping script (scripts/bump_version.py) for programmatic updates
- Update PR template with semantic versioning guidelines
- Document versioning workflow in contributing guide
- Integrate with existing Docker build workflow via git tags

This enables automatic version management:
- feat: triggers MINOR version bump
- fix: triggers PATCH version bump
- breaking: triggers MAJOR version bump
- docs/chore/test: no version bump

🤖 Generated with Claude Code

Co-Authored-By: Claude <noreply@anthropic.com>

* fix: Separate Docker workflows for testing and publishing

- Add docker-test.yml for PR validation (build test only)
- Fix build_and_publish_docker.yml to trigger only on tags
- Remove problematic sha prefix causing invalid tag format
- Ensure proper workflow sequence: PR test → merge → version → publish

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>

* style: Fix black formatting issues in bump_version.py

- Fix spacing and indentation to pass black formatter
- Ensure code quality standards are met for CI workflow

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>

* style: Modernize type hints in bump_version.py

- Replace typing.Tuple with modern tuple syntax
- Remove deprecated typing imports per ruff suggestions
- Maintain Python 3.10+ compatibility

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>

* fix: Remove invalid colon in bash else statement

- Fix bash syntax error in auto-version workflow
- Remove Python-style colon from else statement
- Resolves exit code 127 in version bump determination

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>

* feat: Add Docker build combinations for non-versioning prefixes

- Add support for prefix+docker combinations (docs+docker:, chore+docker:, etc.)
- Enable Docker build for non-versioning changes when requested
- Add repository_dispatch trigger for Docker workflow
- Update Docker tagging for PR-based builds (pr-X, main-sha)
- Update PR template with new prefix options

This allows contributors to force Docker builds for documentation,
maintenance, and other non-versioning changes when needed.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>

* docs: Add comprehensive PR prefix and automation documentation

- Update CONTRIBUTING.md with detailed PR prefix system explanation
- Add automation workflow documentation to docs/contributing/workflows.md
- Create new user-friendly contributing guide at docs/user-guides/contributing-guide.md
- Include Mermaid diagrams for workflow visualization
- Document Docker testing combinations and image tagging strategy
- Add best practices and common mistakes to avoid

This provides clear guidance for contributors on using the automated
versioning and Docker build system effectively.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>

* docs+docker: Complete documentation infrastructure with Docker automation testing (#2)

* fix: Remove invalid colon in bash else statement

- Fix bash syntax error in auto-version workflow
- Remove Python-style colon from else statement
- Resolves exit code 127 in version bump determination

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>

* feat: Add Docker build combinations for non-versioning prefixes

- Add support for prefix+docker combinations (docs+docker:, chore+docker:, etc.)
- Enable Docker build for non-versioning changes when requested
- Add repository_dispatch trigger for Docker workflow
- Update Docker tagging for PR-based builds (pr-X, main-sha)
- Update PR template with new prefix options

This allows contributors to force Docker builds for documentation,
maintenance, and other non-versioning changes when needed.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>

* docs: Add comprehensive PR prefix and automation documentation

- Update CONTRIBUTING.md with detailed PR prefix system explanation
- Add automation workflow documentation to docs/contributing/workflows.md
- Create new user-friendly contributing guide at docs/user-guides/contributing-guide.md
- Include Mermaid diagrams for workflow visualization
- Document Docker testing combinations and image tagging strategy
- Add best practices and common mistakes to avoid

This provides clear guidance for contributors on using the automated
versioning and Docker build system effectively.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>

---------

Co-authored-by: Patryk Ciechanski <patryk.ciechanski@inetum.com>
Co-authored-by: Claude <noreply@anthropic.com>

* fix: Correct digest reference in Docker artifact attestation

- Add id to build step to capture outputs
- Fix subject-digest reference from steps.build.outputs.digest
- Resolves 'One of subject-path or subject-digest must be provided' error

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>

* docs: Add comprehensive Docker image usage instructions

- Add Option B (Published Docker Image) to main README.md
- Update installation guide with published image as fastest option
- Add comprehensive configuration examples for GHCR images
- Document image tagging strategy (latest, versioned, PR builds)
- Include version pinning examples for stability
- Highlight benefits: instant setup, no build, cross-platform

Users can now choose between:
1. Published image (fastest, no setup) - ghcr.io/patrykiti/gemini-mcp-server:latest
2. Local build (development, customization) - traditional setup

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>

* feat: Add automated Docker image usage instructions and PR comments

- Generate comprehensive usage instructions in workflow summary after Docker build
- Include exact docker pull commands with built image tags
- Auto-generate Claude Desktop configuration examples
- Add automatic PR comments with testing instructions for +docker builds
- Show expected image tags (pr-X, main-sha) in PR comments
- Include ready-to-use configuration snippets for immediate testing
- Link to GitHub Container Registry and Actions for monitoring

Now when Docker images are built, users get:
- Step-by-step usage instructions in workflow summary
- PR comments with exact pull commands and config
- Copy-paste ready Claude Desktop configurations
- Direct links to monitor build progress

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>

* feat: Add automatic README.md updating after Docker builds

- Updates Docker image references in README.md and documentation files
- Automatically commits and pushes changes after image builds
- Handles both release builds (version tags) and development builds (PR numbers)
- Ensures documentation always references the latest published images
- Uses sed pattern matching to update ghcr.io image references

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>

* correcting

* up

* fix: GitHub Actions workflows semantic errors

Fixed critical semantic and logic errors in auto-version and Docker workflows:

Auto-version.yml fixes:
- Removed duplicate echo statements for should_build_docker output
- Fixed malformed if/else structure (else after else)
- Removed redundant conditional blocks for docker: prefixes
- Cleaned up duplicate lines in summary generation

Build_and_publish_docker.yml fixes:
- Replaced hardcoded 'patrykiti' with dynamic ${{ github.repository_owner }}
- Enhanced regex pattern to support underscores in Docker tags: [a-zA-Z0-9\._-]*
- Fixed sed patterns for dynamic repository owner detection

These changes ensure workflows execute correctly and support any repository owner.

🤖 Generated with Claude Code

Co-Authored-By: Claude <noreply@anthropic.com>

* docs: Add advanced Docker configuration options to README

Added comprehensive configuration section with optional environment variables:

Docker Configuration Features:
- Advanced configuration example with all available env vars
- Complete table of environment variables with descriptions
- Practical examples for common configuration scenarios
- Clear documentation of config.py options for Docker users

Available Configuration Options:
- DEFAULT_MODEL: Choose between Pro (quality) vs Flash (speed)
- DEFAULT_THINKING_MODE_THINKDEEP: Control token costs with thinking depth
- LOG_LEVEL: Debug logging for troubleshooting
- MCP_PROJECT_ROOT: Security sandbox for file access
- REDIS_URL: Custom Redis configuration

Benefits:
- Users can customize server behavior without rebuilding images
- Better cost control through model and thinking mode selection
- Enhanced security through project root restrictions
- Improved debugging capabilities with configurable logging
- Complete transparency of available configuration options

This addresses user request for exposing config.py parameters via Docker environment variables.

🤖 Generated with Claude Code

Co-Authored-By: Claude <noreply@anthropic.com>

---------

Co-authored-by: Patryk Ciechanski <patryk.ciechanski@inetum.com>
Co-authored-by: Claude <noreply@anthropic.com>
2025-06-12 12:10:27 +02:00
Beehive Innovations
c7eeb68262 Update README.md 2025-06-12 13:54:05 +04:00
Fahad
7462599ddb Simplified thread continuations
Fixed and improved tests
2025-06-12 12:47:02 +04:00