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
Port number for the HTTP server.Default:
4848Auto-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:| Endpoint | Method | Description |
|---|---|---|
/query | POST | Process-grouped hybrid search |
/context | POST | 360-degree symbol view |
/impact | POST | Blast radius analysis |
/detect_changes | POST | Git-diff impact |
/rename | POST | Multi-file coordinated rename |
/cypher | POST | Raw Cypher queries |
/list_repos | GET | List indexed repositories |
/shutdown | POST | Gracefully stop the server |
Example request
Example response
Performance comparison
| Method | Cold Start | Warm Call | Use Case |
|---|---|---|---|
| MCP stdio | ~200ms | ~200ms | Development (editor integration) |
| eval-server | ~50ms | ~5ms | Benchmarks (persistent connection) |
| Direct CLI | ~150ms | ~150ms | Scripting (one-off queries) |
Differences from MCP server
| Feature | MCP Server | Eval Server |
|---|---|---|
| Protocol | stdio | HTTP |
| Connection | Per-request | Persistent |
| Editor support | ✓ | ✗ |
| Benchmark usage | ✗ | ✓ |
| Auto-shutdown | ✗ | ✓ (optional) |
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