MCP Starter Server
MCP Starter Server (TypeScript)
一个使用官方 @modelcontextprotocol/sdk 构建于 Node.js / TypeScript 的入门级 Model Context Protocol (MCP) 服务器。
功能
🛠️ 工具:
add_numbers:将两个数字相加并返回格式化结果。get_system_status:返回系统运行时间、平台、Node 版本和时间戳。
📄 资源:
info://welcome:提供欢迎信息的文本资源。config://app-settings:暴露服务器配置设置的 JSON 资源。
💡 提示:
code_review:用于结构化代码审查请求的提示模板。summarize_notes:用于将会议记录总结为要点的提示模板。
Related MCP server: MCP AI Chat LangChain
快速开始
1. 安装依赖
npm install2. 构建服务器
npm run build这会将 TypeScript 源代码从 src/ 编译到 dist/index.js。
3. 以开发模式运行
npm run dev4. 使用 MCP Inspector 进行测试
您可以使用官方 MCP Inspector 直观地测试并与您的工具、资源和提示进行交互:
npx @modelcontextprotocol/inspector node dist/index.js与 MCP 客户端集成
Antigravity / Claude Desktop / Cursor 配置
将此服务器添加到您客户端的 MCP 服务器配置文件中(例如 mcp_config.json 或 claude_desktop_config.json):
{
"mcpServers": {
"starter-mcp-server": {
"command": "node",
"args": [
"C:/Users/naska/coding/dev/mcp-temp/dist/index.js"
]
}
}
}目录结构
.
├── src/
│ └── index.ts # Main MCP Server implementation (Tools, Resources, Prompts)
├── dist/ # Compiled JavaScript outputs (generated on build)
├── package.json # Dependencies and build scripts
├── tsconfig.json # TypeScript compiler settings
└── README.md # DocumentationMaintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Tools
Related MCP Servers
- FlicenseNot gradedqualityFmaintenanceThis server implements the Model Context Protocol to facilitate meaningful interaction and understanding development between humans and AI through structured tools and progressive interaction patterns.57
- FlicenseNot gradedqualityDmaintenanceA basic Model Context Protocol server implementation that demonstrates core functionality including tools and resources for AI chat applications.
- FlicenseNot gradedqualityNot gradedmaintenanceA demonstration MCP server that provides calculator tools for arithmetic operations, personalized greeting resources, and code review prompt templates. Enables users to perform basic math calculations, generate dynamic greetings, and access reusable code review templates through the Model Context Protocol.
- FlicenseCqualityDmaintenanceA Model Context Protocol server that provides tools for mathematical calculations and directory listing, alongside prompt templates for code reviews and explanations. It enables file system access and resource reading through stdio transport.2
Related MCP Connectors
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
A Model Context Protocol server for Wix AI tools
AI Reasoning Cache & Consensus Layer with 11 MCP tools via Streamable HTTP.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/askarthikey/mcp-prac'
If you have feedback or need assistance with the MCP directory API, please join our Discord server