Getting started with DSOM tools
A step-by-step tutorial guiding you through running, auditing, and integrating the DSOM workspace toolchain.
Learning objectives
By completing this tutorial, you will: - Initialise the local OpenWiki documentation hub. - Audit and repair OKF v0.1 metadata frontmatter. - Spin up and test the local Model Context Protocol (MCP) server.
Lesson 1: Initialise your OpenWiki hub
Let's start by materialising the local OpenWiki workspace and knowledge graphs.
- Open your terminal at the project root.
- Run the initialisation command:
uv run --with pyyaml python tools/openwiki_emulator.py --init
- Open
./openwiki/graph.htmlin your web browser. You should see an interactive visualiser map representing the active documentation.
Lesson 2: Audit and repair frontmatter metadata
Now we will verify that all Markdown documentation satisfies the strict Open Knowledge Format (OKF v0.1).
- Execute the compliance scanning command:
uv run --with pyyaml python tools/apply_okf_frontmatter.py docs/
- The script automatically scans all files. If any fields are missing, it adds them. If formatting is incorrect, it fixes it atomically.
- Check one of your files to see the newly standardised headers:
head -n 8 docs/tutorials/index.md
Lesson 3: Start the FastMCP server
Let's publish our documentation Palace directly to AI clients.
- Launch the server over
stdio:
uv run tools/mcp/server.py
- The server sits waiting for JSON-RPC requests.
- In a separate terminal, run the MCP verification tests to make sure everything communicates properly:
uv run --with pyyaml --with pytest --with mcp==1.2.1 --with fastmcp pytest tests/test_mcp_server.py
Congratulations! You have completed the getting started tutorial for DSOM.
Deep State of Mind (DSOM) For My AI Protocol | Harisfazillah Jamel (LinuxMalaysia) | 2026-08-14 Standard: UK English | DBP-standard Bahasa Melayu Malaysia (Piawai) | GNU General Public License v3.0