Skip to main content

MCP Settings Configuration

This guide explains how to configure MCP servers in Pcnaid MCP Hub using the mcp_settings.json file and related configurations.

Configuration Files Overview

Pcnaid MCP Hub uses several configuration files:
  • mcp_settings.json: Your personal configuration of active MCP servers and system config
  • servers.json: Metadata cataloging hundreds of available MCP servers
  • .env: Environment variables and secrets

Basic MCP Settings Structure

mcp_settings.json

Example Configuration

Server Configuration Options

Required Fields

Optional Fields

Common MCP Server Examples

Web and API Servers

Fetch Server

Web Scraping with Playwright

File and System Servers

Filesystem Server

SQLite Server

Communication Servers

Slack Server

Email Server

Development and API Servers

GitHub Server

Google Drive Server

Map and Location Services

Amap (高德地图) Server

OpenStreetMap Server

Advanced Configuration

Environment Variable Substitution

Pcnaid MCP Hub supports environment variable substitution using ${VAR_NAME} syntax:

Proxy Configuration (proxychains4)

Pcnaid MCP Hub supports routing STDIO server network traffic through a proxy using proxychains4. This feature is available on Linux and macOS only (Windows is not supported).
To use this feature, you must have proxychains4 installed on your system:
  • Debian/Ubuntu: apt install proxychains4
  • macOS: brew install proxychains-ng
  • Arch Linux: pacman -S proxychains-ng

Basic Proxy Configuration

Proxy Configuration Options

Proxy with Authentication

Using Custom proxychains4 Configuration

For advanced use cases, you can provide your own proxychains4 configuration file:
When configPath is specified, all other proxy settings (type, host, port, etc.) are ignored, and the custom configuration file is used directly.

Group Management

Group Configuration

Best Practices

Security

  1. Use environment variables for sensitive data:
This comprehensive guide covers all aspects of configuring MCP servers in Pcnaid MCP Hub for various use cases and environments.