Nexus-MCP
Nexus-MCP ( Foundry-Reverse )
Ollama에서 작동하도록 리버스 엔지니어링된 최신 Foundry MCP
Azure AI Foundry MCP Server에 대한 완전 로컬 오픈 소스 대안으로, 전적으로 Ollama를 기반으로 구동됩니다. Azure 구독, API 키, 클라우드가 필요하지 않습니다.
기능
카테고리 | 도구 |
상태 |
|
모델 관리 |
|
추론 |
|
평가 |
|
지식 / RAG |
|
또한 MCP 리소스(ollama://models, ollama://running, ollama://indexes)와 재사용 가능한 프롬프트(summarize, rag_answer, code_review)를 제공합니다.
Related MCP server: mcplex
요구 사항
빠른 시작
# 1. Clone
git clone https://github.com/deadSwank001/Foundry-Reverse.git
cd Foundry-Reverse
# 2. Copy and edit configuration
cp .env.example .env
# 3. Run the MCP server (stdio transport)
uv run foundry-reverseVS Code / Copilot 통합
mcp.json을 VS Code 작업 공간의 .vscode/mcp.json(또는 사용자 수준 MCP 설정)으로 복사한 후 VS Code를 다시 시작하세요.
{
"mcpServers": {
"foundry-reverse": {
"command": "uv",
"args": ["run", "foundry-reverse"],
"env": {
"OLLAMA_BASE_URL": "http://localhost:11434"
}
}
}
}구성
변수 | 기본값 | 설명 |
|
| Ollama API 엔드포인트 |
|
| 요청 시간 제한 (초) |
|
| 임베딩에 사용되는 Ollama 모델 |
| (사용 가능한 첫 번째 모델) | 평가자로 사용되는 Ollama 모델 |
|
| 로컬 RAG 저장소 경로 |
개발
# Install deps (including dev)
uv sync --all-groups
# Run tests
uv run pytest아키텍처
src/foundry_reverse/
├── __init__.py # Package version
├── server.py # FastMCP server – all tools, resources, prompts
├── ollama_client.py # Async Ollama REST API client
├── evaluation.py # LLM-as-judge evaluation helpers
└── knowledge.py # In-memory vector store (cosine similarity + Ollama embeddings)Azure AI Foundry MCP와의 비교
기능 | Azure Foundry MCP | Foundry-Reverse |
모델 카탈로그 | Azure AI 모델 레지스트리 | 로컬 Ollama 모델 |
추론 | Azure OpenAI / 서버리스 | Ollama ( |
임베딩 | Azure OpenAI 임베딩 | Ollama ( |
벡터 검색 | Azure AI Search | 인메모리 코사인 유사도 |
평가 | Azure AI 평가 SDK | 로컬 LLM-as-judge |
인증 | Azure 서비스 주체 / 키 | 없음 (로컬 전용) |
비용 | 토큰당 과금 | 무료 |
Available Tools
16 toolsadd_documentC
Add a text document to a knowledge index. The text is embedded automatically using the index's embedding model.
Inputs: index_name (required), text (required), metadata. Returns: object
chatB
Send a multi-turn conversation to an Ollama model. Messages should follow the format [{'role': 'user'|'assistant'|'system', 'content': '...'}].
Inputs: model (required), messages (required), temperature, max_tokens. Returns: object
compare_modelsB
Run the same prompt against multiple models and return all responses side-by-side for comparison.
Inputs: prompt (required), model_names (required), system_prompt. Returns: object
create_indexA
Create a named local vector index for RAG (Retrieval-Augmented Generation). Documents added to this index are embedded via Ollama.
Inputs: index_name (required), embed_model. Returns: object
delete_indexB
Delete a knowledge index and all its documents.
Inputs: index_name (required). Returns: object
delete_modelC
Delete a locally stored Ollama model to free disk space.
Inputs: model_name (required). Returns: object
evaluate_agentB
Evaluate a multi-turn agent conversation on task completion, tool use, safety, and efficiency using a local judge model.
Inputs: conversation (required), judge_model. Returns: object
evaluate_responseB
Use a local judge model to score an LLM response on relevance, coherence, correctness, and completeness (1-5 each).
Inputs: question (required), response (required), judge_model. Returns: object
generateC
Run text generation with an Ollama model. Returns the model's raw completion for a given prompt.
Inputs: model (required), prompt (required), system_prompt, temperature, +1 more. Returns: object
get_model_infoB
Get detailed information about a specific Ollama model.
Inputs: model_name (required). Returns: object
health_checkA
Check whether the local Ollama service is reachable.
Inputs: no named parameters. Returns: object
list_indexesA
List all local knowledge indexes.
Inputs: no named parameters. Returns: result
list_modelsA
List all locally available Ollama models.
Inputs: no named parameters. Returns: result
list_running_modelsA
List models currently loaded in memory (running in Ollama).
Inputs: no named parameters. Returns: result
pull_modelA
Download / update an Ollama model from the Ollama registry. Returns streaming status lines summarising the download progress.
Inputs: model_name (required). Returns: object
query_knowledgeB
Semantic search over a knowledge index. Returns the top-k most relevant documents for a natural language query.
Inputs: index_name (required), query (required), top_k. Returns: result
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 16 tools
Each tool targets a distinct operation: model management, knowledge indexing, evaluation, or generation. Overlap between 'chat', 'generate', and 'compare_models' is minimal and disambiguated by descriptions.
Most tools follow a verb_noun pattern (e.g., 'create_index', 'list_models'), but a few use single verbs ('chat', 'generate') or noun_verb ('health_check'). The pattern is mostly consistent and readable.
With 16 tools covering models, knowledge bases, evaluation, and chat, the count is appropriate for a multi-purpose MCP server. It is slightly on the higher side but still well-scoped.
The tool surface covers model lifecycle, generation, knowledge index management, and evaluation. Missing features include individual document removal and document listing within indexes, but core workflows are complete.
Related MCP Connectors
MCP server for building and testing AI agents with multi-model experimentation and insights.
Chat, image, video, and audio models from many vendors behind one remote MCP server and one key.
MCP server for AI agents to plan, verify, and deploy Cloudflare-native apps.
MCP server that lets your AI assistant build and deploy apps, hosting each one at a live URL.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceA server that enables seamless integration between local Ollama LLM instances and MCP-compatible applications, providing advanced task decomposition, evaluation, and workflow management capabilities.6-
- AlicenseNot gradedqualityNot gradedmaintenanceAn MCP server that bridges local Ollama models and ChromaDB vector memory to MCP clients like Claude Code. It enables local text generation, vision-based image analysis, and semantic memory storage without requiring external API keys.MIT
- AlicenseNot gradedqualityCmaintenanceA Python MCP server that exposes local Ollama models as tools for AI assistants, enabling chat, generation, embeddings, and model management without cloud APIs.5MIT

Local AI MCPofficial
AlicenseAqualityBmaintenanceUnified MCP server for managing local model runtimes (Ollama, LM Studio, etc.), enabling provider-agnostic discovery, lifecycle management, hardware-fit checks, and delegated inference.22123 npmCreative Commons Attribution Non Commercial No Derivatives 4.0 International