ds-mcp-server / .env.example
amirkiarafiei's picture
feat: enhance configuration and API key handling in MCP server
42f1822
raw
history blame contribute delete
637 Bytes
# Example .env file for Defect Solver MCP Server
# Copy this file to .env and set your values
DS_API_BASE_URL=https://dnext-ds-api.hf.space
DS_API_MULTIMODULE_ENDPOINT=/mcp_multi_module_bug_localization
DS_API_SINGLEMODULE_ENDPOINT=/mcp_single_module_bug_localization
DS_API_SEARCHSPACE_ENDPOINT=/mcp_search_space_routing
# Hugging Face Access Token for when the API is hosted on Hugging Face Spaces
HF_ACCESS_TOKEN=your_hf_access_token_here
# Request timeout in seconds (for requests between MCP Server and Defect Solver API)
TIMEOUT=120
# MCP Server Configuration
TRANSPORT_MODE=streamable-http
HOST=0.0.0.0
PORT=8000
LOG_LEVEL=INFO