Related MCP Server Resources

Explore more AI models, providers, and integration options:

  • Explore AI Models
  • Explore AI Providers
  • Explore MCP Servers
  • LangDB Pricing
  • Documentation
  • AI Industry Blog
  • Image Processor MCP Server
  • sanderkooger-mcp-server-ragdocs
  • Xano MCP Server
  • HeFeng Weather MCP Server
  • Kali Linux MCP Server
Back to MCP Servers
Countries MCP Server

Countries MCP Server

Public
Pedrohmlara/countries-mcp

Provides country-related data via Model Context Protocol (MCP) using REST Countries API, supporting session-based context management with TypeScript, Express, and Docker for scalable deployment.

typescript
0 tools
May 30, 2025
Updated Jun 4, 2025

Supercharge Your AI with Countries MCP Server

MCP Server

Unlock the full potential of Countries MCP Server through LangDB's AI Gateway. Get enterprise-grade security, analytics, and seamless integration with zero configuration.

Unified API Access
Complete Tracing
Instant Setup
Get Started Now

Free tier available • No credit card required

Instant Setup
99.9% Uptime
10,000+Monthly Requests

Countries MCP

This project implements a Model Context Protocol (MCP) server that provides country-related data using the REST Countries API. It's built using TypeScript and Express, with Docker support for easy deployment.

Prerequisites

  • Node.js (v14 or higher)
  • Docker and Docker Compose
  • npm or yarn package manager

Installation

  1. Install dependencies:
npm install
  1. Add a .env file in the root directory as .example shows

Running the Application

Development Mode

npm run dev

Production Mode

  1. Build the application:
npm run build
  1. Start the server:
npm start

Using Docker

  1. Build and run using Docker Compose:
docker-compose up --build

API Documentation

Endpoints

POST /mcp

Main endpoint for MCP communication.

Headers:

  • Accept: application/json, text/event-stream
  • mcp-session-id: Session identifier (null for new sessions)

Initial Request:

  • First request should not include a session ID
  • Server will respond with a new session ID in the mcp-session-id header

Subsequent Requests:

  • Include the session ID received from the initial request
  • Maintains the session context for continued interaction
Publicly Shared Threads0

Discover shared experiences

Shared threads will appear here, showcasing real-world applications and insights from the community. Check back soon for updates!

Share your threads to help others
Related MCPs5
  • Image Processor MCP Server
    Image Processor MCP Server

    A TypeScript-based Model Context Protocol server enabling creation, access, and summarization of tex...

    2 tools
    Added May 30, 2025
  • sanderkooger-mcp-server-ragdocs
    sanderkooger-mcp-server-ragdocs

    Provides vector-based semantic search and real-time context augmentation for AI assistants by retrie...

    Added May 30, 2025
  • Xano MCP Server
    Xano MCP Server

    Python-based Model Context Protocol server enabling AI assistants to securely interact with Xano ins...

    Added May 30, 2025
  • HeFeng Weather MCP Server
    HeFeng Weather MCP Server

    Provides real-time and extended weather forecasts for locations in China using Model Context Protoco...

    1 tools
    Added May 30, 2025
  • Kali Linux MCP Server
    Kali Linux MCP Server

    A Kali Linux-based Model Context Protocol (MCP) server enabling execution of returnable commands for...

    5 tools
    Added May 30, 2025