Generic MCP Server

Generic MCP Server

generic-mcp-server•bycsainath0210

A TypeScript and Express Server-Sent Events MCP server that exposes movie database resources, tools, and prompts to AI agents.

License: MIT•Runtime: Awaiting documentation review•Category: media design

WHAT IT DOES

  • •Implements MCP resources, tools, and prompts served over Server-Sent Events.
  • •Exposes MCP endpoints for SSE communication and client messages.
  • •Provides movie database tools to search people and discover films with filters.
  • •Integrates with The Movie Database (TMDB) API for film industry professional search and movie discovery.

BEST FOR

  • •Developers wanting a practical reference for exposing APIs to AI agents and LLMs via MCP.
  • •Building movie and film discovery experiences where agents search professionals and filter films.

ABOUT GENERIC-MCP-SERVER

Generic MCP Server is cataloged as an MCP server attributed to csainath0210. A TypeScript and Express Server-Sent Events MCP server that exposes movie database resources, tools, and prompts to AI agents. It is categorized under media design. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: MIT. Check the source repository's current license and terms before using, modifying or distributing this software.

能力检查器

能力定义尚未审核。未核验的采集内容不会作为可信接口展示。

Tools (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Resources (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Prompts (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for Generic MCP Server are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

What MCP components does the server expose?

It exposes resources such as a greeting and dynamic user data, tools for movie database person search and film discovery, and prompts for greetings, help, questions, and errors.

Which filtering options are available for discovering films?

Films can be filtered by cast, genres, release dates, ratings, crew members, keywords, companies, runtime, language, and monetization type.

上游原版 README

在 GitHub 查看同一版本原文

README.md · d0058ce9b8a1 · 采集于 2026-11-13 11:56:18 UTC

保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。

当前显示最后一次成功采集的文档快照,请以来源页面为准。

Generic MCP Server

A production-ready Model Context Protocol (MCP) server implementation built with TypeScript and Express, designed to seamlessly connect AI agents with external APIs.

Overview

This project demonstrates how to implement a Server-Sent Events (SSE) MCP server using the @modelcontextprotocol/sdk. It provides developers with a practical reference for exposing APIs to AI agents and Large Language Models (LLMs) with a focus on movie database interactions.

The implementation details can be found in src/mcp/tools.ts, src/mcp/prompts.ts, src/helpers/ directory, and related files.

What is MCP?

The Model Context Protocol (MCP) establishes a standardized interface for AI models to interact with external systems securely and efficiently. It defines a structured framework for:

  • Resources: Data objects that models can access
  • Tools: Executable functions that models can invoke
  • Prompts: Templates that guide model interactions

This standardization simplifies the integration of AI capabilities into existing applications and services.

For comprehensive documentation, visit the Model Context Protocol repository.

Key Features

  • Full implementation of the MCP specification
  • Real-time communication via Server-Sent Events (SSE)
  • Modular architecture for easy extension
  • Built-in movie database integration for searching people and discovering films
  • Type-safe interfaces for API responses
  • Comprehensive error handling
  • Example client for testing and reference

Prerequisites

  • Node.js 18 or higher
  • npm or yarn package manager

Getting Started

Installation

  1. Clone the repository:

    git clone https://github.com/yourusername/generic-mcp-server.git
    cd generic-mcp-server
    
  2. Install dependencies:

    npm install
    
  3. Configure your environment:

    cp .env.example .env
    
  4. Add your API credentials to the .env file:

    PORT=8089
    ACCESS_TOKEN=your_movie_db_access_token
    

Running the Server

Development mode with hot reloading:

npm run dev

Production mode:

npm run build
npm start

The server will be available at http://localhost:8089 (or the port specified in your .env file).

API Reference

Endpoints

EndpointMethodDescription
/sseGETServer-Sent Events endpoint for MCP communication
/messagesPOSTEndpoint for clients to send messages to the MCP server

MCP Components

Resources

  • greeting://welcome: Static welcome message
  • users://{userId}: Dynamic user data resource

Tools

The server implements powerful movie database tools:

  • movie_database_search_person: Search for actors, directors, and film professionals with detailed information about their careers, biographical data, and filmographies.
  • movie_database_discover_films: Advanced film discovery with filtering by cast, genres, release dates, ratings, and more.

Prompts

  • greeting: Friendly user greeting
  • help: Detailed command assistance
  • ask-question: Question template for guiding conversations
  • error: Graceful error handling prompt

Movie Database Features

The server provides access to The Movie Database (TMDB) API with the following capabilities:

  • Search for film industry professionals including actors and directors
  • Discover movies with extensive filtering options:
    • By release date, popularity, or rating
    • By cast or crew members
    • By genres, keywords, or companies
    • By runtime or language
    • By monetization type (free, subscription, rental, etc.)

Environment Configuration

VariableDescriptionDefault
PORTServer port number8089
ACCESS_TOKENAuthentication token for movie database APIrequired

Testing with the Example Client

The repository includes a demonstration client that shows how to connect to and interact with the MCP server:

npm run client

The client will:

  • Establish a connection to the server
  • Display available resources, tools, and prompts
  • Read the greeting resource
  • Demonstrate tool usage
  • Retrieve prompt templates

Integrating with AI Models

This server can be integrated with any LLM that supports the MCP protocol. The standardized interface ensures compatibility with various AI frameworks and platforms.

Architecture

The project follows a modular architecture:

  • src/mcp/: Core MCP protocol implementations
  • src/helpers/: API-specific helper functions
  • src/utils/: Utility functions and shared code
  • src/types.ts: TypeScript interface definitions

Available Interfaces

The project includes typed interfaces for API responses:

  • ApiResponse<T>: Generic API response wrapper with data, error, and status fields
  • ApiConfig: Configuration for API client with baseUrl and optional headers

These interfaces help ensure type safety when working with API data.

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

License

MIT

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for Generic MCP Server from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/generic-mcp-server)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

下载与拉取统计

来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。

尚无已审核的包 / 镜像标识,暂不展示下载统计。

Related media design MCP Servers

Alternative and complementary servers in the same category

View all in media design →

A Rust CAD application with an MCP server for creating, inspecting and rendering drawings, either headlessly or through a connection to the desktop app.

8K
Media & Design
Liquid Composer
liquid-composer•frontedu

Liquid Composer is a browser-based Liquid Glass icon design tool that offers a local MCP server for agent-driven icon workflows.

69
Media & Design

agent-media makes short drama series and other short vertical videos from Claude, ChatGPT or Codex through one MCP connection, with OAuth sign-in and no API keys.

1
Media & Design