MCP.so
登录

Installation

@dev-johnny-gh

关于 Installation

暂无概览

基本信息

分类

其他

许可证

MIT license

运行时

node

传输方式

stdio

发布者

dev-johnny-gh

配置

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

{
  "mcpServers": {
    "ipServer": {
      "type": "http",
      "url": "http://localhost:3000/sse"
    }
  }
}

工具

未检测到工具

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

概览

What is Installation?

Installation is an MCP server that provides tools for retrieving local and external IP addresses (IPv4 and IPv6). It is designed to integrate with LibreChat, enabling AI agents to invoke IP lookup tools using Ollama as the model provider.

How to use Installation?

  1. Install the server by running cd IpServer && npm install && npm run build && npm run start.
  2. Set up a local MongoDB instance on mongodb://127.0.0.1:27017.
  3. Clone and configure LibreChat, then add the following to librechat.yaml:
mcpServers:
  ipServer:
    url: http://localhost:3000/sse
    timeout: 60000
  1. Start Ollama on http://localhost:11434/ and download a model.
  2. In LibreChat (http://localhost:3080/), create an agent named "Ollama" with the ollama provider and selected model, then add the tools get-external-ip, get-local-ip-v6, get-external-ip-v6, and get-local-ip.
  3. Ask the agent for IP addresses (e.g., "what's my local ip address?").

Key features of Installation

  • Provides tools to get local and external IPv4/IPv6 addresses.
  • Integrates with LibreChat as an MCP server.
  • Communicates via SSE (Server-Sent Events).
  • Configurable timeout (default 60 seconds).
  • Works with any Ollama model.

Use cases of Installation

  • An AI agent tells a user their current local IP address.
  • An agent retrieves the external IPv4 or IPv6 address of the host.
  • A network troubleshooting workflow asks the agent for both local and external IPs.
  • A LibreChat agent assists with configuration tasks requiring IP information.

FAQ from Installation

What are the dependencies of Installation?

Installation requires Node.js, a local MongoDB server, LibreChat, and Ollama with at least one model downloaded.

How do I configure the Installation MCP server in LibreChat?

Add the mcpServers section to librechat.yaml with the URL http://localhost:3000/sse and an optional timeout.

What tools does Installation provide?

It provides four tools: get-external-ip, get-local-ip-v6, get-external-ip-v6, and get-local-ip.

What is the default port for Installation?

The server listens on port 3000 (http://localhost:3000/sse).

Does Installation require a specific Ollama model?

No, any Ollama model can be used. The README example lists qwen2.5:3b, mistral:7b, and gemma:7b.

评论

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