MCP Server
The LODA Model Context Protocol (MCP) server enables AI agent systems to access the LODA API. The server endpoint is:
https://api.loda-lang.org/v2/mcp/
Visual Studio Code with GitHub Copilot
To install the LODA MCP server in VS Code, follow these steps:
- Install the GitHub Copilot extension.
- Open the Command Palette (
Cmd+Shift+P
on macOS,Ctrl+Shift+P
on Windows). - Select
MCP: Add server...
- Choose
HTTP (HTTP or Server-Sent Events)
. - Enter the server URL:
https://api.loda-lang.org/v2/mcp/
- Assign a name to the server.
- Select either
workspace
orglobal
scope. - Confirm and trust the server.
Example Prompts
Try these example prompts:
Show me LODA stats.
Find LODA programs related to the Fibonacci numbers.
Show me the LODA program for A000301.
Compute the first 100 terms of A000045.