Skip to content

Latest commit

 

History

History
55 lines (42 loc) · 1.17 KB

File metadata and controls

55 lines (42 loc) · 1.17 KB

Deployment Guide

Quick Start

1. Clone and Configure

git clone <this-repo>
cd apstra-mcp-server
cp apstra_config_sample.json apstra_config.json
# Edit apstra_config.json with your Apstra server details

2. Deploy with Docker

# Build and run the HTTP streaming server
docker-compose up -d

3. Verify Deployment

# Check container status
docker ps

# Test the endpoint
curl -H "Accept: text/event-stream" http://localhost:8080/mcp

Client Configuration

Streamlit Chat App

  • Server URL: http://host.docker.internal:8080/mcp
  • Authentication: none

Troubleshooting

Container Issues

# Check logs
docker-compose logs -f apstra-mcp-streaming

# Restart service
docker-compose restart

Common Problems

  1. Port conflicts: Ensure port 8080 is available
  2. Config missing: Verify apstra_config.json exists
  3. Connection errors: Check Apstra server connectivity

Production Considerations

  • Use environment variables for sensitive configuration
  • Configure proper logging and monitoring
  • Set up automated backups of configuration
  • Consider using a container orchestration platform for high availability