optivise
Enables analysis of Jira tickets for implementation planning and guidance in Optimizely development.
Provides optional AI-powered embeddings and semantic search for enhanced documentation retrieval and context analysis in Optimizely development.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@optivise Analyze this code for Optimizely Commerce issues"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Optivise
This Package is Under Development. Please allow me some more days. Will bring something awesome soon.
Optivise is an intelligent MCP (Model Context Protocol) tool that enhances AI-assisted Optimizely development. It analyzes developer prompts for Optimizely relevance and provides curated, contextual information to LLMs.
Features (Current)
5 Specialized MCP Tools:
optidev_context_analyzer: Enhanced context analysis with product detectionoptidev_implementation_guide: Jira ticket analysis and implementation planningoptidev_debug_helper: Intelligent bug analysis and resolutionoptidev_code_analyzer: Real-time code analysis and optimizationoptidev_project_helper: Project setup, migration, and configuration assistance
AI-Powered Capabilities (Optional):
OpenAI integration for embeddings and semantic search (optional)
ChromaDB vector database for documentation search (optional)
Deterministic relevance scoring with evidence and rules
Graceful fallbacks when AI features unavailable
Observability & Safety:
Structured JSON logs on stderr with correlation IDs; MCP stdout clean
Log redaction, block sanitization (scripts/iframes/JS/data URIs), content size ceilings
Diagnostics with per-stage timings and relevance breakdown
Related MCP server: ctxray
Installation
# Install Optivise globally
npm install -g optivise
# Verify installation
optivise versionIDE Configuration
For Cursor IDE:
Create or update .cursor/mcp.json in your project:
{
"mcpServers": {
"optivise": {
"command": "npx",
"args": ["optivise-mcp"]
}
}
}For VS Code:
Add to your VS Code settings:
{
"mcp.servers": [
{
"name": "optivise",
"command": "npx",
"args": ["optivise-mcp"]
}
]
}Usage
@optidev_context_analyzer "How do I implement a custom handler chain in Optimizely Commerce?"AI Enhancement (Optional)
To enable AI-powered features:
{
"mcpServers": {
"optivise": {
"command": "npx",
"args": ["optivise-mcp"],
"env": {
"OPENAI_API_KEY": "your-api-key-here"
}
}
}
}CLI Utilities
# Propose a consolidated .cursorrules from discovered rules (prints JSON with diff)
optivise-rules propose /path/to/project
# Write the proposed .cursorrules to the project root
optivise-rules propose /path/to/project --write
# Print version and service diagnostics (AI/Chroma/doc-sync availability)
optivise-diag
# Query local HTTP server health or readiness
optivise-health # defaults to http://localhost:3007/health
optivise-health --ready # queries http://localhost:3007/ready
optivise-health --url=http://host:port/readyEnvironment Variables
LOG_LEVEL: error|warn|info|debug (default: info)
OPTIVISE_MODE: mcp|server (default: mcp)
MAX_BLOCK_CHARS: max characters per context block (default: 5000)
MAX_TOTAL_TOKENS: hard safety ceiling for context tokens (default: 4000)
OPENAI_API_KEY: optional, enables AI-powered features
CORS_ALLOW_ORIGINS: comma-separated allowed origins for HTTP server (default: *)
REQUEST_TIMEOUT_MS: per-request timeout for /analyze (default: 15000)
AUDIT_API_KEY: enables protected GET /audit endpoint when OPTIVISE_AUDIT=true
OPTIVISE_AUDIT: set to 'true' to enable in-memory audit trail (requires AUDIT_API_KEY for access)
Troubleshooting
MCP Server Not Connecting
Verify Node.js version: Ensure Node.js >= 18.0.0
Restart IDE after configuration changes
Check logs: Set
LOG_LEVEL=debugfor detailed logs
Tools Not Available
Verify configuration: Ensure
optivise-mcpis correctly referencedTest connection:
npx @modelcontextprotocol/inspector npx optivise-mcp
Windows Path Issues
Use forward slashes or double backslashes in JSON:
"args": ["optivise-mcp"]Render Deployment (Example)
See render.yaml for a minimal configuration:
services:
- type: web
name: optivise
env: node
plan: free
buildCommand: npm install && npm run build
startCommand: npm start
envVars:
- key: NODE_ENV
value: production
- key: OPTIVISE_MODE
value: server
- key: OPTIDEV_DEBUG
value: false
- key: CORS_ALLOW_ORIGINS
value: https://yourdomain.com
healthCheckPath: /healthAfter deployment:
GET /healthfor livenessGET /readyfor feature matrix + circuit states (OpenAI/Chroma)Use
optivise-healthlocally to checkhttp://localhost:3007/health
Audit Trail (Opt-in)
Enable: set
OPTIVISE_AUDIT=trueand set a strongAUDIT_API_KEY.Fetch recent events:
curl -H "Authorization: Bearer $AUDIT_API_KEY" http://localhost:3007/audit | jqSecurity & Privacy (Current)
Log redaction (API keys/tokens/passwords), correlation IDs, MCP stdout kept clean
Output sanitization and size bounds in formatter; relevance-aware truncation
Opt-in in-memory audit trail for tool invocations (protected endpoint)
Circuit breakers and backoff for AI/Chroma integrations; CI
npm audit+ CycloneDX SBOM
Planned (not yet implemented): stronger PII detection, allow-listed HTML sanitization, signed releases, and comprehensive policy scans (e.g., OSV).
Use Cases & Examples
For Individual Developers
@optidev_implementation_guide "Implement customer loyalty points system"
@optidev_debug_helper "Cart total calculation incorrect after discount applied"
@optidev_code_analyzer "Review this handler for performance optimization"For Development Teams
@optidev_project_helper "Setup new Commerce + CMS integrated project"
@optidev_context_analyzer "Best practices for integrating Commerce with CMS"Data Flow Diagram
---
config:
theme: neo-dark
---
flowchart TD
User[User/Developer] -->|Prompt| IDE[IDE/CLI Interface]
IDE -->|Request| MCP[MCP Server]
MCP -->|Initialize| CAE[Context Analysis Engine]
MCP -->|Initialize| Tools[Specialized Tools]
MCP -->|Initialize| AI[AI Services]
subgraph "Context Analysis Flow"
CAE -->|Analyze Prompt| PA[Prompt Analyzer]
PA -->|Relevance Score & Intent| CAE
CAE -->|Detect Products| PDS[Product Detection Service]
PDS -->|Product Context| CAE
CAE -->|Analyze Rules| RIS[Rule Intelligence Service]
RIS -->|Rule Analysis| CAE
CAE -->|Fetch Documentation| DS[Documentation Service]
DS -->|Basic Docs| DOC[Documentation Sources]
DS -->|Vector Search| CDB[ChromaDB Service]
CDB -->|AI-Enhanced Search| OAI[OpenAI Client]
OAI -->|Embeddings| CDB
DS -->|Documentation Content| CAE
end
subgraph "AI Services"
AKDS[API Key Detector] -->|Detect Keys| OAI
AKDS -->|Detect Keys| CDB
DSS[Documentation Sync Service] -->|Sync| CDB
end
subgraph "Specialized Tools"
Tools -->|Implementation Guide| IGT[Implementation Guide Tool]
Tools -->|Debug Helper| DHT[Debug Helper Tool]
Tools -->|Code Analyzer| CAT[Code Analyzer Tool]
Tools -->|Project Helper| PHT[Project Helper Tool]
IGT & DHT & CAT & PHT -->|Use| CAE
end
CAE -->|Curated Context| MCP
MCP -->|Response| IDE
IDE -->|Enhanced Response| UserDocumentation & Support
IDE Agent Integration: How to assemble prompts and previews in Cursor/VS Code
Developer Guide: How to develop, run, test, and integrate Optivise locally
Architecture Diagrams: System architecture and data flows
Product Requirements: Complete product requirements and features
Software Requirements: Technical specifications and interfaces
Project Plan: Development roadmap and timeline
Vision and Scope: Project vision and objectives
Todo List: Implementation status and completed features
Claude Integration: Guidance for Claude AI when working with this codebase
Contact
Issues: GitHub Issues
Support: Enterprise Support
Available Tools
5 toolsoptidev_code_analyzerC
Real-time code analysis for performance, security, and best practices
Inputs: codeSnippet (required), language, analysisType.
optidev_context_analyzerC
Enhanced context analysis with AI-powered relevance scoring and vector search
Inputs: prompt (required), enableAI, ideRules, projectPath.
optidev_debug_helperC
Provides intelligent debugging assistance for Optimizely-related issues
Inputs: bugDescription (required), codeContext, errorMessages.
optidev_implementation_guideB
Analyzes Jira tickets and provides complete implementation guidance
Inputs: ticketContent (required), projectContext.
optidev_project_helperC
Project setup, migration assistance, and development guidance
Inputs: requestType (required), projectDetails (required), targetVersion.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 5 tools
Several tools have overlapping purposes: implementation_guide and project_helper both provide development guidance, while code_analyzer and debug_helper both analyze code for issues. Descriptions clarify some boundaries but ambiguity remains, especially for agents relying on tool names alone.
All tools follow a consistent optidev_<topic>_<role> pattern (analyzer, guide, helper) and use snake_case throughout. The convention is uniform and predictable, even though it uses nouns rather than verbs.
With exactly 5 tools, the server is well-scoped for a development assistance purpose. Each tool covers a distinct area without unnecessary duplication, making the set manageable and purposeful.
The toolset covers key development assistance needs: context analysis, implementation guidance, debugging, code analysis, and project setup. Minor gaps exist (e.g., testing or deployment guidance), but core workflows are well represented.
Related MCP Connectors
Upfixe is the autonomous PPC engine built for AI agents. With Upfixe's Model Context Protocol (MCP) server, your AI assistant can research keywords, draft responsive search ads, structure ad groups, publish campaigns, and pull cross-network analytics across both Google Ads and Microsoft Advertising (Bing Ads). Features enterprise-grade token encryption (AES-256-GCM) and strict safety guardrails (auto-paused deployments, daily budget caps, O&O syndication filters).
One shared context your team's AI tools read & write over MCP. No re-explaining. Free.
The OpenZeppelin Solidity Contracts MCP server integrates OpenZeppelin's security and style rules into AI-driven development workflows, enabling AI assistants to generate safe, correct, and production-ready smart contracts. It automatically validates generated code against OpenZeppelin standards (including imports, modifiers, naming conventions, and security checks) and supports various contract types including ERC-20, ERC-721, ERC-1155, Stablecoins, RWA, Governor, and Account contracts through prompt-driven workflows.
The OpenZeppelin Cairo Contracts MCP server generates secure smart contracts in the Cairo language for Starknet environments based on OpenZeppelin templates. It brings OpenZeppelin's proven security and style rules directly into AI-driven development workflows to create safe, production-ready contracts. Key capabilities include providing templates for ERC-20, ERC-721, ERC-1155, Multisig, Governor, and Vesting contracts.
Related MCP Servers
AlicenseNot gradedqualityCmaintenanceLLM Optimizer is an AI visibility intelligence platform. It analyzes how large language models and AI search engines perceive, cite, and recommend brands; then provides research-backed optimization strategies to improve that visibility.10MIT- AlicenseNot gradedqualityDmaintenanceContext intelligence for AI coding sessions. 7 MCP tools to score, compare, compress, build, and scan prompts across 9 AI tools. Rule-based, <5ms/prompt, all analysis runs locally.47MIT
- AlicenseAqualityDmaintenanceA unified developer toolkit for AI-assisted workflows. Task timing, doc drift detection, env validation, secret scanning, port conflict resolution, AI context generation, and license auditing — one MCP server, one install.74MIT
- AlicenseAqualityDmaintenanceDevEyes is a Model Context Protocol (MCP) server that captures screenshots from your local development environment and automatically optimizes them for LLM consumption.110 npm1MIT