Skip to main content
Glama
Global MCP Manager

Global MCP Manager

by mamprimauto

Global MCP Manager

Um servidor MCP (Model Context Protocol) que permite executar comandos de terminal em diferentes contextos: local, SSH e GitHub.

Características

  • Contexto Local: Execute comandos no sistema local

  • Contexto SSH: Execute comandos em servidores remotos via SSH

  • Contexto GitHub: Integração com repositórios GitHub (em desenvolvimento)

  • Gerenciamento de arquivos: Leia, escreva, renomeie e remova arquivos

  • Navegação de diretórios: Liste, crie e navegue por diretórios

Related MCP server: Cross-Platform Filesystem MCP Server

Instalação

npm install

Configuração no Claude Desktop

Adicione ao seu arquivo claude_desktop_config.json:

{
  "mcpServers": {
    "global-mcp": {
      "command": "/opt/homebrew/bin/node",
      "args": [
        "/caminho/para/seu/global-mcp/index.js"
      ],
      "cwd": "/caminho/para/seu/global-mcp"
    }
  }
}

Uso

O MCP Manager oferece as seguintes ferramentas:

Ferramentas de Terminal

  • terminal_exec: Executa comandos

  • terminal_list_dir: Lista diretórios

  • terminal_read_file: Lê arquivos

  • terminal_write_file: Escreve arquivos

  • terminal_rename: Renomeia arquivos/diretórios

  • terminal_remove: Remove arquivos/diretórios

  • terminal_mkdir: Cria diretórios

  • terminal_exists: Verifica se arquivo/diretório existe

  • terminal_pwd: Mostra diretório atual

  • terminal_cd: Muda diretório

Ferramentas de Configuração

  • get_config: Mostra configuração atual

  • set_context: Altera contexto (local/ssh/github)

Contextos

Local

Execute comandos no sistema local onde o MCP está rodando.

SSH

Execute comandos em um servidor remoto via SSH:

set_context ssh usuario:senha@host:porta /caminho/inicial

GitHub

Integração com repositórios GitHub (configuração via token em desenvolvimento).

Dependências

  • @modelcontextprotocol/sdk: SDK oficial do MCP

  • ssh2: Cliente SSH para Node.js

  • zod: Validação de esquemas

  • dotenv: Gerenciamento de variáveis de ambiente

Licença

MIT

Available Tools

12 tools
get_configD

Inputs: no named parameters.

set_contextD

Inputs: type (required), config.

terminal_cdD

Inputs: dir (required).

terminal_execD

Inputs: command (required), cwd.

terminal_existsD

Inputs: path (required).

terminal_list_dirD

Inputs: dir.

terminal_mkdirD

Inputs: path (required), recursive.

terminal_pwdD

Inputs: no named parameters.

terminal_read_fileD

Inputs: path (required).

terminal_removeD

Inputs: path (required), recursive.

terminal_renameD

Inputs: old_path (required), new_path (required).

terminal_write_fileD

Inputs: path (required), content (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    C2.1/5.0

    Scored across 12 tools

    Disambiguation5/5

    Every tool has a clearly distinct purpose with no ambiguity. The terminal_* tools each perform specific filesystem operations (e.g., cd for changing directory, exec for executing commands, read_file for reading), while get_config and set_context handle configuration/context management separately. There is no overlap in functionality.

    Naming Consistency5/5

    Tool names follow a highly consistent verb_noun pattern throughout. All terminal_* tools use snake_case with clear action-object pairs (e.g., terminal_exec, terminal_read_file), and get_config/set_context maintain this same consistent naming style. There are no deviations or mixed conventions.

    Tool Count5/5

    The 12 tools are well-scoped for a server managing terminal operations and configuration. Each tool earns its place by covering essential filesystem commands (cd, exec, mkdir, etc.) and configuration handling, providing a comprehensive set without being excessive or too sparse for the domain.

    Completeness4/5

    The tool surface is largely complete for terminal and configuration management, covering core CRUD-like operations (create/read/update/delete via terminal tools) and context handling. A minor gap exists in lacking descriptions, which could hinder agent understanding, but functionally, the set supports common workflows without dead ends.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables execution of shell commands, directory navigation, and interactive program automation through an enhanced command-line interface. Provides tools for running commands, managing working directories, and handling interactive programs using expect/send sequences.
      1
      MIT
    • A
      license
      A
      quality
      Not graded
      maintenance
      Enables comprehensive filesystem operations across Linux, macOS, and Windows with platform-aware command execution, secure path restrictions, and intelligent adaptations for file search, directory management, and shell commands specific to each operating system.
      13
      -
    • A
      license
      A
      quality
      C
      maintenance
      Provides intelligent file system operations with advanced features including code analysis and modification across multiple languages, version control (Git/GitHub), file compression, encryption, semantic search, batch operations, and secure shell command execution.
      1
      5
      MIT