Skip to main content
Glama
askarthikey

MCP Starter Server

by askarthikey

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 install

2. 构建服务器

npm run build

这会将 TypeScript 源代码从 src/ 编译到 dist/index.js

3. 以开发模式运行

npm run dev

4. 使用 MCP Inspector 进行测试

您可以使用官方 MCP Inspector 直观地测试并与您的工具、资源和提示进行交互:

npx @modelcontextprotocol/inspector node dist/index.js

与 MCP 客户端集成

Antigravity / Claude Desktop / Cursor 配置

将此服务器添加到您客户端的 MCP 服务器配置文件中(例如 mcp_config.jsonclaude_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           # Documentation
Install Server
F
license - not found
A
quality
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • F
    license
    Not graded
    quality
    Not graded
    maintenance
    A 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.
  • F
    license
    C
    quality
    D
    maintenance
    A 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

View all related MCP servers

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.

View all MCP Connectors

Latest Blog Posts

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