creating-your-first-mcp-server
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
What is MCP?
The Model Context Protocol is an open standard for how apps give LLMs context. An MCP server exposes capabilities; an MCP client (like Claude) discovers and uses them. Write a server once, and any MCP client can plug into it.
Related MCP server: Node.js MCP Server
The building blocks
What | |
Tools | executable functions the model can call — this repo ships |
Resources | structured data exposed by URI (files, records, APIs) |
Prompts | reusable, parameterized prompt templates |
Quick start
git clone https://github.com/ry-ops/creating-your-first-mcp-server.git
cd creating-your-first-mcp-server
npm install
npm run build
npm start # run the server (stdio)
npm run example # run the example client against itThen point an MCP client at it. For Claude Desktop, add to claude_desktop_config.json:
{
"mcpServers": {
"first-server": {
"command": "node",
"args": ["/absolute/path/to/creating-your-first-mcp-server/dist/index.js"]
}
}
}Build your own tool
Add a file under src/tools/ alongside calculator.ts, file-ops.ts and weather.ts, register it in src/index.ts, and rebuild. The examples/client.ts shows how to list and call tools.
Learn the concepts
MCP-CONCEPTS.md — servers, clients, tools, resources, prompts
TOOL-DEVELOPMENT.md — writing a tool
INTEGRATION.md — connecting clients
Building on the SDK directly? The Claude API docs cover MCP and the tool-use loop.
License
MIT. See LICENSE.
This server cannot be deployed
Maintenance
Related MCP Connectors
This MCP server enables users to perform scientific computations regarding linear algebra and vect…
Hosted MCP server for Xweather weather data: conditions, forecasts, alerts, and more.
An MCP server for weather information by @kulybaba
An MCP server for weather information by @kulybaba
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceA basic educational MCP server that provides simple tools for mathematical calculations, text manipulation, and time retrieval. Designed for learning MCP implementation patterns and development purposes.-
- AlicenseNot gradedqualityDmaintenanceA comprehensive MCP server that enables file operations, mathematical calculations with unit conversions, and system information retrieval. Provides secure access to local file system, calculator functions with statistics, and system monitoring capabilities.8 npmISC
- FlicenseDqualityNot gradedmaintenanceEnables weather data retrieval and analysis through an MCP server interface with support for local file operations.1-
- FlicenseNot gradedqualityDmaintenanceProvides tools for calculating math expressions and querying weather, demonstrating how to build an MCP server using FastMCP or raw SDK.-