Setup: Local MCP Server
Connect TomoriBot to Model Context Protocol (MCP) servers running on your local machine or private network to provide custom local tools.
For remote HTTPS servers, see Tools & Extensions. Local MCP endpoints require a self-hosted instance:
1. Run a local MCP server
Section titled “1. Run a local MCP server”Start an MCP server that exposes an HTTP/SSE transport on a local port. For example, many MCP servers run via Node:
npx -y <some-mcp-server> --port 3000The exact command depends on the server you are running. Note the URL and transport path it prints (commonly http://localhost:3000/sse).
2. Register it in Discord
Section titled “2. Register it in Discord”Open /config > Plugins > MCP Servers, choose + Add MCP, set the Server URL field to your local endpoint, and keep Server Type on its default General Purpose setting:
http://localhost:3000/sseLeave Auth Token (Optional) blank: local servers do not require authentication tokens.
3. Manage it
Section titled “3. Manage it”Open the Config page and choose Remove on the server’s row. Confirming unregisters it, immediately disconnects it, and frees a slot.
Security
Section titled “Security”For the online-MCP flow and full security details, see Tools & Extensions.