MCP.so
Sign In
Servers

Installation

@dev-johnny-gh

Overview

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.

More from Other