Skip to content

mpetruc/SillyTavern-MCP-Client

 
 

Repository files navigation

An extension of MCP for SillyTavern. A possible solution of SillyTavern/SillyTavern#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

vid.mp4

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.

About

An extension of MCP for SillyTavern.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 76.1%
  • SCSS 13.4%
  • HTML 6.0%
  • JavaScript 4.5%