gnn-lsp-server
GNN Language Server Protocol integration. Use when starting editor diagnostics, checking hover behavior, or validating LSP support for GNN files.
by ActiveInferenceInstitute★ 36 GitHub stars
Install gnn-lsp-server in Claude Code & Claude Desktop
Sign up to install this skill
Create a free account to reveal the install command and save the skill to your library.
- Reveal the one-line install command
- Save skills to your synced library
- Get notified when skills update
About this skill
Core Skill: lsp_server
Function: Language Server Protocol implementation providing real-time GNN file diagnostics and hover information for LSP-compatible editors.
Example Flow
# Start the GNN Language Server via CLI
gnn lsp
# Or directly via Python (equivalent to `gnn lsp`)
python -c "from gnn.lsp import start_server; start_server()"
Programmatic Usage
from gnn.lsp import create_server, start_server
# Create and configure the LSP server
server = create_server()
# Start on stdio (standard usage for editor integration)
start_server()
Features
- Diagnostic Publishing: Validates GNN sections, state-space variables, and connections on file open and save
- Hover Information: Displays variable name, dimensions, type, and default values at cursor position
- Error Extraction: Maps parse errors to line numbers for inline display in editors
- Graceful Fallback: Works without
pyglsby providing a clear installation message - VS Code Integration: Compatible with any LSP client via stdio transport
MCP Tools
This module registers tools with the GNN MCP server (see mcp.py):
- None
Allowed tools
Tools this skill is permitted to call.
No restriction — this skill can use any tool.
Bundled files
- AGENTS.md
- README.md
- SPEC.md
- __init__.py
- completions.py
- mcp.py
FAQ
What does the gnn-lsp-server skill do?
GNN Language Server Protocol integration. Use when starting editor diagnostics, checking hover behavior, or validating LSP support for GNN files.
How do I install the gnn-lsp-server skill?
Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.
Does the gnn-lsp-server skill run scripts?
Yes, this skill bundles executable scripts. Review the source before installing.
Related skills
mcp-builder
AnthropicGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
claude-api
AnthropicReference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
algorithmic-art
AnthropicCreating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
mcp-integration
AnthropicThis skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…