project-1
Fetches and lists a GitHub user's repositories.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@project-1add 5 and 3"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
project-1
A minimal Model Context Protocol (MCP) server built with the @modelcontextprotocol/sdk, communicating over stdio.
Features
Tools
add_numbers— Adds two numbers together.Inputs:
a(number),b(number)
get_github_repo— Fetches and lists a GitHub user's repositories.Inputs:
username(string)
Resources
apartment_rules(rules:/all) — Returns the contents ofsrc/data/rules.doc, a set of apartment rules (safety, noise control, cleanliness, etc.) stored as plain text.
Prompts
explain_sql— Generates a prompt asking for a detailed, plain-English explanation of a given SQL query.Inputs:
sql(string)
Related MCP server: mcp
Requirements
Node.js
npm
Installation
npm installBuild
Compiles TypeScript (src/) to JavaScript (build/):
npm run buildRunning
After building, run the server directly:
node build/index.jsThe server communicates over stdio, so it's intended to be launched by an MCP client (e.g. Claude Desktop, an IDE extension, or another MCP-compatible host) rather than run standalone.
Project Structure
src/
index.ts # Server setup: tools, resources, and prompts
data/
rules.doc # Data backing the apartment_rules resource
build/ # Compiled output (generated by `npm run build`)Configuration
TypeScript: targets ES2022 with NodeNext modules/resolution and strict mode enabled (see
tsconfig.json).Formatting: Prettier is configured to use tabs with a width of 4 (see
.prettierrc).
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/ThuongHan/mcp-demo-serve'
If you have feedback or need assistance with the MCP directory API, please join our Discord server