MCPSERV.CLUB
lucianoayres

Node.js MCP Server

MCP Server

Build custom AI tools in Node.js fast

Stale(60)
4stars
1views
Updated Sep 16, 2025

About

A lightweight Node.js implementation of an MCP server that exposes simple tools like addition and environment variable retrieval, enabling LLM-based IDEs to call them via standard I/O.

Capabilities

Resources
Access data sources
Tools
Execute functions
Prompts
Pre-built templates
Sampling
AI model interactions

AWS Strands Agents MCP Demo

The AWS Strands Agents MCP Demo showcases a complete Model Context Protocol (MCP) server that bridges the gap between AI assistants and real‑world data sources. By exposing Shutterstock’s image search API through a lightweight MCP interface, the server lets agents query for stock photos that match the user’s current location and weather conditions. This capability turns a generic AI assistant into a context‑aware media curator, enabling applications such as dynamic marketing content generation, personalized visual storytelling, or real‑time travel recommendations.

For developers building AI workflows, the server solves a common pain point: how to securely and efficiently pull external data into an agent’s reasoning loop. Instead of hard‑coding API calls or managing authentication manually, the MCP server encapsulates those details behind a standard protocol. Agents built with Strands Agents can simply request the “search‑photos” tool, provide a location and optional tags, and receive a structured list of image URLs. The server handles rate limiting, pagination, and error translation, freeing developers to focus on higher‑level logic.

Key features of the MCP server include:

  • Dual transport support – run locally over STDIO for quick prototyping or expose a streamable HTTP endpoint for distributed agents.
  • Automatic environment variable injection – the server reads API keys from the runtime context, simplifying deployment on CI/CD pipelines or container orchestrators.
  • Rich metadata output – each photo result contains title, description, license type, and direct download links, allowing agents to make informed decisions about usage rights.
  • Extensible tool registry – the server can be expanded to include additional services (e.g., weather, map, or video APIs) without changing the agent code.

Typical use cases include:

  • Travel assistants that suggest scenic photos based on current weather, enhancing itinerary plans with visual previews.
  • E‑commerce platforms that automatically fetch product‑aligned images for new listings, ensuring brand consistency.
  • Content creation pipelines where a writing agent can request images that match the narrative tone, streamlining editorial workflows.

Integration into an AI workflow is straightforward: a Strands Agent declares the required tools in its prompt, invokes the MCP server through the standard interface, and then uses the returned data to refine its response. Because MCP follows a declarative schema, agents can reason about tool availability, fallback strategies, and permission checks at runtime.

What sets this demo apart is its end‑to‑end orchestration. The same agent can query the National Weather Service for real‑time conditions, feed that data into the Shutterstock search tool, and then compose a cohesive reply that includes both weather insights and relevant imagery. This level of context‑aware automation demonstrates the true power of MCP-enabled agents, providing developers with a reusable pattern for building sophisticated, data‑driven AI applications.