Configuration Overview
mcp_use configuration is organized into two main areas: Client Configuration for connecting to MCP servers, and Agent Configuration for customizing agent behavior and LLM integration.
Configuration Architecture
mcp_use follows a clear separation between client-side and agent-side concerns:Client Configuration
MCPClient Setup
- MCP server connections
- Multi-server configurations
- Sandboxed execution
- Connection types
Agent Configuration
MCPAgent Setup
- API key management
- LLM integration
- Server manager
- Tool access control
- Memory and prompts
- Adapter usage
Quick Start Configuration
For a basic setup, you need both client and agent configuration:1. Client Setup
2. Agent Setup
3. Basic Usage
Configuration Paths
1
Client Configuration
Set up your MCPClient to connect to MCP servers. This includes configuring server connections, managing API keys, and setting up multi-server environments.Start here: Client Configuration Guide →
2
Agent Configuration
Configure your MCPAgent’s behavior, including LLM integration, tool restrictions, memory settings, and custom prompts.Continue with: Agent Configuration Guide →
3
Advanced Topics
Explore connection types, server management, and LLM integration patterns for complex use cases.Learn more: Connection Types | Server Manager | LLM Integration
Common Configuration Patterns
Development Setup
Production Setup
Multi-Server Setup
What’s Next?
Client Configuration
Learn how to configure MCPClient and connect to MCP servers
Agent Configuration
Discover how to customize MCPAgent behavior and LLM integration
Examples
Explore real-world configuration examples
New to mcp_use? Start with the Quickstart Guide for a basic introduction, then return here for detailed configuration options.