Skip to main content
Glama
gurdasnijor

Basic MCP Server

by gurdasnijor

Basic MCP Server

A minimal Model Context Protocol (MCP) server demonstrating tools, resources, and prompts.

Built with Smithery SDK

Prerequisites

Related MCP server: study-mcp

Getting Started

Installing via Smithery

To install Basic MCP Server automatically via Smithery:

npx -y @smithery/cli install @gurdasnijor/my-smithery-app

Manual Installation

  1. Install dependencies:

    npm install
  2. Start development server:

    npm run dev

Try the hello tool, history://hello-world resource, or greet prompt.

Development

Your code is organized as:

  • src/index.ts - MCP server with tools, resources, and prompts

  • smithery.yaml - Runtime specification

Edit src/index.ts to add your own tools, resources, and prompts.

Build

npm run build

Creates bundled server in .smithery/

Deploy

Ready to deploy? Push your code to GitHub and deploy to Smithery:

  1. Create a new repository at github.com/new

  2. Initialize git and push to GitHub:

    git add .
    git commit -m "Initial commit"
    git remote add origin https://github.com/YOUR_USERNAME/YOUR_REPO.git
    git push -u origin main
  3. Deploy your server to Smithery at smithery.ai/new

Learn More

Related MCP Connectors

Related MCP Servers

  • A
    license
    Not graded
    quality
    D
    maintenance
    A minimal template MCP server demonstrating basic tools, resources, and prompts functionality. Includes example implementations like a hello tool, history resource, and greet prompt for learning MCP development.
    3 npm
    ISC
  • F
    license
    Not graded
    quality
    D
    maintenance
    A simple MCP server demonstrating resources, tools, and prompts, including a greeting resource, an addition tool, and a calculation prompt.
    -
  • A
    license
    B
    quality
    D
    maintenance
    A toy MCP server for exploring Model Context Protocol capabilities, including resources, tools, and prompts.
    1
    Apache 2.0
  • A
    license
    Not graded
    quality
    D
    maintenance
    A minimal test MCP server built with TypeScript, demonstrating basic Model Context Protocol capabilities like tools, resources, and prompts.
    20 npm
    ISC