Skip to main content
Glama
start-oauth-server.shโ€ข1.11 kB
#!/bin/bash # Start OAuth Server Script echo "๐Ÿš€ Starting Jira OAuth Server..." # Check if .env file exists if [ ! -f ".env" ]; then echo "โŒ .env file not found. Please create one based on .env.example" exit 1 fi # Load environment variables export $(cat .env | xargs) # Check if required environment variables are set if [ -z "$OAUTH_CLIENT_ID" ] || [ -z "$OAUTH_CLIENT_SECRET" ]; then echo "โŒ Missing required OAuth configuration:" echo " OAUTH_CLIENT_ID=${OAUTH_CLIENT_ID:-'NOT SET'}" echo " OAUTH_CLIENT_SECRET=${OAUTH_CLIENT_SECRET:-'NOT SET'}" echo "" echo "Please check your .env file and ensure these variables are properly set." exit 1 fi echo "โœ… OAuth Configuration:" echo " Client ID: ${OAUTH_CLIENT_ID}" echo " Client Secret: ${OAUTH_CLIENT_SECRET:0:10}..." echo " Port: ${PORT:-3000}" echo "" # Clean up any existing tokens rm -f /tmp/jira-mcp-tokens.json rm -f /tmp/jira-oauth-sessions.json echo "๐Ÿงน Cleaned up existing tokens and sessions" echo "" # Start the OAuth server echo "๐Ÿ”ง Starting OAuth server..." npm run dev-oauth-fixed

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/CHIBOLAR/jira_mcp_sprinthealth'

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