MCPcopy
hub / github.com/cockpit-project/cockpit

github.com/cockpit-project/cockpit @363.2 sqlite

repository ↗ · DeepWiki ↗ · release 363.2 ↗
4,650 symbols 15,971 edges 423 files 200 documented · 4%
README

Cockpit

A sysadmin login session in a web browser

cockpit-project.org

Cockpit is an interactive server admin interface. It is easy to use and very lightweight. Cockpit interacts directly with the operating system from a real Linux session in a browser.

Using Cockpit

You can install Cockpit on many Linux operating systems including Debian, Fedora and RHEL.

Cockpit makes Linux discoverable, allowing sysadmins to easily perform tasks such as starting containers, storage administration, network configuration, inspecting logs and so on.

Jumping between the terminal and the web tool is no problem. A service started via Cockpit can be stopped via the terminal. Likewise, if an error occurs in the terminal, it can be seen in the Cockpit journal interface.

You can also easily add other machines that have Cockpit installed and are accessible via SSH and jump between these hosts.

Development

Extension points exported contracts — how you extend this code

DBusProxies (Interface)
(no doc) [5 implementers]
pkg/lib/cockpit.d.ts
Location (Interface)
(no doc) [1 implementers]
pkg/shell/util.tsx
KpatchSettingsProps (Interface)
(no doc)
pkg/packagekit/kpatch.tsx
QueryObj (Interface)
(no doc)
pkg/apps/utils.tsx
Player (Interface)
(no doc)
pkg/base1/test-import-json.ts
Profile (Interface)
(no doc)
pkg/systemd/overview-cards/profiles-menu-dialog-body.tsx
Name (Interface)
(no doc)
pkg/playground/dialog.tsx
PackageManager (Interface)
(no doc) [4 implementers]
pkg/lib/_internal/packagemanager-abstract.ts

Core symbols most depended-on inside this repo

map
called by 354
pkg/lib/cockpit/dialog.tsx
addEventListener
called by 347
pkg/lib/cockpit.d.ts
close
called by 261
pkg/lib/cockpit.d.ts
spawn
called by 228
src/cockpit/peer.py
call
called by 215
pkg/lib/cockpit.d.ts
forEach
called by 193
pkg/lib/cockpit/dialog.tsx
join
called by 185
pkg/systemd/overview-cards/realmd.jsx
get
called by 161
pkg/lib/cockpit.d.ts

Shape

Function 2,371
Method 1,711
Class 405
Interface 157
Enum 3
Route 3

Languages

TypeScript68%
Python32%

Modules by API surface

test/common/testlib.py181 symbols
pkg/lib/cockpit.d.ts95 symbols
pkg/networkmanager/interfaces.js77 symbols
pkg/storaged/utils.js76 symbols
test/pytest/test_bridge.py75 symbols
test/common/storagelib.py72 symbols
src/cockpit/channel.py70 symbols
pkg/lib/cockpit.js69 symbols
pkg/lib/cockpit/dialog.tsx67 symbols
pkg/shell/hosts_dialog.jsx66 symbols
pkg/storaged/client.js62 symbols
pkg/metrics/metrics.jsx61 symbols

Dependencies from manifests, versioned

@patternfly/patternfly6.4.0 · 1×
@patternfly/react-core6.4.3 · 1×
@patternfly/react-icons6.4.0 · 1×
@patternfly/react-styles6.4.0 · 1×
@patternfly/react-table6.4.3 · 1×
@patternfly/react-tokens6.4.0 · 1×
@types/qunit2.19.14 · 1×
@types/react18.3.12 · 1×
@types/react-dom18.3.1 · 1×
@types/throttle-debounce5.0.2 · 1×
@typescript-eslint/eslint-plugin8.60.0 · 1×
@xterm/addon-webgl0.19.0 · 1×

For agents

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

⬇ download graph artifact