Transporeon Company Settings MCP Server
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Transporeon Company Settings MCP Server list all settings for company 273471 in pd"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Transporeon Company Settings MCP Server
A Model Context Protocol (MCP) server that provides intelligent access to Transporeon's internal company settings API. This server enables AI assistants to retrieve, search, and analyze company configuration settings across different environments with smart pagination and search capabilities.
⚠️ Internal Use Only: This server is designed exclusively for internal Transporeon use and requires VPN access to internal network resources.
Features
🔍 Smart Search: Find specific content within large configuration files with line numbers and context
📄 Line-Based Pagination: Navigate through large settings efficiently using line ranges
🎯 Multi-Environment Support: Access settings across Production, Integration, and Acceptance environments
🔐 Secure Authentication: Bearer token authentication with automatic encoding/decoding
⚡ Intelligent Processing: Automatic base64 decoding and XML formatting for readability
📊 Comprehensive Filtering: Filter by setting type, owner, and child objects
Related MCP server: Terra Config MCP Server
Installation
Prerequisites
Node.js 18 or higher
VPN access to Transporeon internal network
Valid API tokens for PD, AC, IN
Podman Desktop
Cursor IDE or any MCP-compatible client
Quick Startecure Containerized Installation (Recommended)
Clone the repository
git -c http.sslVerify=false clone https://github.com/larkinmaxim/mcp_customer_settings_http.gitRun the secure setup script
# If execution policy prevents running scripts, first enable it: Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser -Force # Navigate to project directory cd mcp_customer_settings_http # Run secure containerized setup .\Secure-Setup.ps1The secure setup script will:
✅ Securely collect API tokens (with input masking)
✅ Create Podman secrets (encrypted token storage)
✅ Build hardened container (non-root, read-only filesystem)
✅ Deploy with security best practices
✅ Test deployment and token validation
Available options:
.\Secure-Setup.ps1 # Full secure setup .\Secure-Setup.ps1 -TokensOnly # Rotate API tokens only .\Secure-Setup.ps1 -BuildOnly # Build container only .\Secure-Setup.ps1 -DeployOnly # Deploy existing container .\Secure-Setup.ps1 -Clean # Clean then full setup
Manual Installation
Install dependencies
npm installBuild the project
npm run buildConfigure Cursor
For containerized deployment (recommended):
{ "mcpServers": { "company-settings": { "url": "http://localhost:3001/mcp" } } }
Security Note: The containerized approach is strongly recommended as it keeps tokens secure in Podman secrets rather than in configuration files.
Usage
Once configured, the MCP server provides these tools to AI assistants:
List Company Settings
// Get all settings for a company with optional filtering
list_company_settings({
companyId: 273471,
environment: "pd",
type: "COMPANY"
})Get Specific Setting with Pagination
// Get lines 1667-1700 of a specific setting
get_company_setting({
companyId: 273471,
keyName: "tsmConfig",
environment: "pd",
offset: 1666, // Start from line 1667 (0-based)
limit: 34 // Get 34 lines (1667-1700)
})Search Within Settings
// Find all occurrences of "otherTruckSize" with context
search_in_setting({
companyId: 273471,
keyName: "tsmConfig",
searchTerm: "otherTruckSize",
contextLines: 3
})How It Works
Smart Authentication: Secure bearer token authentication with automatic validation
Intelligent Decoding: Automatically detects and decodes base64-encoded settings
Line-Based Navigation: Navigate large XML configurations using line numbers from search results
Context-Aware Search: Find content with surrounding lines for better understanding
Configuration
Environments
pd- Production (default)in- Integrationac- Acceptance
Authentication
The MCP server requires separate tokens for each environment:
TP_SETTINGS_TOKEN_PD- Production environment tokenTP_SETTINGS_TOKEN_IN- Integration environment tokenTP_SETTINGS_TOKEN_AC- Acceptance environment token
All three environment tokens must be provided for the server to function properly.
Token Rotation
For routine token maintenance, use the secure token rotation feature:
# Rotate all API tokens without rebuilding container
.\Secure-Setup.ps1 -TokensOnlyThis will prompt for new tokens and update them securely without interrupting service for longer than a container restart.
Development
# Run TypeScript compiler in watch mode
npm run dev
# Start the server directly
npm startProject Structure
mcp_customer_settings_http/
├── src/
│ ├── index.ts # MCP server wiring and request handlers
│ ├── handlers.ts # Tool implementations
│ ├── settingsClient.ts # API client and business logic
│ ├── toolSchemas.ts # Tool schemas exposed to MCP
│ ├── config.ts # Configuration management
│ ├── constants.ts # Application constants
│ └── types.ts # TypeScript interfaces
├── dist/ # Compiled JavaScript (generated)
├── Documentation/ # Project documentation
├── package.json
├── tsconfig.json
└── README.mdScripts
npm run build- Compile TypeScript to JavaScriptnpm start- Run the compiled servernpm run dev- Development mode with watchnpm run clean- Remove compiled files
⚠️ Important Notes
Security & Access Control
VPN Required: This server only works within the Transporeon internal network
Bearer Token: Secure API token authentication required
Internal Use: Designed exclusively for Transporeon employees and authorized personnel
Network Isolation: API endpoints are not accessible from the public internet
API Limitations
Internal API only - not guaranteed to be stable
May have incompatible changes without notice
Rate limiting may apply
Performance Tips
Use line-based pagination for large settings (limit + offset)
Search first to find relevant line numbers, then use pagination to get specific ranges
Line numbers from search results can be used directly with pagination offset
Troubleshooting
Connection Issues
Verify VPN connection is active
Check if you can access Transporeon admin dashboard
Try different environments (pd, in, ac)
Authentication Errors
For containerized deployment:
# Check if tokens are properly configured in secrets
podman secret ls | findstr tp_token
# Test tokens manually
podman exec transporeon-mcp node -e "const { verifyEnvironmentTokens } = require('./dist/handlers.js'); verifyEnvironmentTokens().then(console.log).catch(console.error);"
# Rotate tokens if needed
.\Secure-Setup.ps1 -TokensOnlyFor manual installation:
Ensure all three environment token variables are set:
TP_SETTINGS_TOKEN_PD,TP_SETTINGS_TOKEN_IN,TP_SETTINGS_TOKEN_ACVerify tokens have necessary permissions for respective environments
Check token expiration with system administrators
Token Management Issues
Token Rotation Errors:
# If container is not running, start it first
podman ps --filter name=transporeon-mcp
podman start transporeon-mcp # if not running
# Then rotate tokens
.\Secure-Setup.ps1 -TokensOnlyContainer Issues:
# Check container logs
podman logs transporeon-mcp --tail 50
# Restart container
podman restart transporeon-mcp
# Full redeployment if needed
.\Secure-Setup.ps1 -CleanNo Results
Verify company ID is correct
Check if setting exists in the specified environment
Ensure correct setting key name format
Performance Issues
Use pagination for large settings (limit < 50 lines recommended)
Search for specific content instead of retrieving entire settings
Consider using different environments if one is slow
Support
API Issues: Contact the Company Settings API maintainer
Network Access: Contact Transporeon IT for VPN access and network configuration
Token Management: Contact system administrators for API token issues
MCP Issues: Check the main project documentation or development team
License
MIT
Available Tools
4 toolsget_company_settingA
Get a specific company setting by key name. Returns the setting with decoded value if it was encoded.
Inputs: keyName (required), companyId (required), type, limit, +4 more.
list_company_settingsB
List all company settings from the Transporeon settings API. Returns settings formatted as Markdown with decoded values for encoded settings.
Inputs: companyId (required), type, owner, keyName, +2 more.
search_in_settingA
Search for specific text within a company setting and return matching lines with surrounding context.
Inputs: keyName (required), companyId (required), searchTerm (required), type, +4 more.
verify_environment_tokensA
Verify that all environment tokens (pd, in, ac) are valid by making test requests to each environment. This helps diagnose authentication issues.
Inputs: no named parameters.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 4 tools
Each tool has a clearly distinct purpose: listing all settings, retrieving a specific setting, searching within a setting, and verifying environment tokens. There is no overlap or ambiguity between them.
All tool names follow a consistent verb_noun pattern in snake_case (list_company_settings, get_company_setting, search_in_setting, verify_environment_tokens). The naming is predictable and readable.
With 4 tools, the set is well-scoped for a company settings server. Each tool covers a necessary operation without redundancy, and the count is within the ideal range.
The tool set covers the full lifecycle of reading and searching company settings, plus a diagnostic tool for environment tokens. No obvious missing operations are apparent for the stated purpose.
Maintenance
Related MCP Connectors
Company profile lookup and B2B company search for AI agents.
CompanyLens is a remote MCP server giving AI agents instant access to official company registry data across 19 jurisdictions in Europe, the Americas, and Asia-Pacific. Eighteen read-only tools let you search companies and people, look up officers and beneficial owners, map corporate networks through shared directors, screen names against the UK disqualified directors register, find every company at a registered address, and pull filing history — all from a single connector. Visit our website: https://companylens.io
Global B2B intelligence for AI agents: 35M+ companies, 1.6M sanctions, KYB pack. 78 tools.
Connect ChatGPT or Claude to your CRM, store or shipping API. Keys stay out of the chat.
Related MCP Servers
- AlicenseNot gradedqualityBmaintenanceEnables AI agents to interact with commercetools APIs to manage products, categories, orders, carts, and customer data. It provides a comprehensive set of tools for both read-only and full-access operations through secure authentication methods.4MIT
- AlicenseNot gradedqualityDmaintenanceEnables LLMs to configure the TerraAPI dashboard by managing health and fitness integrations, destinations, and provider credentials. It allows users to programmatically interact with the Terra ecosystem to handle developer settings and data source configurations.MIT
- AlicenseAqualityDmaintenanceEnables AI agents to search and retrieve structured data from the German Commercial Register, including company details, filed documents, and shareholder lists.75Apache 2.0
- AlicenseAqualityBmaintenanceEnables AI agents to securely inspect and configure sipgate accounts via the sipgate REST API v2, supporting tasks such as managing users, numbers, routing, forwarding, calls, and SMS.1223 npm1MIT