Model-Context-Protocol -
Definitive Guide on MCP. The Model Context Protocol (MCP) is an open-source, open standard framework introduced by Anthropic on November 25, 2024. It fundamentally standardizes how artificial intelligence (AI) systems, particularly Large Language Models (LLMs), integrate and communicate with external tools, data sources, and services.
claude mcp add --transport http hemakumar0077-model-context-protocol-mcp- https://mcp.stripe.com
How to use
This MCP server setup demonstrates a local weather MCP service and a Stripe API MCP bridge. The local-weather server exposes a weather-fetching tool that your MCP host can call to retrieve current weather data for a given city. The stripe-api server provides a unified MCP endpoint to interact with Stripe-like capabilities (e.g., payment intents, customer data) through the MCP protocol. Use the MCP client tooling to discover available tools, initialize connections, and then invoke the desired tool calls, receiving structured results that can be integrated into your AI workflows. The environment is designed to minimize bespoke integration logic by leveraging the standardized JSON-RPC primitives and the MCP tool discovery flow.
How to install
Prerequisites
- Node.js (recommended LTS) and npm installed on your system
- Basic familiarity with JSON-RPC and MCP concepts
- Prepare your environment
- Install Node.js from https://nodejs.org
- Ensure npm is up to date: npm install -g npm
- Clone or download the MCP server repository (or use your existing project that implements MCP servers)
- git clone https://github.com/hemakumar0077-model-context-protocol-mcp-/repo-name
- cd repo-name
- Install dependencies
- npm install
- Run individual MCP servers
- For the local weather server:
- Ensure weather-server.js exists at the specified path (/path/to/weather-server.js)
- Start: node /path/to/weather-server.js
- For the Stripe-like MCP bridge:
- Ensure any required environment/config is provided (e.g., API keys)
- Start: node path/to/stripe-mcp-bridge.js (adjust as per your project)
- Register MCP servers with the client config
- Create or edit mcp.json (or your preferred config) to include: { "mcpServers": { "local-weather": { "command": "node", "args": ["/path/to/weather-server.js"] }, "stripe-api": { "url": "https://mcp.stripe.com", "auth": { "type": "bearer", "token": "your-api-key" } } } }
- Run the MCP host/client that loads the configuration
- Example (in code): load mcp.json and initialize connections to the servers
- Alternatively, run any provided inspector or SDK tooling to test tool discovery and calls
Additional notes
Tips and caveats:
- Ensure the command paths and URLs in mcp.json are accessible from the host environment.
- For services that require authentication (e.g., Stripe-like bridge), securely manage API keys and avoid hard-coding secrets in code or config files.
- Use the MCP Inspector or similar debugging tools to verify tool discovery and call flows before integrating into user-facing AI workflows.
- If a server goes offline, implement a graceful retry strategy and proper error handling in the MCP client to avoid cascading failures in your host application.
Related MCP Servers
Remote
A type-safe solution to remote MCP communication, enabling effortless integration for centralized management of Model Context.
boilerplate
TypeScript Model Context Protocol (MCP) server boilerplate providing IP lookup tools/resources. Includes CLI support and extensible structure for connecting AI systems (LLMs) to external data sources like ip-api.com. Ideal template for creating new MCP integrations via Node.js.
mcp -templates
A flexible platform that provides Docker & Kubernetes backends, a lightweight CLI (mcpt), and client utilities for seamless MCP integration. Spin up servers from templates, route requests through a single endpoint with load balancing, and support both deployed (HTTP) and local (stdio) transports — all with sensible defaults and YAML-based configs.
mcp-chat-widget
Configure, host and embed MCP-enabled chat widgets for your website or product. Lightweight and extensible Chatbase clone to remotely configure and embed your agents anywhere.
vscode-context
MCP Server to Connect with VS Code IDE
Email MCP server with full IMAP + SMTP support — read, search, send, manage, and organize email from any AI assistant via the Model Context Protocol