Skip to main content
Glama

mcp-octagon

Official
by OctagonAI
#!/bin/bash # Octagon MCP Server Run Script echo "Starting Octagon MCP Server..." # Check if the dist directory exists, if not, build the project if [ ! -d "./dist" ]; then echo "Dist directory not found. Building project..." npm run build fi # Check if OCTAGON_API_KEY is set if [ -z "$OCTAGON_API_KEY" ]; then # Try to load from .env file if [ -f ".env" ]; then export $(grep -v '^#' .env | xargs) fi # Check again if OCTAGON_API_KEY is set if [ -z "$OCTAGON_API_KEY" ]; then echo "Error: OCTAGON_API_KEY environment variable not set." echo "Please set your API key using: export OCTAGON_API_KEY=your_api_key" echo "Or create a .env file with OCTAGON_API_KEY=your_api_key" exit 1 fi fi # Run the server echo "Running server..." node dist/index.js

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/OctagonAI/octagon-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server