Comprehensive guide to MCP tools, prompts, and resources for OpenForum integration
This reference provides detailed documentation for all available MCP (Model Context Protocol) tools, prompts, and resources in the HomeLab Claude environment. Each tool includes descriptions, parameters, usage examples, and integration patterns for seamless OpenForum development.
CLASSIFICATION: System Control Interface
FUNCTION: Initiate Claude Desktop restart sequence to reload MCP configurations
DESCRIPTION: This tool provides programmatic control over the Claude Desktop application lifecycle. When invoked, it triggers a clean restart of the Claude Desktop environment, which forces a reload of all MCP tool definitions, prompts, and resources from their registry files. This is essential after creating new tools, modifying existing ones, or updating configuration files like tool-list.json. The optional prompt parameter allows you to request user confirmation before the restart occurs.
ACCESS PROTOCOL: Request "restart" or "reload MCP tools" via voice command
PARAMETERS:
prompt (boolean) - Enable confirmation dialog before system restartCLASSIFICATION: Development Environment
FUNCTION: Create, test, and deploy new MCP tools within the system matrix
DESCRIPTION: A comprehensive development toolkit for building and managing MCP tools in the OpenForum environment. This meta-tool streamlines the entire development lifecycle by providing commands to create new tool files from templates, validate JavaScript syntax, register tools in the tool-list.json registry, and browse the tool directory structure. It eliminates manual file manipulation and reduces errors by automating the deployment process. The tool also provides direct access to read existing tool source code and restart Claude Desktop to test newly created or modified tools.
ACCESS PROTOCOL: Development workflow for MCP tool creation
AVAILABLE OPERATIONS:
create - Instantiate new tool from source codetest - Execute syntax validation protocolsdeploy - Integration with tool-list.json registrylist - Display all available system toolsread - Access tool source coderestart - Reload Claude Desktop matrixtemplate - Retrieve tool construction templatelistfiles - Browse directory matrix structuresCLASSIFICATION: Code Compilation Matrix
FUNCTION: Compile and execute Java code, run Maven build protocols
DESCRIPTION: A full-featured Java development environment that bridges Claude AI with Java compilation and execution capabilities. This tool handles both standalone Java file compilation using javac and comprehensive Maven project management including building, testing, packaging, and executing Java applications. It manages classpaths, working directories, and command-line arguments automatically. Perfect for rapid prototyping, testing Java snippets, running Maven builds, executing test suites, and creating new Maven projects with specified group and artifact IDs. The tool captures both standard output and error streams to provide complete feedback on compilation and execution results.
ACCESS PROTOCOL: Java development and testing environment
AVAILABLE OPERATIONS:
compile_java - Compile .java source filesrun_java - Execute compiled Java classescompile_and_run - Combined compilation and executionmaven_compile - Maven compilation phasemaven_test - Execute Maven test suitemaven_package - Generate Maven packagemaven_clean - Clean Maven project artifactsmaven_exec - Execute Java main classcreate_maven_project - Initialize new Maven projectStructured conversation initiators with expert guidance protocols for specific domains.
CLASSIFICATION: Development Assistant Protocol
FUNCTION: Expert guidance for MCP tool development
DESCRIPTION: An AI-powered expert assistant prompt that provides specialized guidance throughout the MCP tool development process. When activated, Claude assumes the role of an experienced MCP developer who can help design tool architectures, write clean JavaScript code for OpenForum integration, debug issues, suggest best practices, and explain MCP protocol specifications. This prompt is particularly valuable for understanding the nuances of tool parameter definitions, error handling patterns, and OpenForum helper class usage.
ACCESS PROTOCOL: "Use the MCP tool developer prompt to help me..."
PARAMETERS:
tool_type (optional) - Specify tool categorycomplexity (optional) - Define complexity levelspecific_help (optional) - Target assistance areaCLASSIFICATION: Code Analysis Protocol
FUNCTION: Expert Java code review and optimization recommendations
DESCRIPTION: A specialized code review prompt that transforms Claude into an expert Java code reviewer with deep knowledge of best practices, design patterns, performance optimization, and common pitfalls. When invoked, this prompt enables comprehensive analysis of Java code including style consistency, potential bugs, security vulnerabilities, performance bottlenecks, and architectural improvements. It can focus on specific aspects like thread safety, memory management, or Java version-specific features based on your requirements.
ACCESS PROTOCOL: "Use the Java code reviewer prompt to..."
PARAMETERS:
review_focus (optional) - Specify review focus areacode_complexity (optional) - Define code complexity leveljava_version (optional) - Target Java versionData source access points, file systems, and system information repositories.
URI: openforum://HomeLab/Claude/tools
CLASSIFICATION: File System Browser
FUNCTION: Browse MCP tool files and configuration matrices
DESCRIPTION: A dynamic resource that provides real-time inventory of all MCP tools in the system. When accessed, it scans the HomeLab/Claude directory for .sjs tool files, cross-references them with tool-list.json, and returns detailed metadata including file sizes, modification dates, registration status, and tool descriptions. This resource is invaluable for system auditing, discovering available tools, and identifying orphaned or unregistered tools that may need attention.
DATA FORMAT: JSON metadata with tool information, file statistics, and registry status
URI: openforum://system/logs
CLASSIFICATION: System Monitoring Interface
FUNCTION: Access system logs and MCP interaction history
DESCRIPTION: A comprehensive logging resource that aggregates system events, MCP tool invocations, error messages, and server activity into a readable format. It provides insight into what tools have been called, when they were executed, what errors occurred, and overall system health. Essential for troubleshooting tool failures, monitoring system performance, and understanding the flow of MCP communications between Claude and the OpenForum server.
DATA FORMAT: Server status reports, recent events, error summaries
URI: openforum://projects/files
CLASSIFICATION: Project Analysis System
FUNCTION: Browse and analyze project files across development workspace
DESCRIPTION: A workspace analysis resource that scans configured project directories and generates comprehensive summaries including file counts, directory structures, programming language distributions, and project statistics. It helps Claude understand your project landscape without manually exploring the filesystem. Useful for project overviews, identifying codebases to work with, and getting quick insights into project composition and organization.
DATA FORMAT: Project summaries, file statistics, directory structures
"compile my Java project""run Maven tests"CLASSIFICATION: Tool Registry Database
FUNCTION: Defines available MCP tools in the system matrix
{
"toolName": {
"pageName": "/HomeLab/Claude",
"fileName": "ToolName.sjs"
}
}
CLASSIFICATION: Prompt Registry Database
FUNCTION: Defines available MCP prompts in the system
{
"promptName": {
"pageName": "/HomeLab/Claude",
"fileName": "PromptName.sjs"
}
}
CLASSIFICATION: Resource Registry Database
FUNCTION: Defines available MCP resources in the system
{
"resourceName": {
"pageName": "/HomeLab/Claude",
"fileName": "ResourceName.sjs"
}
}
/web/content/default/HomeLab/Claude/*.sjs files + tool-list.json*Prompt.sjs files + prompt-list.json*Resource.sjs files + resource-list.jsonfile.getFileAsString(), file.saveStringToFile()js.getObject() for dynamic loading/web/content/TOOL NOT FOUND: Verify tool-list.json and restart Claude Desktop
SYNTAX ERRORS: Use MCPDevTool test action to validate code
FILE PERMISSIONS: Ensure OpenForum has read/write access
JAVA COMPILATION: Check classpath and file path configurations
Documentation Version: 1.0.0
MCP Server: OpenForum JavaScript Server
Last Updated: Generated dynamically from active tool registry
Support: For issues or questions, consult the MCP Tools Guide