We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/agilesix/va-form-generation-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
setup.sh•3.8 KiB
#!/bin/bash
# VA Form Generation MCP Server - Setup Script
set -e
GREEN='\033[0;32m'
BLUE='\033[0;34m'
YELLOW='\033[1;33m'
NC='\033[0m'
echo -e "${BLUE}╔═══════════════════════════════════════════════════════╗${NC}"
echo -e "${BLUE}║ VA Form Generation MCP Server - Setup ║${NC}"
echo -e "${BLUE}╚═══════════════════════════════════════════════════════╝${NC}"
echo
# Get the directory where the script is located
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
echo -e "${GREEN}✓ Script directory: ${SCRIPT_DIR}${NC}"
echo
# Install dependencies
echo -e "${BLUE}Installing dependencies...${NC}"
cd "$SCRIPT_DIR"
npm install
echo -e "${GREEN}✓ Dependencies installed${NC}"
echo
# Detect username
USERNAME=$(whoami)
echo -e "${GREEN}✓ Detected username: ${USERNAME}${NC}"
# Claude Desktop config path
CLAUDE_CONFIG="$HOME/Library/Application Support/Claude/claude_desktop_config.json"
echo
echo -e "${BLUE}═══════════════════════════════════════════════════════${NC}"
echo -e "${BLUE}Configuration Instructions${NC}"
echo -e "${BLUE}═══════════════════════════════════════════════════════${NC}"
echo
if [ -f "$CLAUDE_CONFIG" ]; then
echo -e "${GREEN}✓ Found Claude Desktop config${NC}"
echo
echo -e "${YELLOW}Add this to your config:${NC}"
else
echo -e "${YELLOW}Claude Desktop config not found. Create it at:${NC}"
echo -e "${YELLOW}${CLAUDE_CONFIG}${NC}"
echo
echo -e "${YELLOW}With this content:${NC}"
fi
cat << EOF
{
"mcpServers": {
"va-form-generation": {
"command": "node",
"args": [
"${SCRIPT_DIR}/index.js"
]
}
}
}
EOF
echo -e "${BLUE}═══════════════════════════════════════════════════════${NC}"
echo -e "${BLUE}Next Steps${NC}"
echo -e "${BLUE}═══════════════════════════════════════════════════════${NC}"
echo
echo -e "${GREEN}1. Add the configuration above to:${NC}"
echo -e " ${CLAUDE_CONFIG}"
echo
echo -e "${GREEN}2. Restart Claude Desktop${NC}"
echo
echo -e "${GREEN}3. Test it:${NC}"
echo -e " Say: 'Use the va-form-generation MCP server to show me all available tools'"
echo
echo -e "${GREEN}4. Use it:${NC}"
echo -e " Say: 'Audit form 21p-0516 using the MCP server'"
echo
echo -e "${BLUE}═══════════════════════════════════════════════════════${NC}"
echo -e "${GREEN}✓ Setup complete!${NC}"
echo -e "${BLUE}═══════════════════════════════════════════════════════${NC}"
echo
# Offer to open config file
read -p "Would you like to open the Claude config file now? (y/n) " -n 1 -r
echo
if [[ $REPLY =~ ^[Yy]$ ]]; then
if command -v code &> /dev/null; then
code "$CLAUDE_CONFIG"
echo -e "${GREEN}✓ Opened in VS Code${NC}"
elif command -v open &> /dev/null; then
open "$CLAUDE_CONFIG"
echo -e "${GREEN}✓ Opened in default editor${NC}"
else
echo -e "${YELLOW}Please manually open: ${CLAUDE_CONFIG}${NC}"
fi
fi
echo
echo -e "${GREEN}Setup complete! Restart Claude Desktop to use the MCP server.${NC}"