Configure your easy-mcp-use environment
.env
file with your keys as:
.env
available in your runtime, granted that you run from where the .env is located.
2 - Set it in your environment by running in your terminal the following command, e.g. for OpenAI:
server_name
: A unique identifier for your MCP servercommand
: The command to start the MCP serverargs
: Array of arguments to pass to the commandenv
: Environment variables to set for the serverllm
: Any LangChain-compatible language model (required)client
: The MCPClient instance (optional if connectors are provided)connectors
: List of connectors if not using client (optional)serverName
: Name of the server to use (optional)maxSteps
: Maximum number of steps the agent can take (default: 5)autoInitialize
: Whether to initialize automatically (default: false)memoryEnabled
: Whether to enable memory (default: true)systemPrompt
: Custom system prompt (optional)systemPromptTemplate
: Custom system prompt template (optional)additionalInstructions
: Additional instructions for the agent (optional)disallowedTools
: List of tool names that should not be available to the agent (optional)maxSteps
parameter if operations are timing out