Skip to main content

Overview

The eval-server command starts a persistent HTTP daemon designed for benchmark evaluation environments like SWE-bench. It provides a faster alternative to the MCP server by eliminating process startup overhead for repeated tool calls.
This command is designed for automated evaluation and benchmarking, not for normal development usage. For development, use the standard MCP server via gitnexus mcp.

Syntax

Options

number
default:"4848"
Port number for the HTTP server.Default: 4848
number
default:"0"
Auto-shutdown after N seconds of inactivity.
  • 0 = disabled (server runs indefinitely)
  • Useful for resource cleanup in CI/CD environments
Default: 0 (disabled)

Use cases

SWE-bench evaluation

When running GitNexus in automated benchmarks:
Benefits:
  • 50-100x faster than spawning new processes for each tool call
  • Persistent KuzuDB connections (no reconnect overhead)
  • Shared memory for indexes
  • Auto-cleanup with idle timeout

CI/CD integration

In continuous integration pipelines:

Performance testing

Benchmark GitNexus tool performance:

HTTP API

The eval server exposes the same tools as the MCP server, but via HTTP:

Example request

Example response

Performance comparison

Differences from MCP server

Security

The eval server binds to 127.0.0.1 (localhost only) by default. Do not expose it to public networks.
No authentication is required — the server is designed for local evaluation environments, not production deployment.

Troubleshooting

Port already in use

Server not responding

Memory leaks in long-running tests