Skip to main content
Glama
Sandeep-Petwal

MCP Server

Must read

https://github.com/modelcontextprotocol/typescript-sdk

Related MCP server: Weather MCP Server

View running process

netstat -ano | findstr 3000

Running the inspector

For stdio

bun run inspact

For http

npx @modelcontextprotocol/inspector http://localhost:3000/mcp

OR

Calling MCP Manually from Terminal

Get all tool list

{"jsonrpc":"2.0","id":1,"method":"tools/list"}

Get weather for a city

{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"get_weather","arguments":{"city":"Delhi"}}}

TOOL

The Model Context Protocol (MCP) allows servers to expose tools that can be invoked by language models. Tools enable models to interact with external systems, such as querying databases, calling APIs, or performing computations. Each tool is uniquely identified by a name and includes metadata describing its schema.

Tool calling (function calling from client)

Function Calling Diagram

Resource

The Model Context Protocol (MCP) provides a standardized way for servers to expose resources to clients. Resources allow servers to share data that provides context to language models, such as files, database schemas, or application-specific information. Each resource is uniquely identified by a URI.

Prompts

The Model Context Protocol (MCP) provides a standardized way for servers to expose prompt templates to clients. Prompts allow servers to provide structured messages and instructions for interacting with language models. Clients can discover available prompts, retrieve their contents, and provide arguments to customize them.

Complete MCP Guide

A
license - permissive license
-
quality - not tested
D
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.

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/Sandeep-Petwal/mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server