MCP.so
登录

analog-circuit-simulate-mcp-server

@abelzhao

关于 analog-circuit-simulate-mcp-server

the mcp server to run circuit simulation with ngspice

基本信息

分类

其他

运行时

python

传输方式

stdio

发布者

abelzhao

配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "analog_circuit_simulate_mcp_server": {
      "command": "uv",
      "args": [
        "venv",
        ".venv"
      ]
    }
  }
}

工具

未检测到工具

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

概览

What is analog-circuit-simulate-mcp-server?

This MCP server provides tools for running analog circuit simulations using ngspice as the simulation backend. It exposes a REST API interface, supports parameterized circuit simulations, and returns results in JSON format. It is intended for users who need to simulate analog circuits within an MCP-enabled environment.

How to use analog-circuit-simulate-mcp-server?

Install ngspice (Linux only), Python 3.8+ and the uv tool. Create a virtual environment with uv venv .venv and activate it. Install dependencies via uv pip install -e .. Start the server with uv run analog-circuit-simulate-mcp-server or via uvx. Add an NPX configuration entry pointing to http://${server_ip}:4044/mcp/. Server ports and JSON response can be configured via the environment variables FASTMCP_PORT (default 4044) and FASTMCP_JSON_RESPONSE.

Key features of analog-circuit-simulate-mcp-server

  • Provides MCP tools for analog circuit simulation
  • REST API interface for simulation control
  • Supports parameterized circuit simulations
  • Returns simulation results in JSON format
  • Backed by the ngspice circuit simulator

Use cases of analog-circuit-simulate-mcp-server

  • Running analog circuit simulations from MCP clients
  • Automating parameterized circuit analysis
  • Integrating ngspice simulation into development workflows

FAQ from analog-circuit-simulate-mcp-server

What are the runtime dependencies?

Python 3.8+, the uv package manager, and ngspice installed on the system.

How is the server configured?

Server configuration is set via environment variables: FASTMCP_PORT (default 4044) and FASTMCP_JSON_RESPONSE (set to True for JSON output).

Where can I find an example circuit file?

The repository includes high_pass_filter.cir as an example circuit file for simulation demos.

How do I start the server?

Run uv run analog-circuit-simulate-mcp-server from the project root, or use uvx with the Git repository URL.

What transport method is used?

The server provides a REST API on port 4044 at the /mcp/ endpoint. No authentication mechanisms are mentioned.

评论

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