Skip to content

Release v0.9.15 - Full Integration with Weave-CLI v0.9.15

Choose a tag to compare

@maximilien maximilien released this 04 Feb 19:39
· 3 commits to main since this release

Release v0.9.15 - Full Integration with Weave-CLI v0.9.15

Major release bringing weave-mcp to feature parity with weave-cli v0.9.15, adding full observability and agent framework support.

🚀 New Features

Observability & Monitoring

  • Structured Logging: JSON/text formats with configurable log levels (debug, info, warn, error)
  • Prometheus Metrics: Automatic collection for all MCP operations
  • Metrics Endpoint: /metrics endpoint for Prometheus scraping
  • Correlation IDs: Automatic tracking for all requests
  • Enhanced Health Checks: Detailed VDB connection status and diagnostics

Agent Framework

  • Agent Discovery: List and explore available specialized agents
  • Agent Execution: Foundation for running specialized agents (schema, chunking, RAG, etc.)
  • Full Integration: Access to weave-cli's complete agent registry

🛠️ New MCP Tools (6 total)

Observability Tools

  • configure_logging - Configure log level, format (JSON/text), and file output
  • get_metrics - Retrieve Prometheus metrics information and endpoint details
  • check_health - Enhanced health check with detailed VDB status, latency, and diagnostics

Agent Tools

  • list_agents - List all available specialized agents with descriptions
  • get_agent_info - Get detailed information about specific agents
  • run_agent - Execute specialized agents for complex tasks

📊 Technical Improvements

  • Automatic Metrics: All 26+ MCP tools now record execution metrics (duration, success/failure, error types)
  • Structured Logging: All operations log with context (vdb_type, operation, correlation_id)
  • Error Categorization: Connection, timeout, auth, and other error types tracked separately
  • Execution Metadata: All tool responses include correlation IDs and timing information
  • CGO Support: Build infrastructure for tesseract/leptonica dependencies

📦 Dependencies

  • Updated: weave-cli from v0.9.12 → v0.9.15
  • Added: github.com/google/uuid v1.6.0
  • Added: github.com/prometheus/client_golang v1.23.2
  • Added: Agent framework packages from weave-cli
  • Added: Metrics and logging packages from weave-cli

🔧 What's Included

All MCP tools now automatically:

  • ✅ Record execution metrics (duration, success/failure rates, error types)
  • ✅ Log operations with structured context
  • ✅ Include correlation IDs for request tracking
  • ✅ Return execution metadata in responses

📈 Metrics Available

Prometheus metrics exposed at /metrics:

  • weave_request_duration_seconds - Request duration histogram by operation and status
  • weave_documents_total - Total documents processed counter
  • weave_errors_total - Error counter by type and operation
  • weave_active_connections - Active VDB connections gauge

🔗 Integration

Works seamlessly with:

  • weave-cli v0.9.15
  • All supported vector databases (Weaviate, Milvus, Qdrant, etc.)
  • Prometheus monitoring stack
  • MCP clients (Claude Desktop, etc.)

📝 Breaking Changes

None - Fully backward compatible with v0.9.12

🚦 Migration

No migration required - All existing configurations and tools continue to work.

📚 Documentation

  • See /docs/WEAVE_MCP.md for detailed analysis of new features
  • Prometheus metrics documentation at /metrics endpoint
  • Agent framework docs in weave-cli repository

🏗️ Build Information

  • Version: 0.9.15
  • Go Version: 1.24.1
  • Platform: darwin/arm64 (multi-platform support)
  • Binary Sizes: HTTP Server (114M), stdio Server (115M)

🔍 Full Changelog

Commits:

  • feat: Integrate weave-cli v0.9.15 with observability and agent framework (+556 lines)
  • fix: Add CGO flags to lint.sh and test.sh for tesseract dependency (+8 lines)

Files Changed: 7 files
Lines Added: +564
Tests: All passing ✅
Lint: All checks passed ✅

Compare: v0.9.12...v0.9.15


Installation:

# Clone the repository
git clone https://github.com/maximilien/weave-mcp.git
cd weave-mcp

# Checkout v0.9.15
git checkout v0.9.15

# Build
./build.sh

# Run
./bin/weave-mcp

Quick Start with Observability:

# Start server with JSON logging
./bin/weave-mcp --log-format json --log-level debug

# View metrics
curl http://localhost:8080/metrics

# Check health
curl http://localhost:8080/health

🤖 Generated with Claude Code