Command Palette

Search for a command to run...

Back to skills
skill № 99532

gnn-lsp-server

GNN Language Server Protocol integration. Use when starting editor diagnostics, checking hover behavior, or validating LSP support for GNN files.

FreeRuns bundled scripts
ActiveInferenceInstituteby 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
Sign up freeI already have an account

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 pygls by 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

Compare gnn-lsp-server with