studycards

v0.3.0
io.github.kayalie/studycards Checked 1 day ago Published 2 months ago

Flashcards for Claude: create, edit and study StudyCards decks with FSRS spaced repetition.

Values you need

VariableWhat it is
STUDYCARDS_API_KEYrequired secret StudyCards API key (sk_live_...), created under Settings, API Keys
STUDYCARDS_API_URLoptional Optional base URL, default https://studycards.io/api/v1

npm (npx) discovery passed

Requires Node.js 18+

Run in a terminal
claude mcp add studycards -e 'STUDYCARDS_API_KEY=<STUDYCARDS_API_KEY>' -- npx -y --package=@studycards/mcp@0.3.0 studycards-mcp
Add to claude_desktop_config.json
{
  "mcpServers": {
    "studycards": {
      "args": [
        "-y",
        "--package=@studycards/mcp@0.3.0",
        "studycards-mcp"
      ],
      "command": "npx",
      "env": {
        "STUDYCARDS_API_KEY": "<STUDYCARDS_API_KEY>"
      }
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "studycards": {
      "args": [
        "-y",
        "--package=@studycards/mcp@0.3.0",
        "studycards-mcp"
      ],
      "command": "npx",
      "env": {
        "STUDYCARDS_API_KEY": "<STUDYCARDS_API_KEY>"
      }
    }
  }
}
Add to .vscode/mcp.json
{
  "inputs": [
    {
      "description": "STUDYCARDS_API_KEY",
      "id": "studycards-api-key",
      "password": true,
      "type": "promptString"
    }
  ],
  "servers": {
    "studycards": {
      "args": [
        "-y",
        "--package=@studycards/mcp@0.3.0",
        "studycards-mcp"
      ],
      "command": "npx",
      "env": {
        "STUDYCARDS_API_KEY": "${input:studycards-api-key}"
      },
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.studycards]
command = "npx"
args = ["-y", "--package=@studycards/mcp@0.3.0", "studycards-mcp"]
env = { "STUDYCARDS_API_KEY" = "<STUDYCARDS_API_KEY>" }

For AI agents

  1. Ask the user for: STUDYCARDS_API_KEY. Never invent or guess these values; secrets go into the client config, not into chat logs.
  2. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  3. Restart or reload the client so it starts the server.
  4. Verify: the server should expose these tools: list_decks, get_deck, create_deck, update_deck, delete_deck, list_cards, add_cards, edit_card, ….
  5. If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.

Machine-readable: install.md · manifest.json