MCPcopy Index your code
hub / github.com/ansible/vscode-ansible

github.com/ansible/vscode-ansible @v26.6.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release v26.6.0 ↗ · + Follow
1,541 symbols 4,949 edges 350 files 199 documented · 13% updated 1d agov26.6.0 · 2026-06-01★ 478106 open issues
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Ansible VS Code Extension

GitHub Release GitHub Repo stars Codecov

The Ansible extension for Visual Studio Code streamlines Ansible development by providing an integrated, feature-rich environment tailored for automation workflows. It offers features such as syntax highlighting, linting, intelligent code completion, and AI-assisted suggestions via Ansible Lightspeed.

With support for multi-root workspaces, containerized execution environments, and extensive configuration options, the extension enhances productivity and ensures consistent code quality for both individual and team-based projects. This extension adds language support for Ansible in Visual Studio Code and OpenVSX by using the ansible-language-server.

Please visit vscode-ansible documentation website for any instructions about installation, configuration and usage, including on how to contribute to it.

Linter support

Features

Extension points exported contracts — how you extend this code

LLMProvider (Interface)
(no doc) [3 implementers]
src/features/lightspeed/providers/base.ts
FollowUpTask (Interface)
* Follow-up task for the agent to perform.
packages/ansible-mcp-server/src/tools/adeTools.ts
ExecutionEnvironmentSettingsWithDescription (Interface)
* Interface for execution environment settings
packages/ansible-language-server/src/interfaces/extensionSettings.ts
IVolumeMounts (Interface)
* Keep in sync with packages/ansible-language-server/src/utils/containerCommandSafety.ts
src/utils/containerCommandSafety.ts
ProviderFactory (Interface)
(no doc) [2 implementers]
src/interfaces/lightspeed.ts
MockResponse (Interface)
(no doc)
test/wdio/mock-server.ts
WebviewHtmlOptions (Interface)
(no doc)
src/webviewHtml.ts
PythonEnvironmentId (Interface)
(no doc)
src/types/pythonEnvApi.ts

Core symbols most depended-on inside this repo

set
called by 210
src/features/lightspeed/llmProviderSettings.ts
log
called by 153
src/features/lightspeed/contentMatchesWebview.ts
get
called by 122
packages/ansible-language-server/src/utils/yaml.ts
setFixtureAnsibleCollectionPathEnv
called by 110
packages/ansible-language-server/test/helper.ts
error
called by 107
src/utils/logger.ts
replace
called by 98
src/utils/telemetryUtils.ts
beforeAll
called by 84
test/e2e/rootMochaHooks.ts
handler
called by 81
test/wdio/mock-server.ts

Shape

Method 618
Function 574
Class 199
Interface 144
Enum 6

Languages

TypeScript98%
Python2%

Modules by API surface

src/features/lightspeed/vue/views/webviewMessageHandlers.ts59 symbols
src/interfaces/lightspeed.ts50 symbols
src/features/lightspeed/inlineSuggestions.ts41 symbols
src/features/contentCreator/webviewUtils.ts29 symbols
src/utils/telemetryUtils.ts28 symbols
src/features/vault.ts27 symbols
packages/ansible-language-server/src/utils/yaml.ts27 symbols
src/features/lightspeed/lightspeedUser.ts26 symbols
src/services/PythonEnvironmentService.ts23 symbols
packages/ansible-mcp-server/src/tools/adeTools.ts23 symbols
src/features/lightspeed/providers/base.ts22 symbols
packages/ansible-language-server/src/services/workspaceManager.ts22 symbols

For agents

$ claude mcp add vscode-ansible \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page