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": {
"eu-humblecode-uol": {
"command": "npx",
"args": [
"-y",
"uol-mcp"
],
"env": {
"UOL_TENANT": "<VALUE>",
"UOL_EMAIL": "<VALUE>",
"UOL_TOKEN": "<YOUR_VALUE>",
"HOST": "127.0.0.1",
"PORT": "3000",
"UOL_DEBUG": "<VALUE>",
"UOL_ACCESS": "read",
"UOL_ACCOUNTS": "<VALUE>",
"UOL_TOOLSETS": "core,insights",
"MCP_TRANSPORT": "<VALUE>",
"UOL_AUDIT_LOG": "<VALUE>",
"MCP_AUTH_TOKEN": "<VALUE>",
"UOL_UPLOAD_DIRS": "~/Downloads,~/Desktop,~/Documents",
"UOL_DOWNLOAD_DIR": "~/Downloads/uol-mcp",
"MCP_ALLOWED_HOSTS": "<VALUE>",
"UOL_PROFILES_FILE": "<VALUE>",
"UOL_DEFAULT_ACCOUNT": "<VALUE>"
}
}
}
}
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": {
"eu-humblecode-uol": {
"command": "npx",
"args": [
"-y",
"uol-mcp"
],
"env": {
"UOL_TENANT": "<VALUE>",
"UOL_EMAIL": "<VALUE>",
"UOL_TOKEN": "<YOUR_VALUE>",
"HOST": "127.0.0.1",
"PORT": "3000",
"UOL_DEBUG": "<VALUE>",
"UOL_ACCESS": "read",
"UOL_ACCOUNTS": "<VALUE>",
"UOL_TOOLSETS": "core,insights",
"MCP_TRANSPORT": "<VALUE>",
"UOL_AUDIT_LOG": "<VALUE>",
"MCP_AUTH_TOKEN": "<VALUE>",
"UOL_UPLOAD_DIRS": "~/Downloads,~/Desktop,~/Documents",
"UOL_DOWNLOAD_DIR": "~/Downloads/uol-mcp",
"MCP_ALLOWED_HOSTS": "<VALUE>",
"UOL_PROFILES_FILE": "<VALUE>",
"UOL_DEFAULT_ACCOUNT": "<VALUE>"
}
}
}
}
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": {
"eu-humblecode-uol": {
"command": "npx",
"args": [
"-y",
"uol-mcp"
],
"env": {
"UOL_TENANT": "<VALUE>",
"UOL_EMAIL": "<VALUE>",
"UOL_TOKEN": "<YOUR_VALUE>",
"HOST": "127.0.0.1",
"PORT": "3000",
"UOL_DEBUG": "<VALUE>",
"UOL_ACCESS": "read",
"UOL_ACCOUNTS": "<VALUE>",
"UOL_TOOLSETS": "core,insights",
"MCP_TRANSPORT": "<VALUE>",
"UOL_AUDIT_LOG": "<VALUE>",
"MCP_AUTH_TOKEN": "<VALUE>",
"UOL_UPLOAD_DIRS": "~/Downloads,~/Desktop,~/Documents",
"UOL_DOWNLOAD_DIR": "~/Downloads/uol-mcp",
"MCP_ALLOWED_HOSTS": "<VALUE>",
"UOL_PROFILES_FILE": "<VALUE>",
"UOL_DEFAULT_ACCOUNT": "<VALUE>"
}
}
}
}
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": {
"eu-humblecode-uol": {
"command": "npx",
"args": [
"-y",
"uol-mcp"
],
"env": {
"UOL_TENANT": "<VALUE>",
"UOL_EMAIL": "<VALUE>",
"UOL_TOKEN": "<YOUR_VALUE>",
"HOST": "127.0.0.1",
"PORT": "3000",
"UOL_DEBUG": "<VALUE>",
"UOL_ACCESS": "read",
"UOL_ACCOUNTS": "<VALUE>",
"UOL_TOOLSETS": "core,insights",
"MCP_TRANSPORT": "<VALUE>",
"UOL_AUDIT_LOG": "<VALUE>",
"MCP_AUTH_TOKEN": "<VALUE>",
"UOL_UPLOAD_DIRS": "~/Downloads,~/Desktop,~/Documents",
"UOL_DOWNLOAD_DIR": "~/Downloads/uol-mcp",
"MCP_ALLOWED_HOSTS": "<VALUE>",
"UOL_PROFILES_FILE": "<VALUE>",
"UOL_DEFAULT_ACCOUNT": "<VALUE>"
}
}
}
}
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": {
"eu-humblecode-uol": {
"command": "npx",
"args": [
"-y",
"uol-mcp"
],
"env": {
"UOL_TENANT": "<VALUE>",
"UOL_EMAIL": "<VALUE>",
"UOL_TOKEN": "<YOUR_VALUE>",
"HOST": "127.0.0.1",
"PORT": "3000",
"UOL_DEBUG": "<VALUE>",
"UOL_ACCESS": "read",
"UOL_ACCOUNTS": "<VALUE>",
"UOL_TOOLSETS": "core,insights",
"MCP_TRANSPORT": "<VALUE>",
"UOL_AUDIT_LOG": "<VALUE>",
"MCP_AUTH_TOKEN": "<VALUE>",
"UOL_UPLOAD_DIRS": "~/Downloads,~/Desktop,~/Documents",
"UOL_DOWNLOAD_DIR": "~/Downloads/uol-mcp",
"MCP_ALLOWED_HOSTS": "<VALUE>",
"UOL_PROFILES_FILE": "<VALUE>",
"UOL_DEFAULT_ACCOUNT": "<VALUE>"
}
}
}
}
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": {
"eu-humblecode-uol": {
"command": "npx",
"args": [
"-y",
"uol-mcp"
],
"env": {
"UOL_TENANT": "<VALUE>",
"UOL_EMAIL": "<VALUE>",
"UOL_TOKEN": "<YOUR_VALUE>",
"HOST": "127.0.0.1",
"PORT": "3000",
"UOL_DEBUG": "<VALUE>",
"UOL_ACCESS": "read",
"UOL_ACCOUNTS": "<VALUE>",
"UOL_TOOLSETS": "core,insights",
"MCP_TRANSPORT": "<VALUE>",
"UOL_AUDIT_LOG": "<VALUE>",
"MCP_AUTH_TOKEN": "<VALUE>",
"UOL_UPLOAD_DIRS": "~/Downloads,~/Desktop,~/Documents",
"UOL_DOWNLOAD_DIR": "~/Downloads/uol-mcp",
"MCP_ALLOWED_HOSTS": "<VALUE>",
"UOL_PROFILES_FILE": "<VALUE>",
"UOL_DEFAULT_ACCOUNT": "<VALUE>"
}
}
}
}
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 |
|---|---|---|
| UOL_TENANT | Yes | UOL tenant: `demo` uses UOL's public DEMO company and needs no token; otherwise your tenant name (e.g. `firma`), a host prefix (e.g. `firma.sandbox`), or the full `https://….uol.cz` URL. For a real tenant also set UOL_EMAIL and UOL_TOKEN. |
| UOL_EMAIL | No | E-mail you log into UOL with. |
| UOL_TOKEN secret | No | UOL API token from your tenant's API tokens page. Not needed for `UOL_TENANT=demo`. |
| HOST | No | HTTP server host (used when MCP_TRANSPORT=http). Default: 127.0.0.1 |
| PORT | No | HTTP server port (used when MCP_TRANSPORT=http). Default: 3000 |
| UOL_DEBUG | No | Set to `1` to log requests to stderr (never credentials). |
| UOL_ACCESS | No | Access mode: `read`, `write` or `full`. Default: read |
| UOL_ACCOUNTS | No | Comma-separated account names for serving several companies. For each name set UOL_ACCOUNT_<NAME>_TENANT, UOL_ACCOUNT_<NAME>_EMAIL, UOL_ACCOUNT_<NAME>_TOKEN, and optionally UOL_ACCOUNT_<NAME>_LABEL. |
| UOL_TOOLSETS | No | Comma-separated toolsets: `core`, `insights`, `ledger`, `banking`, `warehouse`, or `all`. Default: core,insights |
| MCP_TRANSPORT | No | Set to `http` to run the HTTP server instead of stdio. |
| UOL_AUDIT_LOG | No | File that records every write as a JSON line. |
| MCP_AUTH_TOKEN | No | Bearer token required for one-tenant HTTP mode; optional for HTTP pass-through mode. |
| UOL_UPLOAD_DIRS | No | Folders `upload_document` may read from; `:`-separated, `;` on Windows. Default: ~/Downloads,~/Desktop,~/Documents |
| UOL_DOWNLOAD_DIR | No | Where exported and downloaded files go. Default: ~/Downloads/uol-mcp |
| MCP_ALLOWED_HOSTS | No | Allowed host headers for the HTTP server, e.g. when running in Docker behind a public hostname. |
| UOL_PROFILES_FILE | No | Path to a JSON profiles file for serving several companies from one server. |
| UOL_DEFAULT_ACCOUNT | No | Default account when using UOL_ACCOUNTS; otherwise the first account is the default. |