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

          • -
            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 -
            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 -
            14
            MIT License
          • -
            security
            F
            license
            -
            quality
            A bridge allowing AI/LLMs to seamlessly interact with external APIs for weather, finance, and news services through a standardized MCP-compliant interface.
            Last updated -
          • A
            security
            F
            license
            A
            quality
            Enables automatic weather information retrieval through a custom MCP server integrated with OpenAI using Cloudflare tunnels. Demonstrates seamless function calling between OpenAI and custom MCP tools without manual intervention.
            Last updated -
            1

          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