Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
nvim_launchA

Launch an isolated, disposable Neovim instance owned by this server and attach to it as a UI client. Returns a session id for the other tools. Use nvim_close when finished.

nvim_attachA

Attach as an additional UI to an already-running Neovim instance. The instance belongs to the user: nvim_close will refuse to terminate it. Note that Neovim sizes the screen to the smallest attached UI, so the requested size can shrink what the user sees.

nvim_observeA

Return the rendered Neovim screen as plain text rows, plus cursor, mode, size, current buffer/window and floating-window geometry. The screen is the source of truth; the metadata explains it. Rows are plain text with no cursor markers or line numbers, so substring matching is reliable. Resets the nvim_observe_diff baseline.

nvim_observe_diffA

Return only what changed since the last observation: changed screen rows with their before/after text, plus cursor, mode and size deltas. Much smaller than a full nvim_observe for verifying a single action. Resets the baseline.

nvim_inputA

Send a key sequence to Neovim. Returns as soon as the keys are queued, not when the screen has updated: follow with nvim_wait before observing, otherwise the observation races the redraw.

nvim_commandA

Execute an Ex command. A command that Neovim rejects comes back as an error result with Neovim's own message. Like nvim_input, this does not wait for the screen to settle.

nvim_waitA

Block until a screen condition holds, so an observation is not raced against the redraw it is meant to see. On timeout the error includes the screen as it was, so a failed wait is diagnosable.

nvim_closeA

Terminate a Neovim instance this server launched and release its session. Refuses attach-mode sessions: that instance belongs to the user, and attach sessions are released when the server shuts down.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/kjoonha/nvim-ui-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server