# java -jar target/code-search-mcp.jar sample-monorepo 8791, then curl [main] WARN io.modelcontextprotocol.modern.server.HmacRequestStateCodec - HmacRequestStateCodec: no key configured, generated a random per-process key. State sealed by this instance cannot be opened by another instance; configure a shared key for multi-instance deployments. indexed 30 units from sample-monorepo with the hashing-512 embedder serving MCP 2026-07-28 at http://127.0.0.1:/mcp $ curl ... -H "Mcp-Method: tools/call" -H "Mcp-Name: search_code" -d {"query":"cancel an order","k":2} 1. 0.844 OrderService#cancelOrder orders/src/main/java/shop/orders/OrderService.java:38 public void cancelOrder(String orderId) // Cancels an order, puts the stock back on the shelf and returns the money to the customer. 2. 0.541 OrderService orders/src/main/java/shop/orders/OrderService.java:11 class OrderService // Places and cancels customer orders by coordinating stock, payment and email.