# Install the Weaver plugin

Weaver gives your coding agent Laravel package search, rankings, and the agent skills that packages ship.

- MCP endpoint: https://weavecode.dev/mcp
- API key header (optional, logs calls to your account): X-Api-Key
- Plugin version: 0.1.0

## Claude Code

Installs the Weaver MCP server and both Weaver skills.

Add the marketplace and install the plugin

```bash
claude plugin marketplace add https://github.com/AgenticMorf/weaver-plugin.git
claude plugin install weaver@weaver
```

Load the plugin

```text
In a running session enter /reload-plugins. The Weaver MCP server loads at startup, so if the Weaver tools do not appear, restart Claude Code.
```

Optional: set your API key to log calls to your account

```bash
export WEAVER_API_KEY=YOUR_API_KEY
```

## Codex

Codex reads the .agents/plugins marketplace in the repository, then installs from the /plugins browser.

Add the marketplace

```bash
codex plugin marketplace add https://github.com/AgenticMorf/weaver-plugin.git
```

Install Weaver

```text
Start Codex, enter /plugins, and install weaver from the weaver marketplace.
```

Optional: set your API key

```bash
export WEAVER_API_KEY=YOUR_API_KEY
```

## Cursor

Loads the plugin from the local plugins folder, then restart Cursor.

Copy the plugin into Cursor

```bash
git clone https://github.com/AgenticMorf/weaver-plugin.git weaver-plugin
mkdir -p ~/.cursor/plugins/local
cp -R weaver-plugin/plugins/weaver ~/.cursor/plugins/local/weaver
```

Reload

```text
Restart Cursor, or run Developer: Reload Window.
```

Optional: set your API key

```bash
export WEAVER_API_KEY=YOUR_API_KEY
```

## VS Code and GitHub Copilot

MCP server only. Save as .vscode/mcp.json.

Add the MCP server

```json
{
    "inputs": [
        {
            "type": "promptString",
            "id": "weaver-api-key",
            "description": "Weaver API key (leave empty for anonymous access)",
            "password": true
        }
    ],
    "servers": {
        "weaver": {
            "type": "http",
            "url": "https://weavecode.dev/mcp",
            "headers": {
                "X-Api-Key": "${input:weaver-api-key}"
            }
        }
    }
}
```

## Windsurf

MCP server only. Add to ~/.config/devin/mcp_config.json.

Add the MCP server

```json
{
    "mcpServers": {
        "weaver": {
            "serverUrl": "https://weavecode.dev/mcp",
            "headers": {
                "X-Api-Key": "${env:WEAVER_API_KEY}"
            }
        }
    }
}
```

## Gemini CLI and Antigravity

MCP server only. Add to the mcpServers section of settings.json.

Add the MCP server

```json
{
    "mcpServers": {
        "weaver": {
            "httpUrl": "https://weavecode.dev/mcp",
            "headers": {
                "X-Api-Key": "YOUR_API_KEY"
            }
        }
    }
}
```

## OpenCode

MCP server only. Add to opencode.json.

Add the MCP server

```json
{
    "$schema": "https://opencode.ai/config.json",
    "mcp": {
        "weaver": {
            "type": "remote",
            "url": "https://weavecode.dev/mcp",
            "enabled": true,
            "headers": {
                "X-Api-Key": "{env:WEAVER_API_KEY}"
            }
        }
    }
}
```
