What are the prerequisites?
Python 3.10+, `uv` (Astral) installed globally, Ollama installed and running, and Cursor IDE installed.
@sidhyaashu
基本信息
Advanced MCP Server Setup with uv, llama-index, ollama, and Cursor IDE
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"ollama-mcp-integration": {
"command": "uv",
"args": [
"init",
"mcp-server"
]
}
}
}工具列表暂未提供
当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
This guide provides step‑by‑step instructions to create a local MCP server using uv (Astral), llama-index, ollama, and Cursor IDE. It is designed for developers who want to run LLM‑powered tools and agent workflows entirely on their machine, integrating with the Model Context Protocol.
Set up the project with uv init, create a virtual environment, install dependencies (mcp[cli], httpx, linkup-sdk, llama-index, etc.), and write a minimal server.py that calls mcp.cli.app. Run Ollama locally with a model (e.g., ollama run llama3.2). Finally, add a global MCP server in Cursor IDE’s settings, pointing uv at your project directory and server.py. Open a Python file in Cursor and trigger MCP tools via ⌘K or Ctrl+K.
uv for fast, reproducible Python dependency managementlocalhost:11434.env fileipykernel for notebook usagePython 3.10+, `uv` (Astral) installed globally, Ollama installed and running, and Cursor IDE installed.
Inside the virtual environment, run: `uv add mcp[cli] httpx linkup-sdk llama-index llama-index-embeddings-huggingface llama-index-llms-ollama ipykernel`.
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.

Tokenaissance is a online Personal Agent for Quant and Research investment available at https://tokenaissance.com.

Quantum-inspired keyring for AI coding agents. Secure secrets with superposition, entanglement, tunneling, and teleportation — CLI + 44 MCP tools.

OpenRouter for tools & data — 3,028 APIs for your agent, one token, pay per call. treg.to is a remote MCP server at https://treg.to/mcp/ that gives an agent 3,028 ready-to-call API endpoints across 82 platforms: SEO and
Cartesia MCP is a remote MCP server for Cartesia (https://cartesia.ai) available at https://mcp.cartesia.ai.
Launch Meta ads with your AI agent. Bulk-create Facebook and Instagram ads, import Google Drive creatives, launch partnership ads with authorized creators, and review saved builds before launch.
评论