Server Ngrok
БесплатноНе проверенExposes a local MCP server via ngrok with SSE and Streamable HTTP transports for use in Kiro Web.
Описание
Exposes a local MCP server via ngrok with SSE and Streamable HTTP transports for use in Kiro Web.
README
A local MCP (Model Context Protocol) server with SSE and Streamable HTTP transports, designed to be exposed via ngrok and used as a true MCP server in Kiro Web.
Quick Start
# 1. Install
npm install
# 2. Run the server
npm run dev
# 3. In another terminal, expose via ngrok
ngrok http 3000
Copy the ngrok HTTPS URL (e.g., https://abc123.ngrok-free.app).
Add to Kiro Web Config
{
"mcpServers": {
"my-local-server": {
"type": "sse",
"url": "https://YOUR-NGROK-URL.ngrok-free.app/sse"
}
}
}
Then start a new Kiro session - the AI will have access to all your custom tools!
Available Tools
| Tool | Description |
|---|---|
greet |
Generate a personalized greeting message |
get_current_time |
Get the current date/time (with optional timezone) |
calculate |
Perform arithmetic (add, subtract, multiply, divide) |
save_note |
Save a note with a key |
get_note |
Retrieve a saved note by key |
list_notes |
List all saved note keys |
system_info |
Get server system information |
Endpoints
| Endpoint | Method | Transport | Description |
|---|---|---|---|
/health |
GET | - | Health check |
/sse |
GET | SSE | SSE connection (legacy transport) |
/messages |
POST | SSE | SSE message handler |
/mcp |
POST | Streamable HTTP | Modern transport |
Adding Your Own Tools
Edit src/server.ts and add tools inside the createMcpServer() function:
server.registerTool(
"my_tool_name",
{
title: "My Tool",
description: "What this tool does",
inputSchema: {
param1: z.string().describe("Description of param1"),
param2: z.number().optional().describe("Optional param"),
},
},
async ({ param1, param2 }) => {
const result = `Got: ${param1}, ${param2}`;
return { content: [{ type: "text", text: result }] };
}
);
Architecture
┌─────────────────┐ ┌─────────────┐ ┌─────────────────────┐
│ Kiro Web │◀─────▶│ ngrok │◀─────▶│ Your Local Machine │
│ (AI Client) │ HTTPS │ tunnel │ HTTP │ MCP Server :3000 │
└─────────────────┘ └─────────────┘ └─────────────────────┘
Configuration
| Environment Variable | Default | Description |
|---|---|---|
PORT |
3000 |
Port the server listens on |
Security Notes
- Your ngrok URL is publicly accessible - keep it private
- For production, add authentication (API keys, OAuth)
- ngrok paid plans offer IP restrictions and fixed subdomains
License
MIT
Установка Server Ngrok
У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.
▸ github.com/ajitnk-lab/mcp-server-ngrokFAQ
Server Ngrok MCP бесплатный?
Да, Server Ngrok MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для Server Ngrok?
Нет, Server Ngrok работает без API-ключей и переменных окружения.
Server Ngrok — hosted или self-hosted?
Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.
Как установить Server Ngrok в Claude Desktop, Claude Code или Cursor?
Открой Server Ngrok на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
GitHub
PRs, issues, code search, CI status
автор: GitHubFilesystem
Secure file operations with configurable access controls.
Memory
Knowledge graph-based persistent memory system.
Template MCP Server
A CLI tool to create a new Model Context Protocol server project with TypeScript support, dual transport options, and an extensible structure
автор: mcpdotdirectCompare Server Ngrok with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории development
