- Refactor server to use a generic transport interface - Add HttpTransport for JSON-RPC and REST over HTTP - Move existing STDIO logic into a StdioTransport - Enable dual-mode (STDIO/HTTP) via command-line flags - Add new examples and docs for HTTP server usage
11 lines
320 B
Bash
Executable File
11 lines
320 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# Get the absolute path to the server.vsh file
|
|
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
|
SERVER_PATH="$SCRIPT_DIR/server.vsh"
|
|
|
|
# Make sure the server script is executable
|
|
chmod +x "$SERVER_PATH"
|
|
|
|
# Start the MCP inspector with the V server
|
|
npx @modelcontextprotocol/inspector "$SERVER_PATH" |