MCPcopy Create free account
hub / github.com/canonical/mir

github.com/canonical/mir @v2.28.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release v2.28.0 ↗ · + Follow
15,539 symbols 33,992 edges 1,802 files 571 documented · 4% updated todayv2.28.0 · 2026-06-05★ 775374 open issues

Browse by type

Functions 10,873 Types & classes 4,666
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Canonical Mir logo

Mir - Wayland compositor

Mir is a set of libraries for building Wayland based shells. Mir simplifies the complexity that shell authors need to deal with: it provides a stable, well tested and performant platform with touch, mouse and tablet input, multi-display capability and secure client-server communications.

Mir deals with the bringup and configuration of a broad array of graphics and input hardware, abstracts hardware differences away from shell authors (transparently dealing with hardware quirks) and integrates with system components such as greeters.

Window management is integrated into Mir with useful default behaviour and is extremely customisable by shell authors using a simple high-level API.

Resources

Packaging status

Packaging status

Copyright and License

Copyright © Canonical Ltd.

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 or 3 as published by the Free Software Foundation.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.

Core symbols most depended-on inside this repo

Shape

Method 9,188
Class 4,517
Function 1,685
Enum 149

Languages

C++98%
Rust1%
C1%
Python1%
TypeScript1%

Modules by API surface

tests/acceptance-tests/wayland-generator/expected.cpp304 symbols
src/server/scene/basic_surface.cpp134 symbols
tests/mir_test_doubles/mock_libinput.cpp129 symbols
tests/acceptance-tests/wayland-generator/expected.h119 symbols
src/platform/graphics/linux_dmabuf.cpp98 symbols
src/miral/basic_window_manager.cpp97 symbols
tests/mir_test_framework/test_wlcs_display_server.cpp92 symbols
src/platforms/wayland/protocol/xdg-shell-client.h79 symbols
include/platform/mir/graphics/platform.h79 symbols
src/include/server/mir/default_server_configuration.h76 symbols
tests/mir_test_doubles/mock_drm.cpp73 symbols
src/platforms/wayland/displayclient.cpp71 symbols

For agents

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

⬇ download graph artifact

Ask about this repo answers extend the page