wcervin/kanizsa-mcp-server
If you are the rightful owner of kanizsa-mcp-server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
The Kanizsa MCP Photo Server is a standalone Model Context Protocol (MCP) server that provides photo analysis capabilities through a standardized interface.
Kanizsa MCP Server
Version: 11.5.0
Last Updated: August 9, 2025
Purpose: Model Context Protocol Server for Kanizsa Photo Ecosystem
π― Overview
The Kanizsa MCP Server is a containerized Model Context Protocol (MCP) server that orchestrates photo analysis within the Kanizsa ecosystem. It provides a standardized interface for connecting photo analysis agents to the main Kanizsa platform.
ποΈ Kanizsa Ecosystem Integration
Architecture
βββββββββββββββββββ HTTP βββββββββββββββββββ HTTP βββββββββββββββββββ
β Kanizsa Platformβ ββββββββββ β MCP Server β ββββββββββ β Analysis Agentsβ
β (Photo Categorizer)β β (This Repo) β β (Adjective, etc)β
βββββββββββββββββββ βββββββββββββββββββ βββββββββββββββββββ
Role in Ecosystem
- Orchestrates photo analysis requests from the main platform
- Routes requests to appropriate analysis agents
- Provides standardized MCP protocol interface
- Enables agent marketplace and discovery
π Quick Start
Containerized Deployment
# Build and run with Docker
docker build -t kanizsa-mcp-server .
docker run -p 8002:8002 kanizsa-mcp-server
# Or with Docker Compose
docker-compose up -d
Environment Configuration
# Required environment variables
MCP_SERVER_PORT=8002
JWT_SECRET=your-secret-key
KANIZSA_BASE_URL=http://kanizsa-app:8000
π API Endpoints
MCP Protocol (Port 8002)
POST /mcp/analyze_photo
- Analyze single photoPOST /mcp/analyze_batch
- Analyze multiple photosGET /mcp/health
- System health checkGET /mcp/metrics
- System metrics
HTTP API (Port 8002)
GET /health
- Health statusGET /api/agents
- List available agentsPOST /api/photos/analyze
- Photo analysisGET /api/tasks/{taskId}
- Task status
π§ Development
Containerized Development
# Build development image
docker build -t kanizsa-mcp-server:dev .
# Run with hot reload
docker run -p 8002:8002 -v $(pwd)/src:/app/src kanizsa-mcp-server:dev
Testing
# Run tests in container
docker run kanizsa-mcp-server npm test
# Integration tests
docker run kanizsa-mcp-server npm run test:integration
π Monitoring
Health Checks
# Container health
docker exec kanizsa-mcp-server curl http://localhost:8002/health
# Metrics
docker exec kanizsa-mcp-server curl http://localhost:8002/metrics
Logs
# Container logs
docker logs kanizsa-mcp-server
# Follow logs
docker logs -f kanizsa-mcp-server
π Security
- JWT Authentication - Token-based API security
- Rate Limiting - Per-user and per-endpoint limits
- Input Validation - Comprehensive request validation
- Container Isolation - Zero host dependencies
π¦ Deployment
Docker Compose
kanizsa-mcp-server:
build: .
ports:
- "8002:8002"
environment:
- MCP_SERVER_PORT=8002
- JWT_SECRET=your-secret-key
Kubernetes
apiVersion: apps/v1
kind: Deployment
metadata:
name: kanizsa-mcp-server
spec:
replicas: 3
template:
spec:
containers:
- name: kanizsa-mcp-server
image: kanizsa-mcp-server:11.5.0
ports:
- containerPort: 8002
π Ecosystem Communication
Platform Integration
- Receives analysis requests from Kanizsa Photo Categorizer
- Routes requests to appropriate analysis agents
- Returns results to platform for user display
- Provides health and monitoring data
Agent Discovery
- Discovers available analysis agents via HTTP
- Supports agent marketplace integration
- Enables dynamic agent registration
- Provides agent health monitoring
π Documentation
- - Complete endpoint reference
- - Protocol specification
- - Production deployment
π€ Contributing
- Fork the repository
- Create a feature branch
- Make your changes
- Add tests
- Submit a pull request
π License
MIT License - see LICENSE file for details.
Repository: Independent MCP Server
Communication: HTTP APIs only
Deployment: Fully containerized
Dependencies: Zero host dependencies
Integration: Kanizsa Photo Management Ecosystem