Token导航 LogoToken导航TokenDH.com
Langgraph Angular MCP logo
开发工具stdio官方级别未说明来源级核验

Langgraph Angular MCP

MCP Server

一个基于LangGraph ReAct代理的Angular CLI工具客户端,使用Ollama支持的LLM进行推理和响应提示。

工具数

0

提示词数

0

GitHub Stars

0

资源数

0
LangGraphPython开发工具

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

作者 / 组织

nnaghera

提供方

nnaghera

最后核验

2026/5/17 20:20

运行时

Python

快速接入

先看主来源和安装命令,再打开仓库或文档;下面只保留这个条目的关键接入事实。

命令预览

python -m venv .venv

详细介绍

angular-cli-mcp-client

Run a LangGraph ReAct agent wired to an MCP client that exposes Angular CLI tools. The agent uses an Ollama-backed LLM to reason about prompts and (read-only) Angular CLI tool outputs.

Prerequisites

  • Python 3.10+
  • Node.js 18+ (for npx and @angular/cli)
  • Ollama installed and running locally

- Example model used: llama3.2:latest

  • PowerShell or any shell (examples use PowerShell on Windows)

Environment

Create a .env file in the project root:

MODEL_URL=http://localhost:11434
  • MODEL_URL should point to your Ollama server.

Installation

# From the project root
python -m venv .venv
. .venv\Scripts\Activate.ps1
pip install -r requirements.txt

Running the demo

# Activate the virtual environment if not already active
. .venv\Scripts\Activate.ps1

# Run the agent demo
python main.py

What it does:

  • Starts an MCP client that launches the Angular CLI via npx @angular/cli mcp --read-only over stdio
  • Discovers exposed tools
  • Builds a LangGraph ReAct agent with an Ollama-backed LLM
  • Sends a single demo prompt: “What are Angular's best practices?”

The agent may call tools as needed (read-only) to answer the prompt.

Project structure

.
├─ main.py               # Entrypoint; creates the agent and runs a demo prompt
├─ requirements.txt      # Python dependencies
└─ README.md             # This file

Common issues and fixes

  • npx not found

- Ensure Node.js 18+ is installed and available on PATH

  • SSL or proxy issues

- Set MODEL_URL to http:// with the correct host/port for local Ollama

Customizing

  • Change the model: edit model="llama3.2:latest" in main.py
  • Change the prompt: edit the HumanMessage content in main.py
  • Enable additional MCP servers: extend the MultiServerMCPClient mapping in main.py

目录标签

目录标签

LangGraphPython开发工具AngularCLI本地部署ReAct代理OllamaLLM

接入字段

传输方式(transport,传输协议)

stdio

鉴权方式(authType,认证方式)

none

运行时(runtime,运行环境)

Python

工具数量(toolCount,工具数)

0

资源数量(resourceCount,资源数)

0

提示词数量(promptCount,提示词数)

0

权限和风险

stdionone部署方式未说明

接入前请确认传输方式、认证方式和部署位置,并根据实际工具能力限制访问范围。

安装前确认

不要直接授予不必要的文件、网络或账号权限;先核对安装命令和配置内容。

来源信息

继续浏览同类 MCP