otterwiki-mcp
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
otterwiki-mcp
An MCP server that lets Claude read, write, search, and navigate an An Otter Wiki instance over Streamable HTTP.
It sits between Claude (or any MCP client) and Otterwiki's REST API, translating tool calls into HTTP requests. It does not run inside Otterwiki — it's a standalone service.
Tools
Tool | What it does |
| Read a page (optionally at a specific revision) |
| Create or update a page with markdown + YAML frontmatter |
| Delete a page |
| List pages with optional filters (prefix, category, tag, date) |
| Full-text keyword search |
| Vector similarity search via ChromaDB |
| Show incoming/outgoing WikiLinks for a page |
| Show revision history for a page |
| Show recent edits across the wiki |
| Find pages not linked from any index page |
Related MCP server: Wikipedia MCP Server
Running
The included docker-compose.yml brings up Otterwiki (with API and semantic search plugins), ChromaDB, and the MCP server:
cp .env.example .env # fill in your secrets
docker compose upThe MCP endpoint will be at http://localhost:8090/mcp.
Configuration
All via environment variables:
Variable | Required | Default | Description |
| yes | Base URL of the Otterwiki instance | |
| yes | API key for authenticating with Otterwiki | |
| yes | Externally-reachable URL of this MCP server (e.g. | |
| no | Optional bearer token for Claude Code access. If set, clients can authenticate with | |
| no |
| Port the MCP server listens on |
| no | Domain of the multi-tenant platform (e.g. | |
| no | Full URL of the OAuth consent page used when | |
| no |
| Path to the PEM signing key used to verify approval tokens in the consent flow. Only required when |
Authentication
The server supports two authentication methods:
OAuth 2.1 (primary) — Used by Claude.ai. The server acts as its own OAuth authorization server, handling Dynamic Client Registration, PKCE, and token management. When both
PLATFORM_DOMAINandCONSENT_URLare set,SQLiteOAuthProvideris used: OAuth state is persisted to SQLite and a custom consent page handles user approval. When either variable is absent, the server falls back toInMemoryOAuthProvider: OAuth state is in-memory and a server restart requires re-authentication.Bearer token (optional) — Used by Claude Code. Enabled when
MCP_AUTH_TOKENis set. Clients sendAuthorization: Bearer <token>in HTTP headers.
Connecting from Claude.ai
In Claude.ai, go to Settings > Connectors > Add custom connector
Enter the server URL (e.g.
https://mcp.example.com/mcp)Leave Client ID and Client Secret blank — Dynamic Client Registration handles it
Click Add
Connecting from Claude Code
Add to your MCP server configuration with the bearer token in headers:
{
"mcpServers": {
"otterwiki": {
"type": "streamable-http",
"url": "https://mcp.example.com/mcp",
"headers": {
"Authorization": "Bearer YOUR_MCP_AUTH_TOKEN"
}
}
}
}Deployment
Terminate TLS in front of the MCP server (nginx, Caddy, etc.) so tokens aren't sent in cleartext.
Dependencies
Requires the otterwiki-api plugin installed in the Otterwiki instance. The otterwiki-semantic-search plugin is needed for the semantic_search tool.
Development
pip install -e ".[dev]"
pytestLicense
MIT. See LICENSE for details.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Query, browse, and automate OmegaAI workspaces from any MCP client. Streamable HTTP with OAuth 2.0.
Shared project wiki for AI agents: read and write pages, next actions, and activity logs over MCP.
Agent-native MCP server over the public saagarpatel.dev corpus. Read-only, stateless.
Turn any public website into an MCP server for agents to search, read and navigate.
Related MCP Servers
- AlicenseAqualityAmaintenanceMCP server for MediaWiki wikis. Search, read, edit, and manage wiki content from AI assistants. Includes formatting, link checking, revision history, and markdown conversion.4325MIT
- AlicenseNot gradedqualityNot gradedmaintenanceProvides comprehensive Wikipedia access for AI assistants via MCP Streamable HTTP transport, enabling search, article retrieval, summaries, section analysis, link discovery, and multi-language support.2MIT
- AlicenseAqualityDmaintenanceAn MCP server that lets Claude (or any MCP client) manage a Wiki.js instance through its GraphQL admin API — read and write pages, manage navigation and groups, and trigger Git storage syncs.1117 PyPIMIT
- AlicenseNot gradedqualityAmaintenanceEnables LLM clients to read, search, create, edit, and manage pages, files, and metadata on any MediaWiki wiki through MCP tools, including extension packs for Semantic MediaWiki, Cargo, Wikibase, Bucket, and NeoWiki. Supports multiple wikis with OAuth authentication and configurable access controls.8 npmMIT