Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| DEBUG | No | Enable debug logging | false |
| NODE_ENV | No | Environment mode (development or production) | development |
| HTTP_PORT | No | Port number for HTTP mode | 3000 |
| POCKETBASE_URL | No | PocketBase server URL | http://127.0.0.1:8090 |
| READ_ONLY_MODE | No | Disable write operations | false |
| TRANSPORT_MODE | No | Transport mode for the server (stdio or http) | stdio |
| DOCUMENTS_COLLECTION | No | Collection name for documents | documents |
| AUTO_CREATE_COLLECTION | No | Auto-create collections on startup | true |
| POCKETBASE_ADMIN_EMAIL | Yes | Admin email for PocketBase authentication | |
| POCKETBASE_ADMIN_PASSWORD | Yes | Admin password for PocketBase authentication |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
| resources | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| extract_document | Extract document content from Microsoft Learn or GitHub URL and store in PocketBase |
| authenticate | Test authentication with PocketBase using provided credentials |
| list_documents | List stored documents from PocketBase with pagination |
| search_documents | Search documents by title or content using full-text search |
| get_document | Get a specific document by ID with full content |
| delete_document | Delete a document from PocketBase by ID |
| ensure_collection | Check if the documents collection exists and create it if needed |
| collection_info | Get detailed information about the documents collection including statistics |
| connection_status | Check the current PocketBase connection status and configuration |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| stats | Current server statistics and metrics |