Skip to main content
Glama

Minimal MCP server with a skill

One greet tool and one bundled skills/greet-user/SKILL.md, served over stdio. Uses the MCP TypeScript SDK v2 and the Skills extension (SEP-2640).

Requires Node.js 22 or later:

npm install
node server.js

The server waits for MCP messages on stdin. Add it to your MCP client's server configuration, replacing the absolute path:

{
  "mcpServers": {
    "skills-example": {
      "command": "node",
      "args": ["/absolute/path/to/mcp-skills/server.js"]
    }
  }
}

The server declares capabilities.extensions["io.modelcontextprotocol/skills"]:

  • skills/list discovers the skill, frontmatter, file size, and SHA-256 digest.

  • skills/get takes { "uri": "skill://greet-user/SKILL.md" } and returns that skill's metadata.

  • resources/read takes the same URI and returns the actual SKILL.md.

  • tools/call with { "name": "greet", "arguments": { "name": "Jerric" } } returns Hello, Jerric!.

Automatic skill loading requires a client that supports the Skills extension. Other clients can access the Markdown as an ordinary MCP resource.

Run npm pack to create a distributable package containing both the server and its skill. Skill contents are loaded at startup; restart after editing them.

Related MCP Connectors

Related MCP Servers

  • A
    license
    Not graded
    quality
    B
    maintenance
    A simple MCP server that exposes a 'greet' tool which returns a friendly greeting for a given name.
    5 npm
    ISC
  • A
    license
    Not graded
    quality
    C
    maintenance
    Turns any folder of agent skills into a live MCP server, exposing skills_list, skills_get, and skills_search tools with zero-dependency stdio support.
    MIT
  • F
    license
    Not graded
    quality
    C
    maintenance
    Provides a minimal OpenAI Plugin MCP server that exposes a read-only greeting tool over Streamable HTTP, useful for verifying local MCP connections and ChatGPT Work plugin integration.
    -
  • F
    license
    Not graded
    quality
    C
    maintenance
    Enables a simple greeting tool over MCP, demonstrating schema validation and transport communication.
    -