Feedback

npcpy MCP Server — by cagostino

@cagostino Claim

Basic information

Runtime
python
Category
License
MIT
Transports
stdio
Author
cagostino
Submitted by
Community
Quality
65
Stars
1.4K

About npcpy MCP Server

The python library for research and development in NLP, multimodal LLMs, Agents, ML, Knowledge Graphs, and more.

npcpy is a MCP server in the Other category listed in the AddMCP.net directory, published by cagostino. Supported transport: stdio. Runtime: python. License: MIT. The repository has 1,420 GitHub stars. Source code is hosted on github.com. Related topics: agents, ai, anthropic, deepseek, gemini.

npcpy MCP Server — by cagostino config

No standard config provided

This server doesn't expose a parseable MCP config block in its README. See the repository for install instructions.

Repository

npcpy MCP Server — by cagostino tools

Tool list not available yet

This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.

We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.

Overview

What is npcpy?

npcpy is a Python library that provides key primitives for research and development with multimodal language models, agentic AI, and knowledge graphs. It supports both local providers (ollama, llama.cpp, onnx, LM Studio) and cloud providers, and enables building multi‑agent teams with a Context‑Agent‑Tool data layer that enforces compliance through software rather than prompts.

How to use npcpy?

Install with pip install npcpy. Then import the library to create NPC personas, run direct LLM calls, build agents with built‑in or custom tools, orchestrate multi‑agent debates via NPCArray, or manage knowledge graphs with sleep/dream lifecycle functions. Example code is provided for each major feature.

Key features of npcpy

  • Primitives for multimodal LLMs, agentic AI, and knowledge graphs
  • Support for local and cloud model providers
  • Multi‑agent debate and orchestration via NPCArray
  • Context‑Agent‑Tool data layer for safety compliance
  • Pre‑built agent tools: shell, Python, edit_file, web_search
  • CodingAgent for automated code execution

Use cases of npcpy

  • Build multi‑agent teams to debate and reach consensus on complex problems
  • Create persona‑based NPCs for interactive storytelling or simulations
  • Fine‑tune diffusion models with agent‑driven data collection and training
  • Simplify context engineering for large language model applications
  • Generate and execute code with the auto‑executing CodingAgent

Frequently asked questions

1 What is the NPC Context-Agent-Tool data layer?

It is a framework within npcpy that structures interactions between personas (NPCs), agents, and tools to ensure compliance with directives through software rather than relying solely on prompts.

2 How do I install npcpy?

Run pip install npcpy in your environment.

3 What model providers does npcpy support?

npcpy supports local providers such as ollama, llama.cpp, onnx, and LM Studio, as well as cloud providers (e.g., ollama’s cloud models).

4 How do I run multi-agent debates with npcpy?

Use the NPCArray class to create a team of NPC objects, then call team.infer() with a prompt, optionally followed by chain() for iterative refinement. The README includes a full example with role‑based personas and debate rounds.

Comments

No comments yet

Be the first to share feedback about this listing. Sign in to leave a comment.

Sign In

Feedback 💬