SillyTavern-MCP-Client

SillyTavern-MCP-Client is an extension for SillyTavern that requires the MCP Server plugin. This client enhances the functionality of SillyTavern and provides tools for smooth communication with the server. Installation is straightforward, allowing users to leverage its features by first installing the necessary plugin.

GitHub Stars

47

User Rating

Not Rated

Favorites

0

Views

26

Forks

7

Issues

4

README

An extension of MCP for SillyTavern. A possible solution of https://github.com/SillyTavern/SillyTavern/issues/3335

⚠️ Important: This extension requires the SillyTavern MCP Server plugin to be installed first!

Make sure you only installing trusted MCP servers.

manage tools

Installation

Prerequisites:

  1. Install the MCP Server plugin first - Go to SillyTavern MCP Server and install it

Then install this client extension:

  1. Install via the SillyTavern extension installer:
https://github.com/bmen25124/SillyTavern-MCP-Client
  1. Install MCP servers via extension menu.
  2. Enable Enable function calling in sampler settings.
Demo

https://github.com/user-attachments/assets/659c5112-c2d0-425d-a6fc-e4b47b517066

Example JSONs
stdio
{
  "mcpServers": {
    "name": {
      "command": "npx ...",
      "type": "stdio",
      "env": {
        "CUSTOM_ENV": "value"
      }
    }
  }
}
SSE
{
  "mcpServers": {
    "name": {
      "url": "http://0.0.0.0:3000/sse",
      "type": "sse"
    }
  }
}
Streamable HTTP
{
  "mcpServers": {
    "name": {
      "url": "http://0.0.0.0:3000/mcp",
      "type": "streamableHttp"
    }
  }
}
FAQ
I'm getting "MCP Server plugin not found" error

This means you haven't installed the required SillyTavern MCP Server plugin yet. Install it first, restart SillyTavern, then try again.

Where can I find more servers?

Check out the server list.

I need to change the server configuration, how can I do that?

Press Settings button to open location of mcp_settings.json with your File Explorer. Edit the file. Disconnect and reconnect via Enable Server tickbox.

I'm getting an error when I try to connect to the MCP server.

Check out SillyTavern console for more information. Possible errors:

  • Read twice the readme of MCP server.
  • Missing arguments.
  • Invalid env param. You might need to set the API key if it's required.