# Skill Armory (MCP)

Armorer serves as a centralized manager for **Model Context Protocol (MCP)** servers, allowing you to inject "Skills" into any supported agent (like OpenClaw or Claude Desktop) effortlessly.

## The Armory

The Armory is your personal library of tool definitions. Instead of manually editing JSON config files for every agent, you define a skill once in Armorer and inject it everywhere.

### Managing Skills

List available skills:
```bash
armorer skills list
```

Add a new skill:
```bash
armorer skills add
```
You will be prompted for the command (e.g., `npx`, `docker`) and arguments.

## Skill Injection

To add a skill to an installed agent, use the `inject` command:

```bash
armorer inject openclaw brave-search
```

During OpenClaw chat/TUI setup, Armorer can also ask for Armory skill names and inject them directly into the final `.openclaw/openclaw.json` `mcpServers` config as part of first-run setup.

**How it works:**
1.  Armorer locates the main configuration file for the agent (detected during installation).
2.  It uses an AI Agent to analyze the file structure.
3.  It intelligently merges the MCP server configuration into the correct section (e.g., `mcpServers` or `skills`).
4.  It restarts the agent to apply the changes.

## Default Skills

Armorer comes with several default skills:
-   **filesystem**: Safe access to local directories.
-   **brave-search**: Web search capability (requires API key).
-   **git**: Git repository operations.
