omni-server

omni-server

0

Omni Server is an MCP server that helps developers get familiar with the MCP framework, serving as a foundational tool for building MCP-based applications. It offers a modular structure and seamless integration with Claude Desktop.

Omni Server

Omni Server is a Model Context Protocol (MCP) server designed to help developers familiarize themselves with the MCP framework. It serves as a foundational tool for understanding and implementing MCP-based applications.


Features

  • šŸš€ MCP server implementation using Python
  • šŸ“ Modular project structure with clear separation of prompts, tools, data, and resources
  • āš™ļø Easily configurable with .env and Poetry
  • 🧠 Designed to integrate seamlessly with Claude Desktop

Project Structure

omni-server/
ā”œā”€ā”€ data/           # Data files and datasets
ā”œā”€ā”€ prompts/        # Prompt templates and related files
ā”œā”€ā”€ resources/      # Static resources and assets
ā”œā”€ā”€ tools/          # Utility scripts and tools
ā”œā”€ā”€ utils/          # Helper functions and utilities
ā”œā”€ā”€ .env            # Environment variable definitions
ā”œā”€ā”€ .gitignore      # Git ignore rules
ā”œā”€ā”€ .python-version # Python version specification
ā”œā”€ā”€ README.md       # Project documentation
ā”œā”€ā”€ main.py         # Main application entry point
ā”œā”€ā”€ pyproject.toml  # Project metadata and dependencies
ā”œā”€ā”€ server.py       # Server initialization and configuration
└── uv.lock         # Dependency lock file

Getting Started

Prerequisites

  • Python 3.8 or higher
  • uv for dependency management

Installation

  1. Clone the repository:
git clone https://github.com/abhijithk1/omni-server.git
cd omni-server
  1. Install dependencies using uv:
uv venv
uv pip install -r requirements.txt  # if using requirements.txt

# or, better:
uv pip install -e .  # if pyproject.toml is used
  1. Activate the virtual environment (if needed):
source .venv/bin/activate  # macOS/Linux
.venv\Scripts\activate     # Windows
  1. Create a .env file (if required) with any necessary environment variables.

Dependencies

All required packages are defined in pyproject.toml. You can install them using:

uv pip install -e .

Running the Server

To run manually via terminal:

uv pip install -e .  # ensure it's installed
python main.py

Or if you're using a virtual environment:

.venv/Scripts/python.exe main.py

🧩 Integrating with Claude Desktop

To use this server with Claude Desktop, configure your claude_desktop_config.json like so:

{
  "mcpServers": {
    "omni_server": {
      "command": "<PATH TO PROJECT>/.venv/Scripts/python.exe",
      "args": [
        "<PATH TO PROJECT>/main.py"
      ],
      "cwd": "<PATH TO PROJECT>"
    }
  }
}

Make sure:

  • The path to the Python executable is correct
  • Your virtual environment (.venv) is created and installed via uv
  • Claude Desktop is configured to recognize the MCP server

Once that's done, Omni Server will run as an MCP-compatible backend inside Claude Desktop!


Contributing

Contributions are welcome! Fork the repository, make changes, and open a pull request.


License

This project is licensed under the MIT License. See the file for details.