Skip to main content
Glama
dianakrog

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.

Related MCP server: Multi-MCPs

🧪 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

Related MCP Connectors

Related MCP Servers

  • A
    license
    A
    quality
    D
    maintenance
    A Model Context Protocol server that enables AI assistants to make HTTP requests (GET, POST, PUT, DELETE) to external APIs through standardized MCP tools.
    4
    2
    MIT
  • A
    license
    C
    quality
    D
    maintenance
    Aggregates multiple third-party APIs into unified MCP tools, providing out-of-the-box access to 10 popular services including OpenWeather, Google Maps, GitHub, Notion, Spotify, and more. Enables users to interact with weather data, search places, manage repositories, create content, and access various web services through a single MCP server.
    34
    MIT
  • A
    license
    Not graded
    quality
    C
    maintenance
    A unified MCP server providing AI agents with 40+ developer APIs including geolocation, crypto prices, DNS lookup, and web scraping. Enables natural language access to various tools through a single gateway.
    1
    MIT