Skip to main content
Glama
mohanaprasanthk

Movie Search MCP Server

๐ŸŽฌ Movie Search MCP Server

A simple Model Context Protocol (MCP) server built with the official MCP TypeScript SDK.

This project demonstrates how to create a custom MCP server, register tools, validate input using Zod, and test everything using the MCP Inspector.


๐Ÿš€ Features

  • Search movies by title

  • JSON-based movie database

  • Input validation using Zod

  • MCP Tool registration

  • STDIO transport

  • Tested using MCP Inspector


Related MCP server: xmcp Application

๐Ÿ› ๏ธ Tech Stack

  • Node.js

  • MCP SDK

  • Zod

  • JavaScript (ES Modules)

  • MCP Inspector


๐Ÿ“ Project Structure

movie-search-mcp-server/
โ”‚
โ”œโ”€โ”€ tools/
โ”‚   โ””โ”€โ”€ searchMovie.js
โ”œโ”€โ”€ movies.json
โ”œโ”€โ”€ server.js
โ”œโ”€โ”€ package.json
โ””โ”€โ”€ README.md

๐Ÿ“ฆ Installation

Clone the repository

git clone https://github.com/YOUR_USERNAME/movie-search-mcp-server.git

Go to the project

cd movie-search-mcp-server

Install dependencies

npm install

Run the server

npm start

๐Ÿงช Testing

Launch MCP Inspector

npx @modelcontextprotocol/inspector@latest

Connect using

  • Transport: STDIO

  • Command: node

  • Arguments: server.js


๐Ÿ“Œ Example Tool

searchMovie

Input

{
  "title": "Leo"
}

Output

{
  "found": true,
  "movie": {
    "title": "Leo",
    "year": 2023,
    "language": "Tamil",
    "hero": "Vijay"
  }
}

๐Ÿ“š Concepts Learned

  • Model Context Protocol (MCP)

  • MCP Server

  • MCP Tools

  • STDIO Transport

  • Zod Validation

  • JSON Data Handling

  • MCP Inspector

  • Node.js File System


๐Ÿ‘จโ€๐Ÿ’ป Author

Mohanaprasanth K

A
license - permissive license
-
quality - not tested
C
maintenance

Maintenance

โ€“Maintainers
โ€“Response time
โ€“Release cycle
โ€“Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • F
    license
    -
    quality
    D
    maintenance
    A Model Context Protocol (MCP) server template designed for building structured tools, prompts, and resources with built-in support for HTTP and STDIO transports. It provides a standardized framework for developers to create and deploy AI-driven services using TypeScript and Zod schema validation.
    Last updated
    15
  • F
    license
    -
    quality
    D
    maintenance
    A minimal and extensible local MCP server that provides core utilities like ping and echo alongside a file search tool integrated with the Everything CLI. It enables fast local file searching and service testing through a standardized stdio transport layer.
    Last updated

View all related MCP servers

Related MCP Connectors

  • OMDb MCP โ€” IMDB-derived movie / TV / episode data (BYO key)

  • Local-first RAG engine with MCP server for AI agent integration.

  • MCP (Model Context Protocol) server for Appwrite

View all MCP Connectors

Latest Blog Posts

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/mohanaprasanthk/MCP-Movie-Search'

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