Metadata-Version: 2.1
Name: wikijs-mcp
Version: 1.0.1
Summary: MCP server for Wiki.js integration
Home-page: https://github.com/jaalbin24/wikijs-mcp
License: MIT
Keywords: mcp,wikijs,wiki,claude
Requires-Python: >=3.10,<4.0
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Requires-Dist: httpx (>=0.25.0)
Requires-Dist: mcp (>=1.0.0,<2.0.0)
Requires-Dist: pydantic (>=2.0.0,<3.0.0)
Requires-Dist: truststore (>=0.9.0)
Project-URL: Repository, https://github.com/jaalbin24/wikijs-mcp
Description-Content-Type: text/markdown

# WikiJS MCP Server

An MCP server that connects Claude to your [Wiki.js](https://js.wiki/) instance. Search, read, create, update, move, and delete wiki pages through natural language.

## Prerequisites

- Python 3.10+
- A Wiki.js instance with API access enabled
- A Wiki.js API key (Administration > API Access > New API Key)

## Installation

### Claude Code

```bash
claude mcp add wikijs \
  --scope user \
  -e WIKIJS_URL=https://your-wiki.com \
  -e WIKIJS_API_KEY=your-api-key \
  -- pipx run wikijs-mcp
```

Verify with `claude mcp list`.

### Other MCP clients

Add to your MCP client config:

```json
{
  "mcpServers": {
    "wikijs": {
      "command": "pipx",
      "args": ["run", "wikijs-mcp"],
      "env": {
        "WIKIJS_URL": "https://your-wiki.com",
        "WIKIJS_API_KEY": "your-api-key"
      }
    }
  }
}
```

You can substitute `pipx run wikijs-mcp` with `uvx wikijs-mcp` or install globally with `pip install wikijs-mcp` and use `wikijs-mcp` as the command.

## Tools

| Tool | Description |
|------|-------------|
| `wiki_search` | Search pages by title or content |
| `wiki_get_page` | Get a page by path or ID |
| `wiki_list_pages` | List all pages |
| `wiki_get_tree` | Get the page tree structure |
| `wiki_create_page` | Create a new page |
| `wiki_update_page` | Update an existing page |
| `wiki_move_page` | Move a page to a new path |
| `wiki_delete_page` | Delete a page |

## Development

```bash
git clone https://github.com/jaalbin24/wikijs-mcp.git
cd wikijs-mcp
poetry install
poetry run pytest
```

## License

MIT

