Overview
The AnySite MCP Server requires proper configuration to connect with your API credentials and customize tool behavior. This guide covers all configuration options available.Configuration File
The MCP server uses a JSON configuration file that should be placed in your project directory or specified via environment variables.Basic Configuration
Create ahdw-config.json
file with the following structure:
Configuration Options
The base URL for the AnySite API. Usually you don’t need to change this.
Default timeout in milliseconds for API requests.
Number of retry attempts for failed API requests.
Enable or disable logging output.
Log level:
debug
, info
, warn
, error
.Environment Variables
Alternatively, you can configure the MCP server using environment variables:Environment variables take precedence over configuration file settings.
Tool-Specific Configuration
LinkedIn Tools Configuration
Configure LinkedIn-specific settings:Instagram Tools Configuration
Configure Instagram-specific settings:Rate Limiting Configuration
Configure rate limiting to stay within API limits:Claude Desktop Integration
To use the MCP server with Claude Desktop, add this configuration to your Claude config file:macOS
Edit~/Library/Application Support/Claude/claude_desktop_config.json
:
Windows
Edit%APPDATA%\Claude\claude_desktop_config.json
:
Cursor Integration
For Cursor IDE integration, add the MCP server to your workspace settings:Validation
Test your configuration by running the MCP server in debug mode:Troubleshooting
Common Issues
Invalid API Key Error
Invalid API Key Error
- Verify your API key is correct and active
- Check that the key has proper permissions
- Ensure the key isn’t expired
Connection Timeout
Connection Timeout
- Check your internet connection
- Verify the base URL is correct
- Try increasing the timeout value
Rate Limit Errors
Rate Limit Errors
- Enable rate limiting in configuration
- Reduce requests per minute
- Check your API plan limits
Debug Mode
Enable debug logging for troubleshooting:Next Steps
- Explore Available Tools - Learn about all 20+ available tools
- View Examples - See practical usage examples
- Integration Guide - Complete installation guide