Labsco
agentvoiceresponse logo

avr-docs-mcp

from agentvoiceresponse

This MCP (Model Context Protocol) server provides integration with Wiki.JS for searching and listing pages from Agent Voice Response Wiki.JS instance.

πŸ”₯πŸ”₯βœ“ VerifiedFreeAdvanced setup

AVR Docs MCP Server with Wiki.JS Integration

This MCP (Model Context Protocol) server provides integration with Wiki.JS for searching and listing pages from your Wiki.JS instance.

Features

  • Search Wiki.JS Pages: Search for pages using keywords or topics
  • List Wiki.JS Pages: Get a paginated list of all available pages
  • Get Specific Page: Retrieve a specific page by its ID
  • Connection Testing: Test the connection to your Wiki.JS instance
  • Multiple Transport Modes: Support for both stdio and HTTP stream modes
  • Docker Support: Ready-to-use Docker image with health checks

Available Tools

1. search_wiki_pages

Search for pages in Wiki.JS using keywords.

Parameters:

  • query (required): The search query
  • page (optional): Page number for pagination (default: 1)
  • limit (optional): Number of results per page (default: 10, max: 50)

2. list_wiki_pages

List all available pages in Wiki.JS.

Parameters:

  • page (optional): Page number for pagination (default: 1)
  • limit (optional): Number of results per page (default: 20, max: 50)

3. get_wiki_page

Get a specific page by its ID or path.

Parameters:

  • pageId (required): The ID (numeric) or path (string) of the page to retrieve. Examples: '3' for ID, 'deepgram' for path

Logging

The server includes comprehensive logging with configurable log levels:

  • debug - Detailed debug information
  • info - General information (default)
  • warn - Warning messages only
  • error - Error messages only

Set the LOG_LEVEL environment variable to control logging verbosity.

Error Handling

The server includes comprehensive error handling for:

  • Missing environment variables
  • Network connectivity issues
  • API authentication failures
  • Invalid page IDs
  • Rate limiting

Development

To run in development mode with hot reloading:

npm run watch

Building

To build for production:

npm run build

The compiled JavaScript will be in the dist/ directory.

Support & Community

Support AVR

AVR is free and open-source. Any support is entirely voluntary and intended as a personal gesture of appreciation. Donations do not provide access to features, services, or special benefits, and the project remains fully available regardless of donations.

<a href="https://ko-fi.com/agentvoiceresponse" target="_blank"><img src="https://ko-fi.com/img/githubbutton_sm.svg" alt="Support us on Ko-fi"></a>

License

MIT License - see the LICENSE file for details.