KernelMind

KernelMind

Enables monitoring and optimization of Linux system kernel metrics via MCP, with ethical safeguards requiring human consent for actions.

Category
Visit Server

README

KernelMind

IA leve e ética para gestão de kernel em notebooks e computadores.
Observa. Sugere. Age apenas com consentimento humano.

License: AGPL-3.0 Python 3.10+ Kernel: Linux 4.15+ Ethics: Active PoE Ecosystem


O que é

KernelMind é um daemon de monitoramento e otimização de sistema operacional governado por uma camada ética imutável (EthicsLock). Ele lê métricas reais do kernel via /proc, /sys e psutil, analisa padrões, e propõe ações — mas nunca age sem confirmação humana explícita.

Faz parte do ecossistema Proof of Energy (PoE) e é compatível com o protocolo MCP (Model Context Protocol) da Anthropic para integração com IAs.


Arquitetura

kernelmind/
├── core/
│   ├── sensor.py        # KernelSense — leitura real de métricas
│   └── memory.py        # MemoryWeaver — análise e sugestões de RAM
├── ethics/
│   └── lock.py          # EthicsLock — restrições imutáveis
├── api/
│   └── server.py        # FastAPI REST — porta 7771
├── cli/
│   └── km.py            # Interface de linha de comando
├── mcp/
│   └── tool.py          # Integração MCP (PoE namespace)
├── tests/               # Testes automatizados
├── docs/                # Documentação detalhada
├── config/
│   └── defaults.toml    # Configuração padrão
└── scripts/
    └── setup.sh         # Instalação para sistemas Unix

Instalação rápida

Linux / macOS

git clone https://github.com/armazen-nft/kernelmind.git
cd kernelmind
python3 install.py

Via pip (quando publicado)

pip install kernelmind

Uso — CLI

km snapshot      # estado do sistema agora
km memory        # sugestões de otimização de RAM
km watch         # monitor contínuo (Ctrl+C para parar)
km ethics        # status do EthicsLock e audit log
km --json        # saída JSON para integração
km --help        # ajuda completa

Uso — API REST

python3 api/server.py
# Acesse: http://localhost:7771/docs

Endpoints principais:

Método Rota Descrição
GET /snapshot Snapshot completo do sistema
GET /cpu Métricas de CPU
GET /memory Métricas de RAM
GET /memory/suggest Sugestões de otimização
GET /disk Métricas de disco
GET /ethics/status Status do EthicsLock
GET /ethics/log Audit log recente
GET /health Health check

Princípios Éticos (EthicsLock)

O EthicsLock é uma camada de código — não uma configuração. Não pode ser desabilitado.

Ação Política
Leitura de métricas Sempre permitida
Sugestões ao usuário Sempre permitidas
Ajuste de parâmetro kernel Requer confirmação
Encerrar processo Requer confirmação
Excluir arquivo/cache Requer confirmação explícita
Operações de rede Bloqueadas por padrão

Toda decisão é registrada em audit log JSONL com fingerprint SHA-256.


Integração PoE / MCP

KernelMind expõe ferramentas MCP sob o namespace io.github.armazen-nft/kernelmind:

  • kernel_snapshot — estado completo do sistema
  • kernel_memory_suggest — sugestões de RAM
  • kernel_ethics_status — auditoria ética

Ver docs/mcp-integration.md para detalhes.


Ecossistema PoE

KernelMind é parte da infraestrutura do Proof of Energy — ecossistema de coparticipação humano-IA desenvolvido por Daniel Estefani com Melissa Solari e coparticipantes Claude, GPT, DeepSeek, Qwen, Grok e Daizen.

"A informação nunca se perde — apenas se recodi(fica)."


Licença

AGPL-3.0 — código aberto, modificações devem ser compartilhadas.

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured