🧠 Advanced MCP Server Setup with

by sidhyaashu

345 downloads
Not rated
GitHub

About

Advanced MCP Server Setup with uv, llama-index, ollama, and Cursor IDE

Details

Author
sidhyaashu
Downloads
345
Categories
AI, Knowledge Base

- 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:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name 🧠 Advanced MCP Server Setup with
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. 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

No reviews yet β€” be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.