Index Network MCP Server

Index Network MCP Server

Enables ChatGPT integration with Index Network's discovery protocol through MCP tools. Provides quick setup with ngrok tunneling for public access and includes health check, echo, and search functionality.

Category
Visit Server

README

Index Network MCP Server

A Model Context Protocol (MCP) server that enables ChatGPT integration with Index Network's discovery protocol.

Features

  • 🚀 Quick Setup: One-command startup with included script
  • 🔧 MCP Tools: Health check, echo, and search functionality
  • 🌐 Public Access: Built-in ngrok integration for external access
  • 🧪 Testing: MCP Inspector integration for easy testing

Quick Start

Prerequisites

Installation

# Clone and setup
git clone https://github.com/indexnetwork/mcp.git
cd mcp
npm install

# Configure environment
cp env.example .env
# Edit .env with your ngrok authtoken

Run Everything at Once

# Start server, ngrok tunnel, and inspector
./src/start-mcp.sh

The script will:

  • Start the MCP server on port 3002
  • Create an ngrok tunnel (public URL)
  • Launch MCP Inspector for testing
  • Display all URLs and process IDs

Manual Setup (Alternative)

# Terminal 1: Start server
npm run dev

# Terminal 2: Create tunnel
ngrok http 3002

# Terminal 3: Test with inspector
npx @modelcontextprotocol/inspector@latest
# Enter: http://localhost:3002/mcp

Configuration

Environment Variables

Variable Description Default
MCP_SERVER_PORT Server port 3002
NGROK_AUTHTOKEN ngrok auth token Required
NODE_ENV Environment development

ngrok Setup

  1. Get your authtoken from ngrok dashboard
  2. Add to .env:
    NGROK_AUTHTOKEN=your_token_here
    

Available Tools

health-check

Check server status.

echo

Echo back a message.

search

Search functionality (demo implementation).

ChatGPT Integration

  1. Run the startup script: ./src/start-mcp.sh
  2. Copy the ngrok URL from the output (e.g., https://abc123.ngrok-free.dev/mcp)
  3. Configure ChatGPT to use this MCP server URL

Development

Project Structure

mcp/
├── src/
│   ├── server.ts          # MCP server implementation
│   └── start-mcp.sh       # Startup script
├── docs/                  # Documentation
├── package.json           # Dependencies
└── README.md             # This file

Adding Tools

server.registerTool("my-tool", {
  title: "My Tool",
  description: "Tool description",
  inputSchema: z.object({
    input: z.string()
  })
}, async (params) => ({
  content: [{ type: "text", text: "Result" }],
  _meta: { "openai/widgetAccessible": true }
}));

Building

npm run build    # Compile TypeScript
npm start        # Run production build

Troubleshooting

Script won't run

  • Make executable: chmod +x src/start-mcp.sh
  • Check Node.js version: node --version (needs 18+)

ngrok errors

  • Verify authtoken in .env
  • Check if port 3002 is available

MCP Inspector issues

  • Ensure server is running first
  • Use correct URL: http://localhost:3002/mcp

Links

License

MIT License - see LICENSE for details.

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured