Athena MCP Server
Enables Docker container and image management, with commands for building, running, and managing Docker services.
Facilitates GitHub repository management and code search operations.
Provides AI-powered tools including intelligent Q&A, code analysis, code generation, text summarization, translation, and image generation using OpenAI GPT and DALL-E models.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Athena MCP Serveranalyze my Python code for errors"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Athena MCP Server
A comprehensive Model Context Protocol (MCP) server that provides AI-powered tools and system utilities. This server integrates with OpenAI GPT models to deliver intelligent responses and analysis capabilities.
Features
Core AI Tools (OpenAI GPT-powered)
ask_athena: Intelligent AI assistant for general queries and problem-solving
analyze_code: Advanced code analysis with optimization suggestions
generate_code: Intelligent code generation based on requirements
text_summarize: AI-powered text summarization with customizable length and style
translate_text: Multi-language translation using OpenAI models
image_generate: DALL-E powered image generation
System & Development Tools
get_system_stats: Real-time system monitoring (CPU, memory, disk usage)
file_operations: Comprehensive file and directory management
process_monitor: System process monitoring and management
docker_manage: Docker container and image management
network_tools: Network diagnostics (ping, port scan, DNS lookup, traceroute)
Web & API Tools
web_request: HTTP client for API testing and web scraping
weather_info: Real-time weather information using OpenWeatherMap API
github_operations: GitHub repository management and code search
Related MCP server: MCP TS Toolkit
š Project Structure
Athena MCP/
āāā app.js # Backend entry point
āāā mcp-server.js # MCP server for Trae integration
āāā mcp-config.json # MCP configuration file
āāā package.json # Backend dependencies
āāā .env # Environment variables
āāā tools/ # Custom tools directory
ā āāā get_cpu_stats.js # CPU statistics tool
āāā frontend/ # React frontend
ā āāā package.json # Frontend dependencies
ā āāā public/
ā āāā src/
ā āāā App.js # Main React component
ā āāā App.css # Component styles
ā āāā index.js # React entry point
ā āāā index.css # Global styles
āāā docker-compose.yml # Docker orchestration
āāā Dockerfile.backend # Backend Docker image
āāā README.md # This fileš MCP Integration with Trae
Quick Setup for Trae
Install dependencies:
npm installStart MCP server:
npm run mcpAdd to Trae configuration: Add this to your Trae MCP configuration:
{ "mcpServers": { "athena": { "command": "node", "args": ["mcp-server.js"], "cwd": "d:\\Projects\\Athena MCP" } } }
Available MCP Tools
Tool Name | Description |
| Ask Athena AI assistant questions and get intelligent responses powered by OpenAI GPT |
| Get detailed system CPU, memory, and performance statistics |
| Analyze code snippets with AI-powered review, explain, optimize, or debug modes |
| Generate code based on requirements and specifications using OpenAI |
MCP Tool Examples
Ask Athena:
{
"name": "ask_athena",
"arguments": {
"prompt": "How do I optimize React performance?",
"context": "Working on a large React application with performance issues"
}
}Get System Stats:
{
"name": "get_system_stats",
"arguments": {
"detailed": true
}
}Analyze Code:
{
"name": "analyze_code",
"arguments": {
"code": "function fibonacci(n) { return n <= 1 ? n : fibonacci(n-1) + fibonacci(n-2); }",
"language": "javascript",
"analysis_type": "optimize"
}
}š ļø Setup & Installation
Prerequisites
Node.js 18+ and npm
(Optional) Docker and Docker Compose
Method 1: Local Development
Clone and setup backend:
cd "d:\Projects\Athena MCP" npm installSetup frontend:
cd frontend npm installConfigure environment:
Edit
.envfile and add your OpenAI API key:
PORT=4000 OPENAI_API_KEY=your_actual_api_key_hereRun the applications:
Terminal 1 (Backend):
npm start # Backend runs on http://localhost:4000Terminal 2 (Frontend):
cd frontend npm start # Frontend runs on http://localhost:3000
Method 2: Docker Compose
Set environment variables:
# Create .env file with your API key echo "OPENAI_API_KEY=your_actual_api_key_here" > .envRun with Docker:
docker-compose up --buildThis will start:
Backend on http://localhost:4000
Frontend on http://localhost:3000
š API Endpoints
Backend API (Port 4000)
Method | Endpoint | Description |
GET |
| API information and available endpoints |
POST |
| Send a prompt to Athena AI |
GET |
| Get system CPU and memory statistics |
GET |
| Health check endpoint |
Example API Usage
Ask Athena a question:
curl -X POST http://localhost:4000/ask \
-H "Content-Type: application/json" \
-d '{"prompt": "What is artificial intelligence?"}'Get CPU statistics:
curl http://localhost:4000/cpušØ Frontend Features
Modern UI: Clean, responsive design with gradient backgrounds
Real-time Interaction: Instant feedback and loading states
Error Handling: User-friendly error messages
Mobile Responsive: Works on all device sizes
System Monitoring: Visual display of CPU and memory stats
š§ Development
Adding New Tools
Create a new file in the
tools/directory:// tools/my_new_tool.js function myNewTool() { // Your tool logic here return { result: "Tool output" }; } module.exports = { myNewTool };Import and use in
app.js:const { myNewTool } = require('./tools/my_new_tool'); app.get('/my-endpoint', (req, res) => { const result = myNewTool(); res.json(result); });
Environment Variables
Variable | Description | Default |
| Backend server port | 4000 |
| OpenAI API key for AI features | Required |
| Environment mode | development |
š³ Docker Commands
# Build and run
docker-compose up --build
# Run in background
docker-compose up -d
# Stop services
docker-compose down
# View logs
docker-compose logs -f
# Rebuild specific service
docker-compose build backend
docker-compose build frontendš Production Deployment
Set production environment variables
Build optimized frontend:
cd frontend npm run buildUse process manager like PM2:
npm install -g pm2 pm2 start app.js --name athena-backend
š¤ Contributing
Fork the repository
Create a feature branch
Make your changes
Test thoroughly
Submit a pull request
š License
MIT License - feel free to use this project for your own purposes.
š Troubleshooting
Backend won't start:
Check if port 4000 is available
Verify Node.js version (18+)
Check
.envfile configuration
Frontend can't connect to backend:
Ensure backend is running on port 4000
Check CORS configuration
Verify API_BASE_URL in frontend
Docker issues:
Ensure Docker is running
Check port conflicts
Verify environment variables in docker-compose.yml
Happy coding! š
This server cannot be deployed
Maintenance
Related MCP Connectors
MCP server for AI dialogue using various LLM models via AceDataCloud
Nifty's MCP server ā exposes tasks, projects, messages, and files as tools for AI agents.
Focused MCP server for OpenAI image/audio generation (v2.0.0). Wraps endpoints via HAPI CLI.
Remote MCP server for supportsheep: run AI interviews and manage support content for your blog.
Related MCP Servers
- FlicenseBqualityDmaintenanceProduction-ready MCP server that integrates OpenAI API with extensible tool support, enabling dynamic plugin loading and knowledge search capabilities through multiple interfaces including CLI and browser UI.2-
- AlicenseNot gradedqualityCmaintenanceA comprehensive MCP server providing secure tools for filesystem operations, Git management, web search, document conversion, npm/.NET project management, and AI generative capabilities (image/video/audio generation and processing) via PiAPI.ai integration.Apache 2.0
- FlicenseNot gradedqualityNot gradedmaintenanceA comprehensive MCP server suite that enables AI interaction with Gitea for repository management, secure command execution, and Docker monitoring. It provides additional tools for long-term memory, filesystem access, and web searching to support full development cycles.-

onion-mcp-serverofficial
AlicenseAqualityDmaintenanceA feature-rich MCP server offering 30 tools across AI, code, text, data, web, and system categories, enabling tasks like chat, translation, code review, web scraping, and text processing.30MIT