TeamSpeak MCP is a server implementation of the Model Context Protocol (MCP) that allows AI models like Claude to control TeamSpeak servers. It provides a comprehensive set of tools for managing channels, users, permissions, and server settings through simple natural language commands.
The easiest way to install TeamSpeak MCP is using the PyPI package:
uvx install teamspeak-mcp
To use it with Claude Desktop, add this configuration:
{
"mcpServers": {
"teamspeak": {
"command": "uvx",
"args": ["teamspeak-mcp", "--host", "your-server.com", "--user", "your-user", "--password", "your-password"]
}
}
}
For containerized deployment:
docker pull ghcr.io/marlburrow/teamspeak-mcp:latest
Claude Desktop configuration with Docker:
{
"mcpServers": {
"teamspeak": {
"command": "docker",
"args": [
"run", "--rm", "-i",
"-e", "TEAMSPEAK_HOST=your-server.com",
"-e", "TEAMSPEAK_USER=your-user",
"-e", "TEAMSPEAK_PASSWORD=your-password",
"ghcr.io/marlburrow/teamspeak-mcp:latest"
]
}
}
}
For developers who want full control:
git clone https://github.com/MarlBurroW/teamspeak-mcp.git
cd teamspeak-mcp && pip install -r requirements.txt
Claude Desktop configuration with local Python:
{
"mcpServers": {
"teamspeak": {
"command": "python",
"args": ["-m", "teamspeak_mcp.server", "--host", "your-server.com", "--user", "your-user", "--password", "your-password"]
}
}
}
For customization and offline capability:
git clone https://github.com/MarlBurroW/teamspeak-mcp.git
cd teamspeak-mcp && docker build -t teamspeak-mcp .
Claude Desktop configuration with local Docker build:
{
"mcpServers": {
"teamspeak": {
"command": "docker",
"args": [
"run", "--rm", "-i",
"-e", "TEAMSPEAK_HOST=your-server.com",
"-e", "TEAMSPEAK_USER=your-user",
"-e", "TEAMSPEAK_PASSWORD=your-password",
"teamspeak-mcp"
]
}
}
}
Before using TeamSpeak MCP, you need to configure your TeamSpeak server credentials:
Parameter | Description | Example |
---|---|---|
TEAMSPEAK_HOST | Your server IP or domain | ts.example.com or 192.168.1.100 |
TEAMSPEAK_PORT | ServerQuery port (default: 10011) | 10011 |
TEAMSPEAK_USER | ServerQuery username | mcp_user |
TEAMSPEAK_PASSWORD | ServerQuery password | secure_password123 |
TEAMSPEAK_SERVER_ID | Virtual server ID (usually 1) | 1 |
Connect to ServerQuery and create a dedicated user:
# Connect via telnet or putty to your-server:10011
telnet your-server.example.com 10011
# Login with admin
login serveradmin YOUR_ADMIN_PASSWORD
# Create dedicated user for MCP
serverqueryadd client_login_name=mcp_user client_login_password=secure_password123
# Grant necessary permissions (optional - adjust as needed)
servergroupaddclient sgid=6 cldbid=USER_DB_ID
# With PyPI installation
uvx teamspeak-mcp test --host your-server.com --user your-user --password your-password
# With Docker
docker run --rm -it \
-e TEAMSPEAK_HOST=your-server.example.com \
-e TEAMSPEAK_USER=mcp_user \
-e TEAMSPEAK_PASSWORD=secure_password123 \
ghcr.io/marlburrow/teamspeak-mcp:latest test
Once configured, you can use these commands with Claude:
connect_to_server
: Connect to TeamSpeak serversend_channel_message
: Send message to a channelsend_private_message
: Send private messagepoke_client
: Send poke (alert notification) to a userlist_clients
: List connected clientslist_channels
: List channelscreate_channel
: Create new channeldelete_channel
: Delete channelmove_client
: Move client to another channelkick_client
: Kick clientban_client
: Ban clientserver_info
: Get server informationupdate_channel
: Update channel propertiesset_channel_talk_power
: Quick setup for AFK/silent/moderated channelschannel_info
: Get detailed channel informationmanage_channel_permissions
: Fine-grained permission controlclient_info_detailed
: Comprehensive client detailsupdate_server_settings
: Update virtual server settingsmanage_user_permissions
: Complete user permission managementdiagnose_permissions
: Diagnose current connection permissionslist_server_groups
: List all server groupsassign_client_to_group
: Add or remove clients from server groupscreate_server_group
: Create new server groupsmanage_server_group_permissions
: Manage permissions for server groups"Connection refused"
"Authentication failed"
"Virtual server not found"
serverlist
"Python version error"
"Docker environment variables not working"
-e
flags in args instead of the "env": {}
field# With Docker
docker run --rm -it \
-e TEAMSPEAK_HOST=your-server.com \
-e TEAMSPEAK_USER=your-user \
-e TEAMSPEAK_PASSWORD=your-password \
ghcr.io/marlburrow/teamspeak-mcp:latest --verbose
# With PyPI
uvx teamspeak-mcp --host your-server.com --user your-user --password your-password --verbose
To add this MCP server to Claude Code, run this command in your terminal:
claude mcp add-json "teamspeak" '{"command":"uvx","args":["teamspeak-mcp","--host","your-server.com","--user","your-user","--password","your-password"]}'
See the official Claude Code MCP documentation for more details.
There are two ways to add an MCP server to Cursor. The most common way is to add the server globally in the ~/.cursor/mcp.json
file so that it is available in all of your projects.
If you only need the server in a single project, you can add it to the project instead by creating or adding it to the .cursor/mcp.json
file.
To add a global MCP server go to Cursor Settings > Tools & Integrations and click "New MCP Server".
When you click that button the ~/.cursor/mcp.json
file will be opened and you can add your server like this:
{
"mcpServers": {
"teamspeak": {
"command": "uvx",
"args": [
"teamspeak-mcp",
"--host",
"your-server.com",
"--user",
"your-user",
"--password",
"your-password"
]
}
}
}
To add an MCP server to a project you can create a new .cursor/mcp.json
file or add it to the existing one. This will look exactly the same as the global MCP server example above.
Once the server is installed, you might need to head back to Settings > MCP and click the refresh button.
The Cursor agent will then be able to see the available tools the added MCP server has available and will call them when it needs to.
You can also explicitly ask the agent to use the tool by mentioning the tool name and describing what the function does.
To add this MCP server to Claude Desktop:
1. Find your configuration file:
~/Library/Application Support/Claude/claude_desktop_config.json
%APPDATA%\Claude\claude_desktop_config.json
~/.config/Claude/claude_desktop_config.json
2. Add this to your configuration file:
{
"mcpServers": {
"teamspeak": {
"command": "uvx",
"args": [
"teamspeak-mcp",
"--host",
"your-server.com",
"--user",
"your-user",
"--password",
"your-password"
]
}
}
}
3. Restart Claude Desktop for the changes to take effect