独立运营 · 不出售排名位置  · 我们怎么评估工具 →
Anclum 提交收录
A

aashari/boilerplate-mcp-server

TypeScript MCP boilerplate with an IP lookup

装之前:没有可直接复制的命令 · 许可证未标注 · 链接可访问

第一步:git clone https://github.com/aashari/boilerplate-mcp-server.git

在 GitHub 查看 ↗链接已于 2026-11-12 核查 · HTTP 200 · 打开的是厂商自己的官网

我们没有从该仓库取到可核对的安装命令,也没有公开的远端端点。这两样都没有时,我们不出配置——编一条出来比不给更糟。 各客户端的接法 →

来源明细
收录自 abordage/awesome-mcp 榜单(我们从中收集的条目之一) · 条目类型:MCP 服务
收录与活跃
收录于 2026-11-05 · 最近见到 2026-11-14 · 共见到 10 次 · 被 10 个来源列出
评分构成
综合分 1,003 · 10 个来源 · mcp
常见问题(答案都来自我们的记录)
它适合谁 / 用来做什么?
我们把它归在这些标签下: MCP 服务。标签来自条目自身,不是我们强加的分类。
谁维护它、还在更新吗?
我们收录于 2026-11-05;最近见到 2026-11-14。这里没有"官方认证"或"质量评级"——我们只记录来源与时间。

# Boilerplate MCP Server

以下摘录自该仓库的 README(片段) · 在 GitHub 读完整 README →

A production-ready foundation for developing custom Model Context Protocol (MCP) servers in TypeScript. Provides a complete layered architecture pattern, working example implementation, and comprehensive developer infrastructure to connect AI assistants with external APIs and data sources.
> Latest Update (Feb 2026): Updated to MCP SDK 1.26.0 and Zod 4.3.6 with continued modern registerTool patterns and streamable HTTP improvements. See docs/MODERNIZATION.md for details.
## Features
Security First: DNS rebinding protection, localhost-only binding, secure error handling
Dual Transport Support: STDIO and Streamable HTTP transports with automatic fallback
Layered Architecture: Clean separation between CLI, tools, resources, prompts, controllers, services, and utilities
Type Safety: Full TypeScript implementation with Zod v4.3.6 schema validation
All MCP Primitives: Tools, resources, and prompts (with examples)
ResourceLink Pattern: Token-efficient resource references for large responses
TOON Output Format: Token-Oriented Object Notation for 30-60% fewer tokens than JSON
JMESPath Filtering: Extract only needed fields from responses to reduce token costs
Raw Response Logging: Automatic logging of large API responses to /tmp/mcp/ / with truncation guidance
Modern SDK: Uses MCP SDK v1.26.0 with registerTool API pattern (ready for v2 migration)
Complete IP Address Example: Tools, resources, prompts, and CLI commands for IP geolocation
Comprehensive Testing: Unit and integration tests with coverage reporting (47 tests passing)
Production Tooling: ESLint, Prettier, semantic-release, and MCP Inspector integration
Error Handling: Structured error handling with isError field and contextual logging
Security Documentation: Complete SECURITY.md with authentication implementation guides
## What is MCP?
Model Context Protocol (MCP) is an open standard for securely connecting AI systems to external tools and data sources. This boilerplate implements the MCP specification with a clean, layered architecture that can be extended to build custom MCP servers for any API or data source.
## Prerequisites
Node.js (>=20.x): Download
Git: For version control
## Quick Start
bash
# Clone the repository
git clone https://github.com/aashari/boilerplate-mcp-server.git
cd boilerplate-mcp-server
# Install dependencies
npm install
# Build the project
npm run build
# Run in different modes:
# 1. CLI Mode - Execute commands directly
npm run cli -- get-ip-details 8.8.8.8
npm run cli -- get-ip-details # Get your current IP
npm run cli -- get-ip-details 1.1.1.1 -e # With extended data
npm run cli -- get-ip-details 8.8.8.8 --jq "{ip: query, country: country}" # JMESPath filter
npm run cli -- get-ip-details 8.8.8.8 -o json # JSON output
# 2. STDIO Transport - For AI assistant integration (Claude Desktop, Cursor)
npm run mcp:stdio
# 3. HTTP Transport - For web-based integrations
npm run mcp:http
# 4. Development with MCP Inspector
npm run mcp:inspect # Auto-opens browser with debugging UI
## Transport Modes
### STDIO Transport
JSON-RPC communication via stdin/stdout
Used by Claude Desktop, Cursor AI, and other local AI assistants
Run with: TRANSPORTMODE=stdio node dist/index.js
收录徽章(可选)
想把收录标记放进 README 就复制这行,可选,不影响收录。
[![Listed on Anclum](https://anclum.com/badge/listed.svg)](https://anclum.com/zh/s/aashari-boilerplate-mcp-server/)
来源
awesome · https://github.com/aashari/boilerplate-mcp-server
按领域浏览
MCP 服务
收录来源
10 个独立来源
收录于
今天

同类推荐

全部 6,229 →

所属领域与标签

每个标签都能点进去看同类的全部条目。数字是当前库里的真实条数。

浏览全部领域 →

← 返回索引