home / mcp / ones wiki mcp server
ones-wiki-mcp-server
Configuration
View docs{
"mcpServers": {
"brianxiadong-ones-wiki-mcp-server": {
"command": "java",
"args": [
"-jar",
"/path/to/ones-wiki-mcp-server-0.0.1-SNAPSHOT.jar",
"--ones.host=your-ones-host.com",
"[email protected]",
"--ones.password=your-password"
],
"env": {
"ONES_HOST": "your-ones-host.com",
"ONES_EMAIL": "[email protected]",
"ONES_PASSWORD": "your-password"
}
}
}
}You can run the ONES Wiki MCP Server to fetch ONES Wiki pages and transform them into AI-friendly text for downstream processing. This server automates authentication, converts Wiki URLs to a usable API flow, and outputs clean, markdown-like text suitable for chat and analysis workflows.
Start the server locally and point your MCP client at the stdio-based process. You provide the complete Wiki page URL to fetch, and the server will retrieve content, convert it to a structured, AI-friendly Markdown-like format, and return it to your client.
Prerequisites you need before installing this server are Java 17 or higher and Maven 3.6 or higher, plus access to an ONES platform instance.
Step 1: Build the project
mvn clean packageStep 2: Run the server with authentication options
java -jar target/ones-wiki-mcp-server-0.0.1-SNAPSHOT.jar \
--ones.host=your-ones-host.com \
[email protected] \
--ones.password=your-passwordStep 3: Alternative authentication methods (optional)
# Use environment variables (example)
export ONES_HOST=your-ones-host.com
export [email protected]
export ONES_PASSWORD=your-password
./start-mcp-server.shStep 4: Configure the MCP client to use this server
{
"mcpServers": {
"ones_wiki": {
"command": "java",
"args": [
"-jar",
"/path/to/ones-wiki-mcp-server-0.0.1-SNAPSHOT.jar",
"--ones.host=your-ones-host.com",
"[email protected]",
"--ones.password=your-password"
]
}
}
}The server supports authenticating with the ONES platform and HTTPS is supported for secure connections. It automatically handles ONES login, so you can rely on the provided credentials to access content.
Configure credentials using environment variables or a properties file to keep secrets out of command history. Use HTTPS where possible to protect data in transit.
If authentication fails, verify that your host, email, and password are correct and reachable from the server. Check that the server process has network access to the ONES platform and that the host URL is correct.
Fetch a Wiki page HTML and convert it into a structured, AI-friendly Markdown-like text with headings, lists, tables, images descriptions, and links.
Automatically derive the API endpoint from a Wiki URL to fetch page content in a consistent format.
Manage ONES platform login securely, with credentials supplied via environment variables or configuration files.