Synthetic Philosophy and Deductive Engineering
This note explains how to start the SPaDE MCP server for use by Copilot (or any MCP client) and how to perform a quick connectivity test.
PYTHONPATH so the server can import the kr modules.requirements.txt are baked into the container build; only re-run pip install -r requirements.txt if you are outside the dev container or after adding new requirements.mcp/, launch the server in the foreground:
make servePYTHONPATH=...make serve MCP_TRANSPORT=sse. The default HTTP
address is 127.0.0.1:8000.--transport, --host, --port,
--mount-path, and --sse-path when run directly. The corresponding
environment variables are SPADE_MCP_TRANSPORT, SPADE_MCP_HOST,
SPADE_MCP_PORT, SPADE_MCP_MOUNT_PATH, and SPADE_MCP_SSE_PATH.
Command-line options take precedence over environment variables; Make
variables such as MCP_PORT are passed as command-line options.mcp/server.log and /tmp/spade_server_startup.log during startup.make serve command (or python3 mcpcd001.py with PYTHONPATH=..).SPaDE-server and exposes three tools:
create_repository(filepath, version=1)write_sexpression(filepath, sexp_json)read_sexpression(filepath, seq_num)http://127.0.0.1:8000/sse unless the server paths or
address have been configured differently.mcp/ to validate the server:
PYTHONPATH=.. python3 mcpte001.pycreate_repository, write_sexpression, and read_sexpression, and retains
the repository round-trip and repeated-content checks.