Skip to main content
Glama
logan-lopez

SillyTavern-MCP

by logan-lopez

SillyTavern MCP Server

A read-only Model Context Protocol server that exposes a SillyTavern user directory (characters, personas, chat-completion presets, lorebooks, chats) to general-purpose agent clients — Claude Desktop, Raycast, BoltAI, etc.

See docs/MVP.md for the full design spec: architecture, handle scheme, envelope format, and tool inventory.

Status

The full MVP tool inventory (§6) is implemented and end-to-end tested over real stdio:

  • Characterslist-characters, get-character

  • Personaslist-personas, get-persona

  • Presetslist-presets, get-preset, export-preset

  • Lorebookslist-lorebooks, get-lorebook, search-lorebook

  • Chats (the ladder)list-chatsget-chat-manifestget-chat-summariessearch-chatget-messagesexport-chat

Remaining work is the explicitly-deferred post-MVP backlog (docs/MVP.md §8) — track it via bd (this repo's issue tracker — run bd ready / bd list).

Related MCP server: MCP Server Template (Python)

Project layout

packages/core/          pure library — no MCP awareness
  fs/                   the ONLY module that touches the filesystem (reads + export writes)
  resolve/               user-dir resolution, startup validation, handles, name resolution
  parse/                 one parser per surface (cards, chats, lorebooks, presets, personas, summaries)
  render/                 transcript assembly, preset outline/full, token estimates, prefix stripping
packages/mcp/            stdio MCP adapter — envelope, tool registration, one file per tool group
packages/cli/            st-mcp CLI — npx entrypoint + `doctor` subcommand
docs/MVP.md              design spec

Getting started locally

npm install
npm run build
node packages/cli/dist/bin.js --user-dir /path/to/SillyTavern/data/default-user

--user-dir is optional — see docs/MVP.md §3 for the full resolution order (flag > SILLYTAVERN_USER_DIR env var > ~/.config/st-mcp/config.json > platform-default guesses). The server refuses to start and lists every path it tried if none resolve to a valid SillyTavern user directory.

To check your user-dir without starting the server:

node packages/cli/dist/bin.js doctor --user-dir /path/to/SillyTavern/data/default-user

Running tests

npm test

Learn more

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.

No tool schema history has been recorded yet.

Maintenance

ActivityMaintained
ResponsivenessNo issues

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Connectors

Related MCP Servers

  • F
    license
    Not graded
    quality
    C
    maintenance
    A minimal Model Context Protocol server template deployable on Render, providing Streamable HTTP transport, bearer token authentication, and a pattern for adding custom tools.
    -
  • F
    license
    Not graded
    quality
    C
    maintenance
    A minimal Model Context Protocol server template for Render with bearer token authentication, an example tool, and a health check endpoint. Enables deploying custom MCP tools quickly on Render.
    -
  • F
    license
    Not graded
    quality
    C
    maintenance
    Provides a minimal Model Context Protocol server with Streamable HTTP transport, bearer token authentication, an example hello tool, and a health check endpoint for deployment on Render.
    -

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/logan-lopez/SillyTavern-MCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server