write-connector
Installation
SKILL.md
Write An OpenWiki Connector
OpenWiki connectors are built-in TypeScript modules in the OSS repository. Do not create a plugin marketplace, dynamic connector package, or runtime-loaded untrusted connector. Add normal source files and tests.
Prefer Custom MCP For Arbitrary Servers
If the knowledge source already exposes a read-only MCP server (HTTP or stdio), use the built-in custom-mcp connector instead of adding a new ConnectorId:
- Configure
~/.openwiki/connectors/custom-mcp/config.jsonwithenabled,transport, optionalallowedTools, and optionalreadOnlyOperations. - Put secrets in
~/.openwiki/.envand reference them as${ENV_NAME}in transport headers/env. - Agent tools
openwiki_list_mcp_tools/openwiki_call_mcp_toolacceptcustom-mcp.
Add a dedicated built-in connector only when you need provider-specific auth, scoping UI, or deterministic API pulls that MCP cannot express.