Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save ObjectIsAdvantag/b7b278d68b725a8a5fdd2ad103131049 to your computer and use it in GitHub Desktop.

Select an option

Save ObjectIsAdvantag/b7b278d68b725a8a5fdd2ad103131049 to your computer and use it in GitHub Desktop.
IMT MCP Class May 2026
Welcome everyone!
@ObjectIsAdvantag

Copy link
Copy Markdown
Author

bonjour à tous

@lgfquentin

Copy link
Copy Markdown

hello

@ysayad

ysayad commented May 28, 2026

Copy link
Copy Markdown

welcome

@NathanFouere

Copy link
Copy Markdown

hello

@ObjectIsAdvantag

ObjectIsAdvantag commented May 28, 2026

Copy link
Copy Markdown
Author
{
		"Memory": {
			"type": "stdio",
			"command": "npx",
			"args": [
				"-y",
				"@modelcontextprotocol/server-memory"
			],
			"env": {
				"MEMORY_FILE_PATH": "/home/daggit/memory.json"
			}
		}
	},

@ObjectIsAdvantag

Copy link
Copy Markdown
Author

npx -y @modelcontextprotocol/server-memory

@ObjectIsAdvantag

ObjectIsAdvantag commented May 28, 2026

Copy link
Copy Markdown
Author

Follow these steps for each interaction:

  1. User Identification:

    • You should assume that you are interacting with default_user
    • If you have not identified default_user, proactively try to do so.
  2. Memory Retrieval:

    • Always begin your chat by saying only "Remembering..." and retrieve all relevant information from your knowledge graph
    • Always refer to your knowledge graph as your "memory"
  3. Memory

    • While conversing with the user, be attentive to any new information that falls into these categories:
      a) Basic Identity (age, gender, location, job title, education level, etc.)
      b) Behaviors (interests, habits, etc.)
      c) Preferences (communication style, preferred language, etc.)
      d) Goals (goals, targets, aspirations, etc.)
      e) Relationships (personal and professional relationships up to 3 degrees of separation)
  4. Memory Update:

    • If any new information was gathered during the interaction, update your memory as follows:
      a) Create entities for recurring organizations, people, and significant events
      b) Connect them to the current entities using relations
      c) Store facts about them as observations

@ObjectIsAdvantag

Copy link
Copy Markdown
Author

@ObjectIsAdvantag

Copy link
Copy Markdown
Author

MCP Inspector: npx @modelcontextprotocol/inspector

@ysayad

ysayad commented May 28, 2026

Copy link
Copy Markdown

@clemrep

clemrep commented May 28, 2026

Copy link
Copy Markdown

FOAT

@ysayad

ysayad commented May 28, 2026

Copy link
Copy Markdown

API key : e77611e1

@ysayad

ysayad commented May 28, 2026

Copy link
Copy Markdown

create a new MCP using typescript called MovieStore with one tool searchMovies avec parametres actor ou title
utilise l'api OMDB https://www.omdbapi.com/ avec la clé e77611e1
fais attention à bien utiliser un SDK server qui utilise les specifications de novembre 2025
crée moi d'abord un plan de design dans un .md
quand tu n'as pas la réponse à une des questions que tu poses demande la moi
MAKE NO MISTAKES

@ObjectIsAdvantag

Copy link
Copy Markdown
Author

@ObjectIsAdvantag

Copy link
Copy Markdown
Author

MCP Server design and implementation

--
I am running an engineering school class about MCP Servers, we are at the stage of building an MCP Server example. We chose to create a MovieStore MCP Server, with one tool called searchStories, the tool accepts 2 optional parameters: movie_title and actors, actors is an array of actor first name.
We will use the November 2025 specifications of MCP, and we will generate code in TypeScript. Make sure to use the official typescript SDK of MCP, and with the correct version of November 2025. I want you to create a design document first before implementing, you should receive my go. also if you have any questions, ask me, do not guess, I must ack every technical and design choice.

I am planning to use the OMDb public API , the key information is below as well as the access information

--
Here is your key: ce5124b8

Please append it to all of your API requests,

OMDb API: http://www.omdbapi.com/?i=tt3896198&apikey=ce5124b8

I will copy page the API reference documentation below
Please create a design document in docs/ called design.md with the choices we made

OMDb API
https://www.omdbapi.com/

The Open Movie Database

The OMDb API is a RESTful web service to obtain movie information, all content and images on the site are contributed and maintained by our users.

If you find this service useful, please consider making a one-time donation or become a patron.

Poster API
The Poster API is only available to patrons.

Currently over 280,000 posters, updated daily with resolutions up to 2000x3000.

Sponsors
Emby, Trakt, FileBot, Reelgood, Xirvik Servers, Yidio, mi.tv, Couchpop, Edu Reviewer, Flixboss, Scripts on Screen, Topagency.webflow.io, Ramotion.com, Phone Trackers, Classics on DVD, Streaming App, How to make a FinTech app, Vid2 - Create movie lists with AI, Popflick, Custom Couch, TV.GURU, Deploy Vision - Nearshore Software Development, Phictly, DoMyEssay, EssayPro, HomeworkGuy, The Streaming Codex, WriteMyEssay, RateSnap
Usage
Send all data requests to:

http://www.omdbapi.com/?apikey=[yourkey]&

Poster API requests:

http://img.omdbapi.com/?apikey=[yourkey]&
Parameters
By ID or Title
Parameter Required Valid Options Default Value Description
i Optional* A valid IMDb ID (e.g. tt1285016)
t Optional* Movie title to search for.
type No movie, series, episode Type of result to return.
y No Year of release.
plot No short, full short Return short or full plot.
r No json, xml json The data type to return.
callback No JSONP callback name.
v No 1 API version (reserved for future use).
*Please note while both "i" and "t" are optional at least one argument is required.
By Search
Parameter Required Valid options Default Value Description
s Yes Movie title to search for.
type No movie, series, episode Type of result to return.
y No Year of release.
r No json, xml json The data type to return.
page New! No 1-100 1 Page number to return.
callback No JSONP callback name.
v No 1 API version (reserved for future use).

Examples
By Title
Title:
Year:
Plot:
Short
Response:
JSON
Search Reset
By ID
ID:
IMDb ID
Plot:
Short
Response:
JSON
Search Reset

Change Log
04/08/19
Added support for eight digit IMDb IDs.
01/20/19
Supressed adult content from search results.
01/20/19
Added Swagger files (YAML, JSON) to expose current API abilities and upcoming REST functions.
11/02/17
FREE KEYS! The "open" API is finally open again!
08/20/17
I created a GitHub repository for tracking bugs.
05/10/17
Due to some security concerns on how the keys were being distributed I updated the form to email them and also changed the algorithm used, which means your older keys not obtained through email will eventually stop working.
01/12/17
Removed single character restriction from title/search results.
06/11/16
"totalSeasons" count has been added to series results.
1/20/16
To accommodate search paging "totalResults" is now returned at the root level.
12/12/15
Search pagination added: http://www.omdbapi.com/?s=Batman&page=2
11/16/15
Season+Episode now works with "i" parameter: http://www.omdbapi.com/?i=tt0944947&Season=1
Fixed the max pool size connection issues.
10/18/15
You can now return all episodes by using just the "Season" parameter: http://www.omdbapi.com/?t=Game of Thrones&Season=1
9/9/15
New server is up, response times should be < 500ms.
Setup a CDN/Caching service with CloudFlare
8/15/15
Created and Fixed a bad parsing error with JSON response. -Sorry about that!
HTTPS (with TLS) is now active: https://www.omdbapi.com/
5/10/15
Season+Episode search parameters added: http://www.omdbapi.com/?t=Game of Thrones&Season=1&Episode=1
Back to topLegalDonate
API by Brian Fritz.

All content licensed under CC BY-NC 4.0.

This site is not endorsed by or affiliated with IMDb.com.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment