Aurora-4X-MCP
MCP (Model Context Protocol) server for Aurora 4X, providing integration capabilities with the Aurora 4X game.
Overview
Aurora-4X-MCP is a Model Context Protocol server implementation that enables integration with Aurora 4X, a complex 4X space strategy game. This server provides tools and resources for interacting with Aurora 4X game data and functionality.
Features
- SQLite database integration for game data management
- MCP protocol implementation using the official SDK
- Environment variable configuration support
- TypeScript-based implementation for type safety
Prerequisites
- Node.js (LTS version recommended)
- npm or yarn package manager
- Aurora 4X game installation
- TypeScript knowledge for development
Installation
- Clone the repository:
git clone https://github.com/yourusername/Aurora-4X-MCP.git
cd Aurora-4X-MCP
- Install dependencies:
npm install
- Create a
.envfile in the root directory with your configuration:
# Add your environment variables here
MCP Client Configuration
To connect your MCP client to this server, you'll need to configure it properly. Create or modify your MCP client configuration file (typically located at ~/.cursor/mcp.json or equivalent based on your system):
{
"mcpServers": {
"aurora-4x-mcp": {
"command": "npm",
"args": ["--prefix", "/path/to/Aurora-4X-MCP", "start"],
"cwd": "/path/to/Aurora-4X-MCP"
}
}
}
Replace /path/to/Aurora-4X-MCP with the actual path where you installed the server.
Usage
Development
To run the server in development mode with watch mode:
npm run dev
Production
To build and run the server in production:
npm run build
npm start
Available Scripts
npm start- Build and start the servernpm run dev- Run in development mode with watchnpm run build- Build the TypeScript codenpm run lint- Run ESLint for code quality
Project Structure
Aurora-4X-MCP/
├── src/
│ ├── app.ts # Main application entry point
│ ├── db/ # Database related code
│ ├── tools/ # MCP tools implementation
│ └── resources/ # MCP resources implementation
├── dist/ # Compiled JavaScript output
├── data/ # Data storage
└── node_modules/ # Dependencies
Dependencies
Main Dependencies
@modelcontextprotocol/sdk- MCP protocol implementationbetter-sqlite3- SQLite database interfacedotenv- Environment configuration
Development Dependencies
typescript- TypeScript compilereslint- Code linting- Various TypeScript and ESLint plugins
Contributing
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add some amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
License
This project is licensed under the ISC License - see the LICENSE file for details.
Acknowledgments
- Aurora 4X game developers
- Model Context Protocol team
- Contributors to the project
Support
For support, please open an issue in the GitHub repository or contact the maintainers.
Recommend MCP Servers 💡
yutu
A fully functional MCP server and CLI for YouTube
youtube-mp3-mcp
一个用于从YouTube URL下载MP3音频的Model-Context-Protocol (MCP)服务器,支持与Claude Desktop集成并提供音質选择、自定义输出目录等功能。
podscan
MCP server for integrating with Podscan to provide podcast-related context
discogs-mcp-server
MCP Server for Discogs
pixverse-mcp
Enables interaction with PixVerse's AI video generation APIs via MCP
mcp-gamecube-bridge
An MCP server that bridges Nintendo GameCube operations, allowing clients to interact with a GameCube console.