Installation
The StudyPlug MCP server runs locally and connects to AI clients over stdio. This guide covers setup for Claude Desktop, the most common MCP client, plus general instructions for any MCP-compatible host.
Claude Desktop
Section titled “Claude Desktop”Add the following to your Claude Desktop configuration file.
Edit ~/Library/Application Support/Claude/claude_desktop_config.json:
{ "mcpServers": { "studyplug": { "command": "npx", "args": ["-y", "@studyplug/mcp-server"] } }}Edit %APPDATA%\Claude\claude_desktop_config.json:
{ "mcpServers": { "studyplug": { "command": "npx", "args": ["-y", "@studyplug/mcp-server"] } }}Restart Claude Desktop after saving the file. You should see “studyplug” listed as a connected MCP server in the tools menu (the hammer icon).
Running from Source
Section titled “Running from Source”If you are developing locally or want to run from the monorepo:
# Clone and buildgit clone https://github.com/9001-Solutions/study-plug.gitcd study-plugpnpm installpnpm turbo:build
# Run the MCP server directlynode packages/mcp-server/dist/index.jsPoint your Claude Desktop config to the local build:
{ "mcpServers": { "studyplug": { "command": "node", "args": ["/absolute/path/to/studyplug/packages/mcp-server/dist/index.js"] } }}Verifying the Connection
Section titled “Verifying the Connection”Once Claude Desktop restarts with the server configured:
- Open a new conversation in Claude Desktop.
- Click the hammer icon in the input area. You should see 4 tools:
browse_curriculum,generate_problems,find_by_standard,get_skill_info. - Try a prompt like:
What math skills are available for grade 2?Claude will call browse_curriculum with grade: "grade-2" and subject: "math", then present the results.
Other MCP Clients
Section titled “Other MCP Clients”Any client that supports the MCP stdio transport can connect. The server reads from stdin and writes to stdout using the MCP JSON-RPC protocol.
# Generic: run the server as a subprocessnpx -y @studyplug/mcp-serverThe server exposes its capabilities through the standard initialize handshake. Clients will automatically discover tools and resources.
Troubleshooting
Section titled “Troubleshooting”Server not appearing in Claude Desktop
- Confirm the config file is valid JSON (no trailing commas).
- Make sure
npxis available on your PATH. Runwhich npxin a terminal to verify. - Restart Claude Desktop completely (quit and reopen, not just close the window).
“Cannot find module” errors
- Run
npx -y @studyplug/mcp-servermanually in a terminal. If it fails, check your Node.js version (18+ required).
Tools show up but return errors
- Check that you are passing valid parameter values. Use
browse_curriculumwith no parameters first to see available grades. - Grade slugs are
kindergarten,grade-1,grade-2,grade-3,grade-4,grade-5. (Grades 6-8 planned for a future release.)
Next Steps
Section titled “Next Steps”- Tools Reference — detailed docs for every tool and resource
- Overview — how MCP fits into the StudyPlug ecosystem