I've been exploring Model Context Protocol (MCP), an innovative standard that enables AI agents to interact with external tools and data sources. MCP is particularly valuable in environments like Cursor IDE, where AI-driven automation can simplify routine tasks and improve developer efficiency.
To explore this, I built @slvrio/wod, a simple MCP tool that fetches the Workout of the Day (WOD) from the CrossFit API. It's an example of how MCP can help bring external data into your workflow, specifically for AI agents.
For more detailed information about Model Context Protocol (MCP), refer to the Get started with the Model Context Protocol (MCP).
⚡ TL;DR
- Built an MCP tool to fetch the CrossFit Workout of the Day (WOD)
-
Published on
npm
: @slvrio/wod - Code on GitHub: mcp-tool/wod
Setup MCP Server in Cursor IDE
You can integrate @slvrio/wod
into Cursor IDE by setting up an MCP server, enabling retrieval of CrossFit's WOD directly within the IDE 🙈
1. Add a new MCP Server in Cursor IDE
- Open Cursor IDE.
- Navigate to Settings ➡️ Features ➡️ MCP.
- Click on "+ Add New MCP Server".
-
In the configuration dialog:
- Name: Enter a descriptive name, e.g., "CF WOD".
- Type: Select "command".
- Command: Enter the command to run the WOD tool:
npx -y @slvrio/wod
Click "Save" to add the MCP server.
2. Use the WOD Tool in Cursor IDE
With the MCP server configured:
- Open the Chat
(cmd+i)
in Cursor IDE. - In the chat interface, type
wod
and execute the command. - The tool will fetch and display the latest CrossFit WOD directly within the chat.
This is just a small step in experimenting with MCP-powered AI tooling. If you’re exploring AI agents, MCP, or automation, I’d love to hear your thoughts!