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-nubiia-dev-mcp-freematica": {
"command": "npx",
"args": [
"-y",
"@nubiia/mcp-freematica"
],
"env": {
"FREEMATICA_AUTH_TOKEN": "<YOUR_VALUE>",
"FREEMATICA_AUTH_COMPANY": "<VALUE>",
"FREEMATICA_AUTH_ORGANIZATION": "<VALUE>",
"FREEMATICA_AUTH_APP": "<VALUE>",
"FREEMATICA_AUTH_SESSION": "<YOUR_VALUE>",
"FREEMATICA_ENABLE_WRITES": "false",
"FREEMATICA_BASE_URL": "https://api-p01.clientservicepanel.com/restsat/api",
"MCP_PORT": "3000",
"LOG_LEVEL": "info",
"MCP_TRANSPORT": "stdio",
"MCP_ALLOWED_ORIGINS": "*",
"FREEMATICA_TIMEOUT_MS": "30000",
"FREEMATICA_MAX_RETRIES": "3",
"FREEMATICA_MAX_RESPONSE_SIZE_MB": "10",
"FREEMATICA_CIRCUIT_BREAKER_THRESHOLD": "5",
"FREEMATICA_CIRCUIT_BREAKER_TIMEOUT_MS": "30000"
}
}
}
}
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-nubiia-dev-mcp-freematica": {
"command": "npx",
"args": [
"-y",
"@nubiia/mcp-freematica"
],
"env": {
"FREEMATICA_AUTH_TOKEN": "<YOUR_VALUE>",
"FREEMATICA_AUTH_COMPANY": "<VALUE>",
"FREEMATICA_AUTH_ORGANIZATION": "<VALUE>",
"FREEMATICA_AUTH_APP": "<VALUE>",
"FREEMATICA_AUTH_SESSION": "<YOUR_VALUE>",
"FREEMATICA_ENABLE_WRITES": "false",
"FREEMATICA_BASE_URL": "https://api-p01.clientservicepanel.com/restsat/api",
"MCP_PORT": "3000",
"LOG_LEVEL": "info",
"MCP_TRANSPORT": "stdio",
"MCP_ALLOWED_ORIGINS": "*",
"FREEMATICA_TIMEOUT_MS": "30000",
"FREEMATICA_MAX_RETRIES": "3",
"FREEMATICA_MAX_RESPONSE_SIZE_MB": "10",
"FREEMATICA_CIRCUIT_BREAKER_THRESHOLD": "5",
"FREEMATICA_CIRCUIT_BREAKER_TIMEOUT_MS": "30000"
}
}
}
}
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-nubiia-dev-mcp-freematica": {
"command": "npx",
"args": [
"-y",
"@nubiia/mcp-freematica"
],
"env": {
"FREEMATICA_AUTH_TOKEN": "<YOUR_VALUE>",
"FREEMATICA_AUTH_COMPANY": "<VALUE>",
"FREEMATICA_AUTH_ORGANIZATION": "<VALUE>",
"FREEMATICA_AUTH_APP": "<VALUE>",
"FREEMATICA_AUTH_SESSION": "<YOUR_VALUE>",
"FREEMATICA_ENABLE_WRITES": "false",
"FREEMATICA_BASE_URL": "https://api-p01.clientservicepanel.com/restsat/api",
"MCP_PORT": "3000",
"LOG_LEVEL": "info",
"MCP_TRANSPORT": "stdio",
"MCP_ALLOWED_ORIGINS": "*",
"FREEMATICA_TIMEOUT_MS": "30000",
"FREEMATICA_MAX_RETRIES": "3",
"FREEMATICA_MAX_RESPONSE_SIZE_MB": "10",
"FREEMATICA_CIRCUIT_BREAKER_THRESHOLD": "5",
"FREEMATICA_CIRCUIT_BREAKER_TIMEOUT_MS": "30000"
}
}
}
}
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-nubiia-dev-mcp-freematica": {
"command": "npx",
"args": [
"-y",
"@nubiia/mcp-freematica"
],
"env": {
"FREEMATICA_AUTH_TOKEN": "<YOUR_VALUE>",
"FREEMATICA_AUTH_COMPANY": "<VALUE>",
"FREEMATICA_AUTH_ORGANIZATION": "<VALUE>",
"FREEMATICA_AUTH_APP": "<VALUE>",
"FREEMATICA_AUTH_SESSION": "<YOUR_VALUE>",
"FREEMATICA_ENABLE_WRITES": "false",
"FREEMATICA_BASE_URL": "https://api-p01.clientservicepanel.com/restsat/api",
"MCP_PORT": "3000",
"LOG_LEVEL": "info",
"MCP_TRANSPORT": "stdio",
"MCP_ALLOWED_ORIGINS": "*",
"FREEMATICA_TIMEOUT_MS": "30000",
"FREEMATICA_MAX_RETRIES": "3",
"FREEMATICA_MAX_RESPONSE_SIZE_MB": "10",
"FREEMATICA_CIRCUIT_BREAKER_THRESHOLD": "5",
"FREEMATICA_CIRCUIT_BREAKER_TIMEOUT_MS": "30000"
}
}
}
}
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-nubiia-dev-mcp-freematica": {
"command": "npx",
"args": [
"-y",
"@nubiia/mcp-freematica"
],
"env": {
"FREEMATICA_AUTH_TOKEN": "<YOUR_VALUE>",
"FREEMATICA_AUTH_COMPANY": "<VALUE>",
"FREEMATICA_AUTH_ORGANIZATION": "<VALUE>",
"FREEMATICA_AUTH_APP": "<VALUE>",
"FREEMATICA_AUTH_SESSION": "<YOUR_VALUE>",
"FREEMATICA_ENABLE_WRITES": "false",
"FREEMATICA_BASE_URL": "https://api-p01.clientservicepanel.com/restsat/api",
"MCP_PORT": "3000",
"LOG_LEVEL": "info",
"MCP_TRANSPORT": "stdio",
"MCP_ALLOWED_ORIGINS": "*",
"FREEMATICA_TIMEOUT_MS": "30000",
"FREEMATICA_MAX_RETRIES": "3",
"FREEMATICA_MAX_RESPONSE_SIZE_MB": "10",
"FREEMATICA_CIRCUIT_BREAKER_THRESHOLD": "5",
"FREEMATICA_CIRCUIT_BREAKER_TIMEOUT_MS": "30000"
}
}
}
}
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-nubiia-dev-mcp-freematica": {
"command": "npx",
"args": [
"-y",
"@nubiia/mcp-freematica"
],
"env": {
"FREEMATICA_AUTH_TOKEN": "<YOUR_VALUE>",
"FREEMATICA_AUTH_COMPANY": "<VALUE>",
"FREEMATICA_AUTH_ORGANIZATION": "<VALUE>",
"FREEMATICA_AUTH_APP": "<VALUE>",
"FREEMATICA_AUTH_SESSION": "<YOUR_VALUE>",
"FREEMATICA_ENABLE_WRITES": "false",
"FREEMATICA_BASE_URL": "https://api-p01.clientservicepanel.com/restsat/api",
"MCP_PORT": "3000",
"LOG_LEVEL": "info",
"MCP_TRANSPORT": "stdio",
"MCP_ALLOWED_ORIGINS": "*",
"FREEMATICA_TIMEOUT_MS": "30000",
"FREEMATICA_MAX_RETRIES": "3",
"FREEMATICA_MAX_RESPONSE_SIZE_MB": "10",
"FREEMATICA_CIRCUIT_BREAKER_THRESHOLD": "5",
"FREEMATICA_CIRCUIT_BREAKER_TIMEOUT_MS": "30000"
}
}
}
}
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 |
|---|---|---|
| FREEMATICA_AUTH_TOKEN secret | Yes | Header x-auth-token para autenticar con la API de Freemática. |
| FREEMATICA_AUTH_COMPANY | Yes | Header x-auth-company. Identifica la empresa dentro del API. |
| FREEMATICA_AUTH_ORGANIZATION | Yes | Header x-auth-organization. Identifica la organización. |
| FREEMATICA_AUTH_APP | Yes | Header x-auth-app. Identifica la aplicación que consume (p.ej. pvss). |
| FREEMATICA_AUTH_SESSION secret | Yes | Header x-auth-session. Identifica la sesión activa. |
| FREEMATICA_ENABLE_WRITES | No | Registra las tools de escritura (freematica_create_* / freematica_update_*). Sin ella el servidor es de solo lectura. Valores: true/false/1/0. Default: false |
| FREEMATICA_BASE_URL | No | Base URL del API de Freemática. Cambiar solo si Freemática cambia el host o se usa un entorno alternativo. Default: https://api-p01.clientservicepanel.com/restsat/api |
| MCP_PORT | No | Puerto TCP donde el servidor MCP expone /mcp y /health. Ignorado en modo stdio. Default: 3000 |
| LOG_LEVEL | No | Nivel de log para pino: fatal, error, warn, info, debug, trace. En producción usar info. En desarrollo usar debug. Default: info |
| MCP_TRANSPORT | No | Transporte: stdio (para Claude Desktop/Code) o http (para Nubiia). Equivale al flag --transport=. Default: stdio |
| MCP_ALLOWED_ORIGINS | No | CORS: lista de orígenes permitidos separados por coma, o * para todos. En producción restringir al dominio de Nubiia. Ignorado en modo stdio. Default: * |
| FREEMATICA_TIMEOUT_MS | No | Timeout por petición en milisegundos. Si el upstream no responde en este tiempo, el request se cancela con network_error. Default: 30000 |
| FREEMATICA_MAX_RETRIES | No | Número máximo de reintentos para errores 5xx y errores de red. Los errores 4xx nunca se reintentan. Default: 3 |
| FREEMATICA_MAX_RESPONSE_SIZE_MB | No | Tamaño máximo de respuesta aceptada del upstream en MB. Respuestas mayores se truncan con aviso en el campo truncated. Default: 10 |
| FREEMATICA_CIRCUIT_BREAKER_THRESHOLD | No | Número de operaciones lógicas fallidas consecutivas (post-retry-exhaustion) necesarias para abrir el circuit breaker. Default: 5 |
| FREEMATICA_CIRCUIT_BREAKER_TIMEOUT_MS | No | Tiempo en ms que el circuit breaker permanece abierto antes de pasar a half-open. Default: 30000 |