Install
Add to ~/Library/Application Support/Claude/claude_desktop_config.json
Windows / Linux path
%APPDATA%\Claude\claude_desktop_config.json~/.config/Claude/claude_desktop_config.json{
"mcpServers": {
"io-github-equilibrium-team-tweekit": {
"command": "uvx",
"args": [
"tweekit"
],
"env": {
"TWEEKIT_API_KEY": "<YOUR_VALUE>",
"TWEEKIT_API_SECRET": "<YOUR_VALUE>",
"TWEEKIT_API_BASE_URL": "<VALUE>",
"TWEEKIT_MINER_LOCAL": "<VALUE>",
"TWEEKIT_LOCAL_ONLY": "<VALUE>",
"TWEEKIT_MINER_NOAUTH": "<VALUE>",
"TWEEKIT_ONPREM_HOSTS": "<VALUE>",
"TWEEKIT_REQUIRE_LOCAL_MINER_FOR_FILES": "<VALUE>",
"PORT": "8080",
"MCP_SERVER_PORT": "8000",
"PLUGIN_PROXY_PORT": "8080"
}
}
}
}
Restart Claude Desktop to activate the new server.
Add to .cursor/mcp.json (project) or ~/.cursor/mcp.json (global)
Windows / Linux path
.cursor\mcp.json (project) or %USERPROFILE%\.cursor\mcp.json (global).cursor/mcp.json (project) or ~/.cursor/mcp.json (global){
"mcpServers": {
"io-github-equilibrium-team-tweekit": {
"command": "uvx",
"args": [
"tweekit"
],
"env": {
"TWEEKIT_API_KEY": "<YOUR_VALUE>",
"TWEEKIT_API_SECRET": "<YOUR_VALUE>",
"TWEEKIT_API_BASE_URL": "<VALUE>",
"TWEEKIT_MINER_LOCAL": "<VALUE>",
"TWEEKIT_LOCAL_ONLY": "<VALUE>",
"TWEEKIT_MINER_NOAUTH": "<VALUE>",
"TWEEKIT_ONPREM_HOSTS": "<VALUE>",
"TWEEKIT_REQUIRE_LOCAL_MINER_FOR_FILES": "<VALUE>",
"PORT": "8080",
"MCP_SERVER_PORT": "8000",
"PLUGIN_PROXY_PORT": "8080"
}
}
}
}
Cursor usually picks up config changes automatically; if the server does not appear, reload the window.
Add to .mcp.json (project) or ~/.claude.json (global)
Windows / Linux path
.mcp.json (project) or %USERPROFILE%\.claude.json (global).mcp.json (project) or ~/.claude.json (global){
"mcpServers": {
"io-github-equilibrium-team-tweekit": {
"command": "uvx",
"args": [
"tweekit"
],
"env": {
"TWEEKIT_API_KEY": "<YOUR_VALUE>",
"TWEEKIT_API_SECRET": "<YOUR_VALUE>",
"TWEEKIT_API_BASE_URL": "<VALUE>",
"TWEEKIT_MINER_LOCAL": "<VALUE>",
"TWEEKIT_LOCAL_ONLY": "<VALUE>",
"TWEEKIT_MINER_NOAUTH": "<VALUE>",
"TWEEKIT_ONPREM_HOSTS": "<VALUE>",
"TWEEKIT_REQUIRE_LOCAL_MINER_FOR_FILES": "<VALUE>",
"PORT": "8080",
"MCP_SERVER_PORT": "8000",
"PLUGIN_PROXY_PORT": "8080"
}
}
}
}
The server will be available in the next Claude Code session.
Add to .vscode/mcp.json
Windows / Linux path
.vscode\mcp.json.vscode/mcp.json{
"servers": {
"io-github-equilibrium-team-tweekit": {
"command": "uvx",
"args": [
"tweekit"
],
"env": {
"TWEEKIT_API_KEY": "<YOUR_VALUE>",
"TWEEKIT_API_SECRET": "<YOUR_VALUE>",
"TWEEKIT_API_BASE_URL": "<VALUE>",
"TWEEKIT_MINER_LOCAL": "<VALUE>",
"TWEEKIT_LOCAL_ONLY": "<VALUE>",
"TWEEKIT_MINER_NOAUTH": "<VALUE>",
"TWEEKIT_ONPREM_HOSTS": "<VALUE>",
"TWEEKIT_REQUIRE_LOCAL_MINER_FOR_FILES": "<VALUE>",
"PORT": "8080",
"MCP_SERVER_PORT": "8000",
"PLUGIN_PROXY_PORT": "8080"
}
}
}
}
Reload the VS Code window to activate.
Add to ~/.codeium/windsurf/mcp_config.json
Windows / Linux path
%USERPROFILE%\.codeium\windsurf\mcp_config.json~/.codeium/windsurf/mcp_config.json{
"mcpServers": {
"io-github-equilibrium-team-tweekit": {
"command": "uvx",
"args": [
"tweekit"
],
"env": {
"TWEEKIT_API_KEY": "<YOUR_VALUE>",
"TWEEKIT_API_SECRET": "<YOUR_VALUE>",
"TWEEKIT_API_BASE_URL": "<VALUE>",
"TWEEKIT_MINER_LOCAL": "<VALUE>",
"TWEEKIT_LOCAL_ONLY": "<VALUE>",
"TWEEKIT_MINER_NOAUTH": "<VALUE>",
"TWEEKIT_ONPREM_HOSTS": "<VALUE>",
"TWEEKIT_REQUIRE_LOCAL_MINER_FOR_FILES": "<VALUE>",
"PORT": "8080",
"MCP_SERVER_PORT": "8000",
"PLUGIN_PROXY_PORT": "8080"
}
}
}
}
Restart Windsurf (or refresh its MCP servers panel) to activate the new server.
Windsurf Next uses ~/.codeium/windsurf-next/mcp_config.json. Devin Desktop (the Windsurf rebrand) uses ~/.config/devin/mcp_config.json and imports the Windsurf file.
Add to ~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json
Windows / Linux path
%APPDATA%\Code\User\globalStorage\saoudrizwan.claude-dev\settings\cline_mcp_settings.json~/.config/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json{
"mcpServers": {
"io-github-equilibrium-team-tweekit": {
"command": "uvx",
"args": [
"tweekit"
],
"env": {
"TWEEKIT_API_KEY": "<YOUR_VALUE>",
"TWEEKIT_API_SECRET": "<YOUR_VALUE>",
"TWEEKIT_API_BASE_URL": "<VALUE>",
"TWEEKIT_MINER_LOCAL": "<VALUE>",
"TWEEKIT_LOCAL_ONLY": "<VALUE>",
"TWEEKIT_MINER_NOAUTH": "<VALUE>",
"TWEEKIT_ONPREM_HOSTS": "<VALUE>",
"TWEEKIT_REQUIRE_LOCAL_MINER_FOR_FILES": "<VALUE>",
"PORT": "8080",
"MCP_SERVER_PORT": "8000",
"PLUGIN_PROXY_PORT": "8080"
}
}
}
}
Cline reloads cline_mcp_settings.json automatically; if the server does not appear, reload the VS Code window.
Open it from Cline's MCP Servers panel → Configure. Roo Code uses a different file and format.
Configuration
Environment variables this server reads. Secrets stay on your machine.
| Name | Required | Description |
|---|---|---|
| TWEEKIT_API_KEY secret | No | TweekIT API key issued from the TweekIT account portal (optional when targeting a loopback NOAUTH Miner Renderery via TWEEKIT_MINER_NOAUTH=1). |
| TWEEKIT_API_SECRET secret | No | API secret paired with TWEEKIT_API_KEY for authenticated conversions (optional when TWEEKIT_MINER_NOAUTH=1 is enabled on loopback). |
| TWEEKIT_API_BASE_URL | No | Optional TweekIT API or On-Premises Miner Renderery URL (e.g., http://127.0.0.1:16377/api/image/ for localhost processing). |
| TWEEKIT_MINER_LOCAL | No | Optional flag ('1' or '0'). When '1', defaults API routing to the local On-Premises Miner Renderery (http://127.0.0.1:16377/api/image/). |
| TWEEKIT_LOCAL_ONLY | No | Optional flag ('1' or '0'). When '1', enforces localhost/on-prem Miner Renderery routing and blocks third-party cloud egress. |
| TWEEKIT_MINER_NOAUTH | No | Optional flag ('1' or '0'). When '1', allows loopback Miner Renderery requests without cloud API credentials. |
| TWEEKIT_ONPREM_HOSTS | No | Optional comma-separated list of trusted private LAN Miner Renderery hostnames or IPs permitted under TWEEKIT_LOCAL_ONLY=1. |
| TWEEKIT_REQUIRE_LOCAL_MINER_FOR_FILES | No | Optional flag ('1' or '0'). When '1', convert_file refuses to upload local files unless routed to a local or on-prem Miner Renderery. |
| PORT | No | Port for the Streamable HTTP server. Default: 8080 |
| MCP_SERVER_PORT | No | Internal port for the MCP server when using start_services.sh. Default: 8000 |
| PLUGIN_PROXY_PORT | No | Port for the ChatGPT plugin proxy. Default: 8080 |
Remote headers
HTTP headers the remote endpoint expects.
| Name | Required | Description |
|---|---|---|
| ApiKey secret | Yes | TweekIT API key issued from the TweekIT account portal. |
| ApiSecret secret | Yes | API secret paired with the ApiKey for authenticated conversions. |