π§ Advanced MCP Server Setup with
About
Advanced MCP Server Setup with uv, llama-index, ollama, and Cursor IDE
Details
- Author
- sidhyaashu
- Downloads
- 345
- Categories
- AI, Knowledge Base
Jump to
- Uses uv for fast, reproducible Python dependency management
- Integrates LlamaIndex with HuggingFace embeddings and Ollama LLMs
- Runs a local LLM backend via Ollama at localhost:11434
- Configurable MCP server inside Cursor IDE
- Environment variables stored in a .env file
- Optional ipykernel for notebook usage
Setting up with Highlight
This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:
- Download and install Highlight from highlightai.com/download
- Navigate to the plugins tab and select "Add Custom Plugin"
-
Configure the plugin with the settings below
Plugin Name
π§ Advanced MCP Server Setup withCommand (node, npx, python, etc.)Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.
- Enable "Start Automatically" if you want the plugin to start when Highlight launches
From the repository
What are the prerequisites?
Python 3.10+, uv (Astral) installed globally, Ollama installed and running, and Cursor IDE installed.
How do I install the required dependencies?
Inside the virtual environment, run: uv add mcp[cli] httpx linkup-sdk llama-index llama-index-embeddings-huggingface llama-index-llms-ollama ipykernel.
How do I run the server after configuration?
Open any .py file in Cursor and use the MCP tools (accessible via βK or Ctrl+K). The server is named "weather" in the configuration example.
Where does
Claude Desktop / Cursor
Paste into your MCP client config file to install this server.
{
"mcpServers": {
"\ud83e\udde0 advanced mcp server setup with": {
"ollama-mcp-integration": {
"command": "uv",
"args": [
"init",
"mcp-server"
]
}
}
}
}
McpServers
{
"ollama-mcp-integration": {
"command": "uv",
"args": [
"init",
"mcp-server"
]
}
}
π§ Advanced MCP Server Setup with uv, llama-index, ollama, and Cursor IDE
---
β Prerequisites
- [x] Python 3.10+ installed
- [x] uv (by Astral) installed globally (pip install uv)
- [x] Ollama installed and running locally
- [x] Cursor IDE installed
---
π Step 1: Project Setup
1.1 Create a New Project Directory
uv init mcp-server
cd mcp-server
1.2 Create and Activate Virtual Environment
```bash
uv venv
.venv\Scripts\activate # On Windows
Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.


