Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions backend/.env.example
Original file line number Diff line number Diff line change
Expand Up @@ -31,23 +31,23 @@ MAX_CONCURRENT_SESSIONS=10

# OpenAI Configuration (kong Dev)
OPENAI_API_KEY=your-openai-api-key
OPENAI_BASE_URL=https://api-pub.dev.developer.nbcuni.com/prism-ai-core-openai
OPENAI_BASE_URL=https://api.openai.com/v1
OPENAI_MODEL=gpt-5.4

# Azure OpenAI Configuration
AZURE_OPENAI_ENDPOINT=https://api-pub.dev.developer.nbcuni.com/prism-ai-core-azure-v2
AZURE_OPENAI_ENDPOINT=https://your-azure-openai-endpoint.openai.azure.com
AZURE_OPENAI_API_KEY=your-azure-openai-api-key
AZURE_OPENAI_DEPLOYMENT=gpt-5.4
AZURE_API_VERSION=2024-02-15-preview

# AWS Bedrock Configuration
AWS_BASE_URL=https://api-pub.dev.developer.nbcuni.com/prism-ai-core-aws-v2
AWS_BASE_URL=https://bedrock.us-east-1.amazonaws.com
AWS_API_KEY=your-aws-api-key
AWS_MODEL=global.anthropic.claude-sonnet-4-6

# Google Vertex AI Configuration
GCP_MODEL=gemini-3.1-pro-preview
GCP_ENDPOINT=https://api-pub.dev.developer.nbcuni.com/prism-ai-core-gcp-v2
GCP_ENDPOINT=https://vertexai.googleapis.com/v1/projects/your-project-id/locations/global/publishers/google/models/gemini-3.1-pro-preview:predict
GCP_API_KEY=your-gcp-api-key

# Ollama Configuration
Expand All @@ -68,8 +68,8 @@ NEO4J_DATABASE=neo4j
SEARCH_SERVER_URL=http://mcp-web-search-server:9393/mcp
SEARCH_SERVER_API_KEY=your-search-server-api-key

SCRAPER_SERVER_URL=http://mcp-web-scraping-server:9292/mcp
SCRAPER_SERVER_API_KEY=your-scraper-server-api-key
FETCH_SERVER_URL=http://mcp-fetch-server:9292/mcp
FETCH_SERVER_API_KEY=your-fetch-server-api-key

FILE_SERVER_URL=http://mcp-file-handler-server:9191/mcp
FILE_SERVER_API_KEY=your-file-server-api-key
8 changes: 4 additions & 4 deletions backend/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -234,13 +234,13 @@ class Config(BaseModel):

# Web scraping server (port 9292): scrape_url (content extraction, metadata,
# boilerplate removal).
scraper_server_url: str = Field(
fetch_server_url: str = Field(
default_factory=lambda: os.getenv(
"SCRAPER_SERVER_URL", "http://localhost:9292/mcp"
"FETCH_SERVER_URL", "http://localhost:9292/mcp"
)
)
scraper_server_api_key: Optional[str] = Field(
default_factory=lambda: os.getenv("SCRAPER_SERVER_API_KEY")
fetch_server_api_key: Optional[str] = Field(
default_factory=lambda: os.getenv("FETCH_SERVER_API_KEY")
)

# File handler server (port 9191): list_files, read_file, write_file,
Expand Down
2 changes: 1 addition & 1 deletion backend/mcp_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -728,7 +728,7 @@ async def create_mcp_registry(config: Config) -> MCPServerRegistry:
# Register the three built-in streamable-http servers.
builtin_servers = [
("web_search", config.search_server_url),
("web_scraper", config.scraper_server_url),
("fetch", config.fetch_server_url),
("file_handler", config.file_server_url),
]
for server_name, server_url in builtin_servers:
Expand Down
2 changes: 1 addition & 1 deletion docker-compose-full.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ services:
condition: service_healthy
mcp-web-search-server:
condition: service_healthy
mcp-web-scraping-server:
mcp-fetch-server:
condition: service_healthy

neo4j:
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ services:
condition: service_healthy
mcp-web-search-server:
condition: service_healthy
mcp-web-scraping-server:
mcp-fetch-server:
condition: service_healthy

neo4j:
Expand Down
29 changes: 0 additions & 29 deletions src/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.