MCP.so
登录

Ngspice MCP Server

@gtnoble

基本信息

分类

其他

传输方式

stdio

作者

gtnoble

关于 Ngspice MCP Server

An MCP server for interfacing with the ngspice circuit simulator

Ngspice MCP Server 配置

暂无标准配置

该服务器的 README 中没有可解析的 MCP 配置块,请前往代码仓库查看安装说明。

代码仓库

Ngspice MCP Server 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

What is ngspice-mcp?

A Model Context Protocol (MCP) server that provides access to ngspice circuit simulation functionality through a standardized protocol interface. It enables AI language models to interact with ngspice in a controlled and structured way.

How to use ngspice-mcp?

Build using dub build --config=server and run ./ngspice-mcp [options]. The server exposes tools for loading netlists, running simulations (e.g., op, dc, ac, tran), and retrieving vector data with multiple representation formats. The default working directory is the current directory; use --working-dir to change it.

Key features of ngspice-mcp

  • Integration with ngspice’s shared library interface
  • Standardized MCP protocol implementation
  • Synchronous operation with structured data access
  • Comprehensive output capture and redirection
  • Vector data handling with multiple representation formats
  • Support for both server and library usage modes

Use cases of ngspice-mcp

  • Load and simulate circuit netlists (DC, AC, transient)
  • Retrieve simulation results (vector data) in magnitude‑phase or rectangular form
  • Access ngspice output streams (stdout, stderr) as MCP resources
  • Programmatically control ngspice from AI language models

常见问题

1

What is ngspice?

ngspice is a mixed‑level/mixed‑signal circuit simulator. This server wraps its shared library via the MCP protocol.

2

What are the requirements to run ngspice-mcp?

You need a D compiler (DMD/LDC), the ngspice shared library, the MCP server library (d‑mcp‑server), and the D build system (dub).

3

How are circuit files and results stored?

Circuit netlists are loaded as text (string or file). Simulation results (vector data) are returned as structured MCP tool responses; model parameters can be stored in an internal SQLite database.

4

What transports and authentication does ngspice-mcp support?

The README does not mention specific transports (e.g., stdio/SSE) or authentication methods. It implements the standard MCP protocol.

5

What are the known limits?

The README does not list explicit limits. The server is designed for synchronous, structured interaction with ngspice and includes comprehensive error handling via output streams.

评论

其他 分类下的更多 MCP 服务器