Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| WIKIJS_URL | Yes | URL of your WikiJS instance | |
| WIKIJS_API_KEY | Yes | WikiJS API key | |
| TRANSPORT_METHOD | No | The transport method | stdio |
| TRANSPORT_OPTIONS_CORS_ORIGIN | No | Cors Origin (only on streamable-http) | * |
| TRANSPORT_OPTIONS_CORS_HEADERS | No | Cors Headers, comma separated (only on streamable-http) | Content-Type=mcp-session-id |
| TRANSPORT_OPTIONS_CORS_METHODS | No | Cors Methods, comma separated (only on streamable-http) | GET,POST,OPTIONS |
| TRANSPORT_OPTIONS_SESSION_TIMEOUT_MS | No | Session timeout (only on streamable-http) | 60000 |
Schema
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| search_pages | Search for pages in WikiJS by query string |
| get_page_by_id | Get a WikiJS page by its ID |
| get_page_by_path | Get a WikiJS page by its path and locale |
| get_all_pages | Get all pages in WikiJS |