Universal AI Bridge
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| BRIDGE_MODE | No | Security mode: 'safe' (default) or 'admin'. | safe |
| BRIDGE_PORT | No | Loopback port for the HTTP server. | 8787 |
| BRIDGE_TOKEN | No | Bearer token for the HTTP transport. Without it, the HTTP server does not start. | |
| BRIDGE_APPROVAL | No | Approval mode: auto, confirm (default), or local. | confirm |
| BRIDGE_ADMIN_ACK | No | Required when BRIDGE_MODE=admin. Must be exactly I_UNDERSTAND_FULL_PC_ACCESS. | |
| BRIDGE_WORKSPACE | No | Jailed workspace root. Empty means ./workspace. | ./workspace |
| BRIDGE_ALLOW_SHELL | No | Set to true to enable the terminal/shell tools. | false |
| BRIDGE_ALLOW_DOCKER | No | Set to true to enable Docker (only effective in admin mode). | false |
| BRIDGE_ALLOWED_ORIGINS | No | Comma-separated list of allowed origins to prevent DNS rebinding. |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| get_workspace_infoA | Retorna raiz do workspace, modo (safe/admin), aprovação e se shell/docker estão habilitados. Chame primeiro. |
| list_dirA | Lista arquivos e pastas de um diretório dentro do workspace. |
| read_fileA | Lê um arquivo de texto do workspace. Suporta leitura parcial: offset_lines/limit_lines (fatia) ou tail_lines (últimas N linhas) para arquivos grandes. |
| read_multiple_filesA | Lê vários arquivos de texto do workspace de uma vez. |
| get_file_infoA | Metadados de um caminho: tipo, tamanho, datas de criação/modificação. |
| write_fileA | Cria ou sobrescreve um arquivo de texto no workspace. Cria diretórios pais. Sujeito a política e aprovação. |
| edit_fileB | Substitui a primeira ocorrência exata de old_text por new_text num arquivo existente. Sujeito a aprovação. |
| make_dirB | Cria um diretório (e pais) dentro do workspace. |
| move_pathA | Move ou renomeia um arquivo/pasta dentro do workspace. Sujeito a aprovação. |
| create_projectB | Cria uma pasta de projeto com múltiplos arquivos de uma vez. files = { 'caminho': 'conteúdo' }. Sujeito a aprovação. |
| search_filesB | Procura arquivos cujo nome contém o termo (recursivo, ignora .git/node_modules/dist). |
| search_contentB | Procura texto/regex dentro dos arquivos do workspace e retorna arquivo:linha: trecho. Ignora .git/node_modules/dist e arquivos binários grandes. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 12 tools
Each tool targets a distinct workspace operation: info, listing, reading, metadata, writing, editing, moving, project creation, and searching by name or content. Potential overlaps like read_file vs read_multiple_files are clearly separated by their singular/plural intent.
All tools use snake_case and follow a consistent verb_noun pattern (get_, list_, make_, read_, write_, edit_, move_, create_, search_). Minor variants like read_multiple_files still fit the pattern cleanly.
12 tools is well-scoped for a workspace/file-management server; each tool covers a distinct operation without bloat. The count supports common agent workflows without overwhelming selection.
The set covers create, read, update, move, search, and multi-file project creation, but lacks any delete/remove operation for files or directories, which is a notable gap in file lifecycle coverage. There is also no copy operation, though move and write can approximate some workflows.