Knowledge MCP Server¶
The LUMI AI Factory provides a public Model Context Protocol (MCP) server, which can be found at https://lumi-aif-agents.2.rahtiapp.fi/mcp. The server offers the following tools:
retrieve_docsallows agents to search an up-to-date knowledge base of LUMI documentation. The search functionality is implemented using an embedding model that runs locally on the MCP server host. Access to this tool allows AI agents to, e.g., answer questions about LUMI with more accuracy and write code that takes into account LUMI's particular system architecture and software environment. The knowledge base is comprised of LUMI Documentation (this site) and the LUMI AI Guide.get_service_statususes the LUMI Service Status server to provide status information on LUMI and related services. This includes node availability, response time, and any outages due to maintenance or incidents.
Test the server¶
To understand how the server works, it is possible to test it manually using, e.g., the FastMCP CLI.
# Install FastMCP Python package
pip install fastmcp
# List available tools
fastmcp list https://lumi-aif-agents.2.rahtiapp.fi/mcp
# Call the retrieve_docs tool with query string
# "how to use pytorch on lumi" and return top 2 matches
fastmcp call https://lumi-aif-agents.2.rahtiapp.fi/mcp \
retrieve_docs 'query=how to use pytorch on lumi' 'k=2'
Connect a client¶
MCP servers can be used with a variety of platforms, such as IDEs (e.g., VS Code), CLI coding assistants (e.g., OpenCode) and web-based chat interfaces (e.g., Claude Web).
- Add and manage MCP servers in VS Code
- MCP Servers | OpenCode
- Third party connectors with remote MCP - Claude.ai Documentation
An example opencode.json config file is provided for using the LUMI AIF Knowledge MCP Server in
OpenCode.