MCP Connection
This server exposes an MCP (Model Context Protocol) endpoint over Streamable HTTP for AI agent integration.
Each token is bound to a context file that defines the agent's role and responsibilities.
Streamable HTTP Endpoint:
POST /mcp
Authorization: Bearer <token>
Mcp-Session-Id: <session-id>
Protocol Version:
2025-03-26 (Streamable HTTP)
Available Tools:
| Tool | Description |
| read_user_context | Reads the bound context .md file. Must be called first. |
| read_file | Read a file from the wiki. |
| write_file | Write a file to the wiki. |
| delete_file | Delete a file from the wiki. |
| search_files | Search files by path pattern. |
Enforcement:
All tools are blocked until read_user_context is called. If the context file does not exist, the agent must self-introduce and write it first.
System Instruction:
CRITICAL: Before performing any file operation, you MUST call 'read_user_context' to read your assigned responsibility file and adhere to its guidelines.