aibolit-mcp-server
projectother official build verified dockerfile by the hub scannedio.github.cqfn/aibolit-mcp-server · v
MCP Server for Aibolit Java Static Analyzer: Helping Your AI Agent Identify Hotspots for Refactoring
run it
on your own machines, one way per deploy methodverified 2026-10-17 · r-20261017T204248Z-9d2344caed2a
The repository has no Dockerfile that builds here: this build uses one the hub wrote (hub-llm:hub-coder@p6), which its worker built and ran, checked by hub-llm:gpt-oss:120b@r2.
# once, as root:
docker build -t mcp-local/aibolit:6a356aa1918872b5949151d6698b5eb8c79c1a3b -f - https://github.com/cqfn/aibolit-mcp-server.git#6a356aa1918872b5949151d6698b5eb8c79c1a3b <<'DOCKERFILE'
FROM node:22.12.0-alpine
WORKDIR /app
COPY . .
RUN npm ci
RUN npm install -g supergateway@4
USER node
EXPOSE 8000
CMD ["supergateway", "--stdio", "node_modules/.bin/tsx index.ts", "--outputTransport", "streamableHttp", "--stateful", "--port", "8000", "--streamableHttpPath", "/mcp"]
DOCKERFILE
#!/usr/bin/env bash
# aibolit (io.github.cqfn/aibolit-mcp-server), recipe docker (worker, verified 2026-10-17 on v, run r-20261017T204248Z-9d2344caed2a).
# Generated by Hub for toolset "my-agent"; started by mcp-my-agent-aibolit.service.
set -euo pipefail
export HOST=127.0.0.1 PORT=8101
exec docker run --rm --name mcp-my-agent-aibolit -p 127.0.0.1:${PORT}:8000 --env-file /etc/mcp/my-agent.env mcp-local/aibolit:6a356aa1918872b5949151d6698b5eb8c79c1a3b
[Unit]
Description=MCP server aibolit (toolset my-agent), generated by Hub
After=network-online.target docker.service
Wants=network-online.target
[Service]
Type=simple
User=mcp
Group=mcp
SupplementaryGroups=docker
EnvironmentFile=/etc/mcp/my-agent.env
Environment=HOME=/var/lib/mcp/aibolit
WorkingDirectory=/var/lib/mcp/aibolit
ExecStart=/opt/mcp/my-agent/bin/aibolit.sh
Restart=on-failure
RestartSec=5
NoNewPrivileges=true
ProtectSystem=strict
ProtectHome=true
PrivateTmp=true
ReadWritePaths=/var/lib/mcp/aibolit
[Install]
WantedBy=multi-user.target
verified 2026-10-17 · r-20261017T204248Z-9d2344caed2a
The repository has no Dockerfile that builds here: this build uses one the hub wrote (hub-llm:hub-coder@p6), which its worker built and ran, checked by hub-llm:gpt-oss:120b@r2.
docker build -t aibolit -f - https://github.com/cqfn/aibolit-mcp-server.git#6a356aa1918872b5949151d6698b5eb8c79c1a3b <<'DOCKERFILE' FROM node:22.12.0-alpine WORKDIR /app COPY . . RUN npm ci RUN npm install -g supergateway@4 USER node EXPOSE 8000 CMD ["supergateway", "--stdio", "node_modules/.bin/tsx index.ts", "--outputTransport", "streamableHttp", "--stateful", "--port", "8000", "--streamableHttpPath", "/mcp"] DOCKERFILE docker run --rm -p 127.0.0.1:8101:8000 aibolit
verified 2026-10-17 · r-20261017T204248Z-9d2344caed2a
The repository has no Dockerfile that builds here: this build uses one the hub wrote (hub-llm:hub-coder@p6), which its worker built and ran, checked by hub-llm:gpt-oss:120b@r2.
# Generated by Hub for toolset "my-agent" (2026-10-18T10:35:24+00:00).
# Each package server runs behind a stdio->HTTP bridge and listens on localhost only.
# cp .env.example .env # fill the ${VAR}s
# docker compose up -d && bash smoke.sh
# Remote servers are not here: clients reach them directly (see clients/).
name: mcp-my-agent
services:
aibolit:
build:
context: https://github.com/cqfn/aibolit-mcp-server.git#6a356aa1918872b5949151d6698b5eb8c79c1a3b
dockerfile_inline: |
FROM node:22.12.0-alpine
WORKDIR /app
COPY . .
RUN npm ci
RUN npm install -g supergateway@4
USER node
EXPOSE 8000
CMD ["supergateway", "--stdio", "node_modules/.bin/tsx index.ts", "--outputTransport", "streamableHttp", "--stateful", "--port", "8000", "--streamableHttpPath", "/mcp"]
x-dockerfile: written by the hub (hub-llm:hub-coder@p6), checked by hub-llm:gpt-oss:120b@r2, not taken
from the repository
ports:
- 127.0.0.1:8101:8000
restart: unless-stopped
volumes:
npm-cache: {}
uv-cache: {}
verified 2026-10-17 · r-20261017T204248Z-9d2344caed2a
The repository has no Dockerfile that builds here: this build uses one the hub wrote (hub-llm:hub-coder@p6), which its worker built and ran, checked by hub-llm:gpt-oss:120b@r2.
# Generated by Hub for toolset "my-agent" (2026-10-18T10:35:24+00:00).
# kubectl create namespace mcp
# kubectl -n mcp create secret generic mcp-credentials --from-env-file=.env
# kubectl apply -f kubernetes.yaml
# Services are cluster-internal: <name>.mcp.svc.cluster.local:8000/mcp. Put an ingress
# with auth in front before exposing any of them.
apiVersion: v1
kind: Namespace
metadata:
name: mcp
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: aibolit
namespace: mcp
labels: &id001
app: aibolit
spec:
replicas: 1
selector:
matchLabels: *id001
template:
metadata:
labels: *id001
spec:
containers:
- name: aibolit
image: CHANGE_ME
ports:
- containerPort: 8000
name: http
env: []
---
apiVersion: v1
kind: Service
metadata:
name: aibolit
namespace: mcp
spec:
selector:
app: aibolit
ports:
- port: 8000
targetPort: http
name: http
dockerfile
FROM node:22.12.0-alpine WORKDIR /app COPY . . RUN npm ci RUN npm install -g supergateway@4 USER node EXPOSE 8000 CMD ["supergateway", "--stdio", "node_modules/.bin/tsx index.ts", "--outputTransport", "streamableHttp", "--stateful", "--port", "8000", "--streamableHttpPath", "/mcp"]
verified 2026-10-17 · r-20261017T204248Z-9d2344caed2a
The repository has no Dockerfile that builds here: this build uses one the hub wrote (hub-llm:hub-coder@p6), which its worker built and ran, checked by hub-llm:gpt-oss:120b@r2.
# Generated by Hub for toolset "my-agent" (2026-10-18T10:35:24+00:00).
# Credentials come from the Secret 'mcp-credentials' (kubectl create secret generic ... --from-env-file=.env).
# Each server under `servers` is one Deployment + Service; the keys after it configure
# upstream charts a worker verified.
servers:
aibolit:
enabled: true
replicas: 1
port: 8000
path: /mcp
container:
name: aibolit
image: CHANGE_ME
ports:
- containerPort: 8000
name: http
env: []
# helm install my-agent helm/my-agent -n mcp
dockerfile
FROM node:22.12.0-alpine WORKDIR /app COPY . . RUN npm ci RUN npm install -g supergateway@4 USER node EXPOSE 8000 CMD ["supergateway", "--stdio", "node_modules/.bin/tsx index.ts", "--outputTransport", "streamableHttp", "--stateful", "--port", "8000", "--streamableHttpPath", "/mcp"]
Scanned github.com/cqfn/aibolit-mcp-server at 6a356aa19188 with [email protected][email protected] on 2026-10-17 before the build: 22 dependencies, 56 known vulnerabilities (1 critical, 35 high, 13 medium, 7 low), nothing in the code that looks malicious.
connect to it
copy what your client needs{
"mcpServers": {
"aibolit": {
"command": "CHANGE_ME",
"args": []
}
}
}
#!/usr/bin/env bash # Registers every server with Claude Code (run once; `claude mcp list` to check). set -euo pipefail set -a; [ -f .env ] && source .env; set +a claude mcp add aibolit -- CHANGE_ME
{
"mcpServers": {
"aibolit": {
"command": "CHANGE_ME",
"args": []
}
}
}
{
"servers": {
"aibolit": {
"type": "stdio",
"command": "CHANGE_ME",
"args": []
}
}
}
name: my-agent target: local servers: - hub: io.github.cqfn/aibolit-mcp-server
- no tested recipe for target 'local' yet: build it from https://github.com/cqfn/aibolit-mcp-server by hand, or wait for the worker
tools · 1
find_the_most_critical_design_issueAnalyze one Java file. Find the most serious design flaw. It must need immediate refactoring. Ignore cosmetic or minor issues. Fix the one problem that will best improve code quality. Code quality means maintainability, readability, loose coupling, and high cohesion. Point out the problem and where it is in the file.Analyze one Java file. Find the most serious design flaw. It must need immediate refactoring. Ignore cosmetic or minor issues. Fix the one problem that will best improve code quality. Code quality means maintainability, readability, loose coupling, and high cohesion. Point out the problem and where it is in the file.
pin c04fd848533dece4e8327cf4632c9b69a3d7676ef98e3cdd52f4c6d373e4ce87
runs · 2
the latest tests of this entry by the hub and its workers, newest first| date | worker | method | status | sandbox | reason |
|---|---|---|---|---|---|
| 2026-10-17 20:42 | local-mac-vm | dockermcp 2025-03-26 | ok1 tools | gvisor | — |
| 2026-10-17 19:34 | local-mac-vm | docker | failed | gvisor | docker: sandbox: docker build: ERROR: failed to build: failed to solve: failed to read dockerfile: open Dockerfile: no such file or directory |