GalaxyMCP Server
A Model Context Protocol server for AI persona management with JIRA integration, enabling personality switching and ticket operations.
README
GalaxyMCP Server
š A Model Context Protocol (MCP) server for AI persona management with Galaxy theme. Built with TypeScript and designed for seamless integration with AI assistants like Claude and Augment AI.
Features
- š Persona Management: Activate different AI personalities for specialized tasks
- š ļø 6 MCP Tools: Complete persona lifecycle management
- š« JIRA Integration: Full JIRA API support with 8 additional tools for ticket management
- š Markdown-Based Personas: Easy-to-edit persona definitions with YAML frontmatter
- š§ TypeScript: Type-safe development with modern ES modules
- š Galaxy Theme: Space-themed indicators and branding
- š Simplified Architecture: Streamlined codebase for easy understanding and extension
- š¦ Self-Contained: All persona logic in a single main file for clarity
Available Tools
Persona Management Tools
| Tool | Description |
|---|---|
list_personas |
List all available personas with details |
activate_persona |
Activate a specific persona by name or filename |
get_active_persona |
Get currently active persona information |
deactivate_persona |
Return to default mode |
get_persona_details |
View detailed persona information and content |
reload_personas |
Refresh personas from filesystem |
JIRA Integration Tools (Optional)
Available when JIRA is configured with required environment variables
| Tool | Description |
|---|---|
get_jira_ticket |
Retrieve JIRA ticket information by ticket key |
create_jira_ticket |
Create a new JIRA ticket (story) with workspace intelligence |
create_jira_epic |
Create a new JIRA epic for organizing multiple related stories |
update_jira_ticket |
Update an existing JIRA ticket with new information |
add_jira_comment |
Add a comment to an existing JIRA ticket |
link_jira_story_to_parent |
Link a JIRA story to its parent ticket |
link_jira_epic_to_parent |
Link a JIRA epic to its parent ticket |
attach_file_to_jira |
Attach a file to an existing JIRA ticket |
Built-in Personas
- Technical Analyst - Systematic problem-solver for deep technical analysis and architectural decisions
Prerequisites
- Node.js: v20.0.0 or higher
- npm: v10.0.0 or higher
- TypeScript: v5.0.0 or higher
Quick Start
1. Installation
# Navigate to the project directory
cd /Users/vkakkar/Documents/self/Projects/AI_MCP/galaxymcp-server
# Install dependencies
npm install
# Build the TypeScript code
npm run build
2. Environment Setup (Optional)
# Set user identity for persona attribution
export GALAXY_USER="your-username"
# Custom personas directory (optional)
export GALAXY_PERSONAS_DIR="/path/to/custom/personas"
# JIRA Integration (optional)
export JIRA_BASE_URL="https://your-company.atlassian.net"
export JIRA_EMAIL="your-email@company.com"
export JIRA_TOKEN="your-jira-api-token"
export JIRA_SUB_COMPONENT="Galaxy-Core"
JIRA Configuration
To enable JIRA integration, you need to set up the following environment variables:
- JIRA_BASE_URL: Your JIRA instance URL (e.g.,
https://company.atlassian.net) - JIRA_EMAIL: Your JIRA account email
- JIRA_TOKEN: Your JIRA API token (How to create)
- JIRA_SUB_COMPONENT (optional): Default component for created tickets
Creating a JIRA API Token:
- Go to Atlassian Account Settings
- Click "Create API token"
- Give it a label (e.g., "GalaxyMCP")
- Copy the generated token
3. Test the Server
# Start the server
npm start
# Or with environment variables
GALAXY_USER="vaibhavkkk" npm start
Expected Output:
GalaxyMCP server running on stdio
Loaded persona: Technical Analyst (technical-analyst_20250714-130000_galaxymcp)
Integration with Augment AI
Step 1: Get Absolute Path
# Get the absolute path to your GalaxyMCP installation
cd /Users/vkakkar/Documents/self/Projects/AI_MCP/galaxymcp-server
pwd
# Copy this path: /Users/vkakkar/Documents/self/Projects/AI_MCP/galaxymcp-server
Step 2: Configure MCP Server in Augment AI
- Open IntelliJ IDEA
- Go to Preferences (ā + ,)
- Navigate to Tools ā Augment AI ā MCP Servers (or similar)
- Add new MCP server with these settings:
Configuration:
{
"mcpServers": {
"galaxymcp": {
"command": "node",
"args": ["/Users/vkakkar/Documents/self/Projects/AI_MCP/galaxymcp-server/dist/index.js"],
"env": {
"GALAXY_USER": "vaibhavkkk",
"JIRA_BASE_URL": "https://your-company.atlassian.net",
"JIRA_EMAIL": "your-email@company.com",
"JIRA_TOKEN": "your-jira-api-token",
"JIRA_SUB_COMPONENT": "Galaxy-Core"
}
}
}
}
Note: JIRA environment variables are optional. If not provided, only persona management tools will be available.
Step 3: Restart and Test
- Restart IntelliJ IDEA completely
- Open Augment AI panel
- Look for GalaxyMCP tools in available tools
- Test with:
list_personas
Usage Examples
Basic Persona Management
# List all available personas
list_personas
# Activate the Technical Analyst persona
activate_persona "Technical Analyst"
# Get details about current persona
get_active_persona
# View full persona details
get_persona_details "Technical Analyst"
# Deactivate persona
deactivate_persona
Working with Technical Analyst
Once activated, the Technical Analyst persona will:
- Provide systematic technical analysis
- Focus on architectural decisions
- Consider scalability and performance
- Offer detailed debugging approaches
- Suggest concrete implementation steps
JIRA Integration Examples
Available when JIRA is configured
# Get ticket information
get_jira_ticket "ENG-12345"
# Create a new story
create_jira_ticket {
"summary": "Implement user authentication",
"description": "Add JWT-based authentication to the API",
"issue_type": "Story",
"labels": ["backend", "security"]
}
# Create an epic
create_jira_epic {
"summary": "User Management System",
"description": "Complete user management functionality",
"labels": ["epic", "user-management"]
}
# Add a comment
add_jira_comment {
"ticket_key": "ENG-12345",
"comment_text": "Implementation completed and ready for review"
}
# Link a story to an epic
link_jira_story_to_parent {
"story_key": "ENG-12346",
"parent_key": "ENG-12345",
"link_type": "Blocks"
}
Project Structure
galaxymcp-server/
āāā src/
ā āāā index.ts # Main MCP server with all logic
ā āāā types/
ā ā āāā persona.ts # Persona type definitions
ā ā āāā mcp.ts # MCP-related types
ā ā āāā index.ts # Type exports
ā āāā persona/
ā ā āāā PersonaManager.ts # Persona loading and management (unused in current impl)
ā āāā utils/
ā āāā filesystem.ts # Utility functions (unused in current impl)
āāā personas/
ā āāā technical-analyst.md # Technical Analyst persona
āāā dist/ # Compiled JavaScript (auto-generated)
āāā package.json # Project configuration
āāā tsconfig.json # TypeScript configuration
āāā README.md # This file
āāā LICENSE # MIT License
āāā .gitignore # Git ignore rules
Note: The current implementation uses a simplified architecture where all logic is contained in src/index.ts for clarity and ease of understanding.
Development
Available Scripts
npm run build # Compile TypeScript
npm run start # Run the server
npm run dev # Watch mode for development
npm run clean # Remove compiled files
npm run rebuild # Clean and rebuild
npm run setup # Install deps and build
Adding New Personas
- Create a new
.mdfile in thepersonas/directory - Follow the YAML frontmatter format:
---
name: "Your Persona Name"
description: "Brief description"
triggers: ["keyword1", "keyword2"]
version: "1.0"
author: "your-username"
category: "professional"
unique_id: "your-persona_20250714-130000_your-username"
---
# Your Persona Name
Your persona instructions go here...
- Reload personas:
reload_personas
Troubleshooting
Common Issues
"Cannot find module" errors:
npm install
npm run build
Personas not loading:
# Check personas directory exists
ls -la personas/
# Reload personas
reload_personas
Augment AI doesn't see tools:
- Restart IntelliJ completely
- Verify absolute paths in MCP configuration
- Check Augment AI plugin version supports MCP
Debug Mode
# Run with debug output
DEBUG=galaxymcp:* npm start
# Check server compilation
node --version # Should be v20+
npm run build # Should complete without errors
Environment Variables
| Variable | Description | Default |
|---|---|---|
GALAXY_USER |
User identity for persona attribution | null |
GALAXY_PERSONAS_DIR |
Custom personas directory | ./personas |
Architecture Notes
This implementation uses a simplified architecture compared to DollhouseMCP:
- Single File Logic: All MCP server logic is in
src/index.ts - Inline Persona Management: Persona loading and management is built into the main server class
- Direct Tool Handling: Tools are handled directly in the main server without separate tool registry
- Simplified Types: Minimal type definitions for clarity
This approach makes the codebase easier to understand and modify while maintaining full MCP compatibility.
License
MIT License - see LICENSE file for details.
Contributing
- Fork the repository
- Create a feature branch
- Make your changes
- Test thoroughly
- Submit a pull request
š Transform your AI interactions with the power of Galaxy personas!
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.