Quick Start¶
This guide will get you up and running with MCPOmni Connect in under 5 minutes.
Step 1: Basic Configuration¶
Create the two required configuration files:
Create .env
file¶
Supported API Keys
You can use API keys from OpenAI, Anthropic, Google, Groq, or any other supported LLM provider.
Create servers_config.json
¶
cat > servers_config.json << 'EOF'
{
"AgentConfig": {
"tool_call_timeout": 30,
"max_steps": 15,
"request_limit": 1000,
"total_tokens_limit": 100000
},
"LLM": {
"provider": "openai",
"model": "gpt-4o-mini",
"temperature": 0.5,
"max_tokens": 5000,
"top_p": 0.7
},
"mcpServers": {}
}
EOF
Step 2: Start MCPOmni Connect¶
You should see the MCPOmni Connect CLI start up:
🚀 MCPOmni Connect - Universal Gateway to MCP Servers
Connected to 0 MCP servers
Mode: CHAT (type /mode:auto for autonomous mode)
>
Step 3: Test Basic Functionality¶
Try these commands to verify everything is working:
Check Available Commands¶
Test LLM Connection¶
The AI should respond, confirming your LLM configuration is working.
Step 4: Add Your First MCP Server¶
Let's add a simple MCP server to demonstrate connectivity:
Option A: File System Server (Local)¶
Edit your servers_config.json
to add a file system server:
{
"AgentConfig": {
"tool_call_timeout": 30,
"max_steps": 15,
"request_limit": 1000,
"total_tokens_limit": 100000
},
"LLM": {
"provider": "openai",
"model": "gpt-4o-mini",
"temperature": 0.5,
"max_tokens": 5000,
"top_p": 0.7
},
"mcpServers": {
"filesystem": {
"transport_type": "stdio",
"command": "uvx",
"args": ["mcp-server-filesystem", "/tmp"]
}
}
}
Option B: Remote HTTP Server¶
{
"mcpServers": {
"remote-server": {
"transport_type": "streamable_http",
"url": "http://your-server.com:8080/mcp",
"headers": {
"Authorization": "Bearer your-token"
},
"timeout": 60
}
}
}
Restart and Test¶
Now check available tools:
You should see tools from your connected MCP server!
Step 5: Try Different Operation Modes¶
Chat Mode (Default)¶
The AI will ask for approval before executing toolsAutonomous Mode¶
The AI will execute tasks independentlySwitch Back to Chat Mode¶
Common First Tasks¶
Explore Available Capabilities¶
/tools # List all available tools
/prompts # Show available prompts
/resources # Display available resources
Memory Management¶
Debug Mode¶
Next Steps¶
Now that you have MCPOmni Connect running:
- Configure additional LLM providers - Try different AI models
- Add more MCP servers - Connect to databases, APIs, and tools
- Explore advanced features - Learn about ReAct agents and orchestration
- Set up authentication - Configure OAuth and secure connections
Troubleshooting Quick Start¶
Connection Failed
If you see "Failed to connect to server":
- Check your
servers_config.json
syntax - Verify the MCP server is actually running
- See the troubleshooting guide
API Key Error
If you see "Invalid API key":
- Verify your
.env
file contains the correct key - Check you're using the right provider in
servers_config.json
- Ensure the API key has proper permissions
Command Not Found
If mcpomni_connect
command isn't found:
- Try
python -m mcpomni_connect
- Check your PATH includes the installation directory
- Reinstall with
pip install --user mcpomni-connect
Getting Help
- Join our GitHub Discussions
- Check existing issues
- Read the full configuration guide
Congratulations! 🎉 You now have MCPOmni Connect running. Ready to explore more advanced features?
Next: Configuration Guide →