Add mcp-server module: order-lookup service exposed via @McpTool/@McpResource/@McpPrompt over Streamable HTTP
Co-Authored-By: Claude Sonnet 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01FtpJvZfg4nvLvtzgJTDWpB
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
#!/usr/bin/env bash
|
||||
# Starts the application, killing any previous instance first.
|
||||
#
|
||||
# Usage:
|
||||
# ./scripts/run.sh
|
||||
#
|
||||
# Then, in another shell (or point MCP Inspector / Claude Desktop at the same URL):
|
||||
# curl -X POST http://localhost:8080/mcp \
|
||||
# -H "Content-Type: application/json" -H "Accept: application/json, text/event-stream" \
|
||||
# -d '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2025-06-18","capabilities":{},"clientInfo":{"name":"curl","version":"1.0"}}}'
|
||||
set -eu
|
||||
cd "$(dirname "$0")/.."
|
||||
|
||||
for p in $(ps -eo pid,cmd | grep '[M]cpServerApplication' | awk '{print $1}'); do
|
||||
kill -9 "$p"
|
||||
done
|
||||
|
||||
mvn -q -o org.springframework.boot:spring-boot-maven-plugin:run
|
||||
Reference in New Issue
Block a user