Claude Code
Endpoint:
https://mcp.stillshoko.com/mcp
Interactive: OAuth
Add the server:
claude mcp add --transport http shoko https://mcp.stillshoko.com/mcp
Then, inside Claude Code, run /mcp, choose Shoko, and complete the sign-in in your browser. From a shell you can also run claude mcp login shoko. To print the sign-in URL instead of opening a browser, add --no-browser.
By default the server is added to your local scope: this project only, stored in your user config. Add --scope user to make it available in every project, or --scope project to write it to .mcp.json so your team shares it.
Headless: API key
Create an agent identity and an API key in the dashboard (see Teams and access). The key starts with shk_ and is shown once. Put it in an environment variable, not in a file you commit:
export SHOKO_API_KEY=shk_...
Then add the server with a header:
claude mcp add --transport http shoko https://mcp.stillshoko.com/mcp --header "Authorization: Bearer $SHOKO_API_KEY"
That command stores the value it expands, so prefer a .mcp.json entry that reads the variable when Claude Code starts:
{
"mcpServers": {
"shoko": {
"type": "http",
"url": "https://mcp.stillshoko.com/mcp",
"headers": {
"Authorization": "Bearer ${SHOKO_API_KEY}"
}
}
}
}
If an Authorization header is configured, Claude Code uses it and does not fall back to OAuth.
Check
Run /mcp and look for Shoko as connected. A bad key shows a 401. Then ask Claude Code to call list_libraries.
Other commands: claude mcp list, claude mcp get shoko, claude mcp remove shoko.