jarvis-mcp
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
jarvis-mcp
⚠️ Potentially deprecated — do not extend. Existing tools still work, but the architecture is under review; raise the question before adding new tools.
MCP (Model Context Protocol) server for jarvis. Exposes jarvis services as tools for Claude Code.
Architecture
Claude Code ◄──MCP (SSE/HTTP)──► jarvis-mcp (7709) ──HTTP──► jarvis services
│
├──► jarvis-logs (7702)
├──► jarvis-auth (7701)
├──► jarvis-recipes (7030)
└──► jarvis-command-center (7703)Related MCP server: mcp-server-logs-sieve
Quick Start
Option 1: Docker (Recommended)
# Start with docker-compose
docker-compose up -d
# Or alongside jarvis-logs stack
cd ../jarvis-logs && docker-compose up -d
cd ../jarvis-mcp && docker-compose up -dOption 2: Local Development
# Install
pip install -e .
# Run
python -m jarvis_mcp
# or
jarvis-mcpClaude Code Configuration
Add to your ~/.claude.json or project .claude/settings.json:
{
"mcpServers": {
"jarvis": {
"type": "sse",
"url": "http://localhost:7709/sse"
}
}
}Or use the CLI:
claude mcp add --transport sse jarvis http://localhost:7709/sseFor Docker deployment (different host):
{
"mcpServers": {
"jarvis": {
"type": "sse",
"url": "http://your-server:7709/sse"
}
}
}Available Tool Groups
Group | Tools | Description |
|
| Query and search jarvis logs |
|
| Debug and monitor jarvis services |
Logs Tools
Tool | Description |
| Query logs with filters (service, level, search, time range) |
| Get recent logs from a specific service |
| Find recent errors across all services |
| List all services that have sent logs |
Debug Tools
Tool | Description |
| Check health status of jarvis services |
| Get detailed info about a specific service |
Configuration
Environment Variables
Variable | Default | Description |
|
| Host to bind to |
|
| Port to listen on |
|
| Comma-separated tool groups to enable |
|
| jarvis-logs server URL |
|
| jarvis-auth server URL |
|
| jarvis-recipes server URL |
|
| jarvis-command-center URL |
Docker Configuration
# Change port
JARVIS_MCP_PORT=9100 docker-compose up -d
# Enable more tool groups
JARVIS_MCP_TOOLS=logs,debug,recipes docker-compose up -dUsage Examples
Once configured, Claude Code can use these tools directly:
User: "Show me recent errors from llm-proxy"
Claude: [calls logs_errors with service="llm-proxy"]
User: "Are all services healthy?"
Claude: [calls debug_health]
User: "Tail the logs from command-center"
Claude: [calls logs_tail with service="command-center"]Endpoints
Endpoint | Description |
| SSE connection endpoint for MCP clients |
| Message endpoint for MCP protocol |
Adding New Tool Groups
Create a new module in
jarvis_mcp/tools/:
# jarvis_mcp/tools/recipes.py
from mcp.types import Tool, TextContent
RECIPES_TOOLS = [
Tool(
name="recipes_search",
description="Search for recipes",
inputSchema={...}
),
]
async def handle_recipes_tool(name: str, arguments: dict) -> list[TextContent]:
...Register in
jarvis_mcp/tools/__init__.pyAdd to
server.py:
if config.is_enabled("recipes"):
tools.extend(RECIPES_TOOLS)Enable in config:
JARVIS_MCP_TOOLS=logs,debug,recipesDevelopment
# Install in development mode
pip install -e ".[dev]"
# Run locally
python -m jarvis_mcp
# Build Docker image
docker build -t jarvis-mcp .
# Run with Docker
docker run -p 7709:7709 jarvis-mcpTool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Query application logs, traces, and metrics from your AI coding assistant via Foam's MCP server.
MCP server for your apps' tools and custom tools, plus hosted AI agents and approval-gated workflows
MCP observability. Query live traffic, errors, duration, and alerts from your AI agent.
Your org's AI agents, tasks, runs, search, and brain files as MCP tools and resources.
Related MCP Servers
- FlicenseBqualityFmaintenanceEnables comprehensive Datadog monitoring capabilities including CI/CD pipeline management, service logs analysis, metrics querying, monitor and SLO management, service definitions retrieval, and team management through Claude and other MCP clients.1320-
- AlicenseNot gradedqualityBmaintenanceAn MCP server that connects Claude (or any MCP compatible client) to your existing log infrastructure. Query, summarize, and trace logs in plain English across GCP Cloud Logging, AWS CloudWatch, Azure Log Analytics, Grafana Loki, and Elasticsearch without writing filter expressions or leaving your editor.5MIT
- FlicenseBqualityDmaintenanceEnables log analysis, searching, counting, and system metrics retrieval (CPU, memory, disk) via natural language, using 5 tools that can be integrated with Claude Code.5-
- AlicenseNot gradedqualityBmaintenanceA read-only MCP server that exposes tools to query Datadog monitors and logs, and AWS CloudWatch Logs, and to group recurring errors by fingerprint. Designed for use with Claude Code to diagnose issues and propose fixes.MIT