StoryOS
v0.1.2Your StoryOS workspace (records, approvals and agents) for Claude, ChatGPT and any MCP client.
Values you need
| Variable | What it is | |
|---|---|---|
STORYOS_TOKEN | required secret | StoryOS personal API token (mn_pat_...), created under API tokens in StoryOS. Scoped to one workspace. |
STORYOS_URL | optional | Base URL of the StoryOS API, for example https://app.storyos.dev for the cloud. When unset the server uses http://localhost:3001 (local development). |
STORYOS_MCP_PROFILE | optional | Set to internal to also expose the internal tool profile. Leave unset for the default tools. |
WEB_URL | optional | Base URL of the StoryOS web app, used to build links in tool results. When unset the server uses http://localhost:3000. |
npm (npx) verified
Requires Node.js 18+
Run in a terminal
claude mcp add storyos -e 'STORYOS_TOKEN=<STORYOS_TOKEN>' -- npx -y @storyos/mcp@0.1.2Add to
claude_desktop_config.json{
"mcpServers": {
"storyos": {
"args": [
"-y",
"@storyos/mcp@0.1.2"
],
"command": "npx",
"env": {
"STORYOS_TOKEN": "<STORYOS_TOKEN>"
}
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"storyos": {
"args": [
"-y",
"@storyos/mcp@0.1.2"
],
"command": "npx",
"env": {
"STORYOS_TOKEN": "<STORYOS_TOKEN>"
}
}
}
}Add to
.vscode/mcp.json{
"inputs": [
{
"description": "STORYOS_TOKEN",
"id": "storyos-token",
"password": true,
"type": "promptString"
}
],
"servers": {
"storyos": {
"args": [
"-y",
"@storyos/mcp@0.1.2"
],
"command": "npx",
"env": {
"STORYOS_TOKEN": "${input:storyos-token}"
},
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.storyos]
command = "npx"
args = ["-y", "@storyos/mcp@0.1.2"]
env = { "STORYOS_TOKEN" = "<STORYOS_TOKEN>" }Remote (hosted)
Run in a terminal
claude mcp add --transport http storyos https://mcp.storyos.dev/mcpAdd to
Settings → Connectors → Add custom connector (or claude_desktop_config.json via mcp-remote){
"mcpServers": {
"storyos": {
"args": [
"-y",
"mcp-remote",
"https://mcp.storyos.dev/mcp"
],
"command": "npx"
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"storyos": {
"url": "https://mcp.storyos.dev/mcp"
}
}
}Add to
.vscode/mcp.json{
"servers": {
"storyos": {
"type": "http",
"url": "https://mcp.storyos.dev/mcp"
}
}
}Add to
~/.codex/config.toml[mcp_servers.storyos]
command = "npx"
args = ["-y", "mcp-remote", "https://mcp.storyos.dev/mcp"]For AI agents
- Ask the user for: STORYOS_TOKEN. Never invent or guess these values; secrets go into the client config, not into chat logs.
- 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).
- Restart or reload the client so it starts the server.
- Verify: the server should expose these tools: get_started, list_workspaces, get_workspace, list_databases, describe_database, search, count_records, count_records_grouped, ….
- 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