src/mcp/SKILL.md
GNN Model Context Protocol processing and tool registration. Use when registering GNN operations as MCP tools, building MCP server configurations, or integrating GNN capabilities with LLM tool-use workflows.
npx skillsauth add activeinferenceinstitute/generalizednotationnotation gnn-mcp-protocolInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Processes Model Context Protocol (MCP) configurations and registers GNN pipeline operations as MCP tools. Enables LLM agents to invoke GNN capabilities through standardized tool interfaces.
# Run MCP processing
python src/21_mcp.py --target-dir input/gnn_files --output-dir output --verbose
# As part of pipeline
python src/main.py --only-steps 21 --verbose
from mcp import (
MCP, MCPServer, MCPTool, MCPResource,
create_mcp_server, start_mcp_server,
register_tools, register_module_tools,
get_available_tools, list_available_tools,
list_available_resources, process_mcp,
get_mcp_instance, handle_mcp_request
)
# Process MCP step (used by pipeline)
process_mcp(target_dir, output_dir, verbose=True)
# Create and start MCP server
server = create_mcp_server()
start_mcp_server(server)
# Register tools
register_tools(server)
register_module_tools(server, module_name="gnn")
# Query available tools
tools = get_available_tools()
tools_list = list_available_tools()
resources = list_available_resources()
MCP / MCPServer — server classesMCPTool / MCPResource — tool and resource typescreate_mcp_server / start_mcp_server — server lifecycleregister_tools / register_module_tools — tool registrationprocess_mcp — main pipeline processing functionget_available_tools, list_available_tools, list_available_resourcesMCPToolNotFoundError, MCPValidationError, MCPModuleLoadErroroutput/21_mcp_output/development
GNN static HTML website generation from pipeline artifacts. Use when generating browsable documentation websites, creating HTML galleries of model visualizations, or publishing pipeline results as a static site.
data-ai
GNN graph and matrix visualization generation. Use when creating network graph plots, matrix heatmaps, state space diagrams, or other visual representations of GNN models.
testing
GNN advanced validation and consistency checking. Use when performing deep validation of GNN models, checking cross-model consistency, verifying structural integrity, or running validation reports.
tools
GNN shared utility functions and helper modules. Use when working with common pipeline utilities, logging helpers, file I/O wrappers, path management, or pipeline template infrastructure.