Overview
Theeval-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:
4848number
default:"0"
Auto-shutdown after N seconds of inactivity.
0= disabled (server runs indefinitely)- Useful for resource cleanup in CI/CD environments
0 (disabled)Use cases
SWE-bench evaluation
When running GitNexus in automated benchmarks:- 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
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
Related commands
- gitnexus mcp — Standard MCP server for editors
- gitnexus serve — HTTP server for web UI
- gitnexus query — Direct CLI query