Skip to main content
Glama

API Integration MCP Server

by dianakrog

MCP Server Integrations with External APIs

This project demonstrates how to build and run custom MCP (Model Context Protocol) servers that connect external data sources—such as public APIs—directly into your developer environment using URI-like resource requests.

🔧 What This Project Does

  • Implements MCP servers using JavaScript and the @modelcontextprotocol/sdk package.
  • Connects to public APIs (e.g. Open-Meteo, AgroMonitoring) to fetch live data.
  • Defines resource() and tool() interfaces accessible via MCP URIs.
  • Enables structured responses directly inside tools that support MCP (like VS Code).
  • Uses GitHub Copilot to accelerate code generation and improve developer productivity.

🧪 Examples

  • greeting://maria → returns a dynamic greeting
  • agro://polygons → fetches polygon data from the AgroMonitoring API
  • weather://{city} (planned) → real-time weather info via Open-Meteo

🚀 Tech Stack

  • JavaScript (Node.js)
  • MCP SDK
  • Zod for schema validation
  • GitHub Copilot (for assisted code authoring)
  • APIs: Open-Meteo, AgroMonitoring, etc.

📦 How to Run

  1. Install dependencies:
    npm install
-
security - not tested
F
license - not found
-
quality - not tested

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

Connects external APIs like Open-Meteo and AgroMonitoring to your development environment through URI-like requests, allowing access to live data directly in MCP-compatible tools.

  1. 🔧 What This Project Does
    1. 🧪 Examples
      1. 🚀 Tech Stack
        1. 📦 How to Run

          Related MCP Servers

          • A
            security
            A
            license
            A
            quality
            An MCP server that provides real-time weather information including temperature, humidity, wind speed, and sunrise/sunset times through the OpenWeatherMap API.
            Last updated -
            1
            2
            Python
            MIT License
            • Linux
            • Apple
          • -
            security
            A
            license
            -
            quality
            A server that integrates the MCP library with OpenAI's API, allowing users to interact with various tools, such as the weather tool, through natural language queries.
            Last updated -
            Python
            MIT License
          • -
            security
            A
            license
            -
            quality
            An MCP server that connects to OpenWeatherMap's API to provide current weather data and multi-day forecasts for locations worldwide in different measurement units.
            Last updated -
            23
            TypeScript
            MIT License
          • A
            security
            F
            license
            A
            quality
            A simple MCP server that provides a tool to fetch current weather information for cities using the Open-Meteo API, communicating through stdin/stdout.
            Last updated -
            1
            2
            TypeScript

          View all related MCP servers

          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/dianakrog/mcpworkshop'

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