omni-server
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
- Clone the repository:
git clone https://github.com/abhijithk1/omni-server.git
cd omni-server
- 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
- Activate the virtual environment (if needed):
source .venv/bin/activate # macOS/Linux
.venv\Scripts\activate # Windows
- 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.