mcp-server
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., "@mcp-serverwhat time is it in New York?"
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.
mcp-server
A starter Model Context Protocol (MCP) server, built with the official TypeScript SDK.
It ships with two example tools:
echo— echoes a message back to the caller (useful for testing connectivity)get_time— returns the current date/time, optionally in a given IANA timezone
Use these as templates, then add your own tools in src/index.ts.
Getting started
npm install
npm run build
npm startThe server communicates over stdio, so it's meant to be launched by an MCP client (e.g. Claude Desktop, Claude Code) rather than run standalone.
Related MCP server: TypeScript MCP Server Boilerplate
Development
npm run dev # watch mode, recompiles on changeTest interactively with the MCP Inspector:
npm run build
npm run inspectorConnecting to an MCP client
Add an entry pointing at the built server, e.g. for Claude Desktop's claude_desktop_config.json:
{
"mcpServers": {
"mcp-server": {
"command": "node",
"args": ["/absolute/path/to/mcp-server/build/index.js"]
}
}
}Registering with the Claude Code CLI
You can also register this server (or any third-party MCP server) with the claude mcp add command instead of editing a client's config file by hand:
# This project, at user scope (available in every project on your machine)
claude mcp add mcp-server -s user -- node /absolute/path/to/mcp-server/build/index.jsThe same pattern works for other MCP servers distributed via npm. A couple of examples:
Perplexity's MCP server (requires an API key):
claude mcp add perplexity -s user --env PERPLEXITY_API_KEY="your-api-key" -- npx -y @perplexity-ai/mcp-serverPlaywright's MCP server (browser automation, no API key needed):
claude mcp add playwright -s user -- npx -y @playwright/mcp@latest-s userregisters the server at user scope (all projects); use-s projectto scope it to the current repo instead.--env KEY=valuepasses environment variables (e.g. API keys) to the server process.Everything after
--is the command used to launch the server.Replace
"your-api-key"with a real key from the provider's dashboard — a placeholder value will cause auth failures.
Project structure
src/
index.ts # server entry point: tool definitions + handlers
build/ # compiled output (generated, gitignored)Adding a new tool
Add its JSON schema to the
TOOLSarray insrc/index.ts.Handle it in the
CallToolRequestSchemaswitch statement.Validate its arguments with a zod schema, as the examples do.
Rebuild (
npm run build) and reconnect your MCP client.
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.
Related MCP Servers
- AlicenseBqualityDmaintenanceA TypeScript starter template for building MCP servers with example tools (echo, math operations, time, flight status) and resources (server info, greetings). Provides a modular architecture for easily extending with custom tools and resources.47ISC
- FlicenseAqualityDmaintenanceA starter project for rapidly developing Model Context Protocol servers using TypeScript and the official SDK. It includes pre-implemented examples of tools and resources to help developers jumpstart their custom MCP server development.6
- FlicenseBqualityCmaintenanceA TypeScript MCP server boilerplate providing example tools and resources for rapid development of custom Model Context Protocol servers.8
- Flicense-qualityDmaintenanceA TypeScript MCP server boilerplate providing example tools and resources for rapid development and testing of Model Context Protocol servers.
Related MCP Connectors
A TypeScript MCP server for Home Assistant, enabling programmatic management of entities, automati…
Markdown-first MCP server for Notion API with 8 composite tools and 39 actions.
An MCP server that let you interact with Cycloid.io Internal Development Portal and Platform
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- 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/emanuel8almeidas/MCP'
If you have feedback or need assistance with the MCP directory API, please join our Discord server