my-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., "@my-mcp-servershow me all the users in the database"
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.
my-mcp-server
A playground and experimentation project for building an MCP (Model Context Protocol) server using TypeScript. It demonstrates how to expose tools and resources to AI agents and language models via the stdio transport.
The server manages a simple user database (backed by a local JSON file) and exposes endpoints that an AI agent can call to read or create user records.
Features
Tool —
my-create-tool: Creates a new user by acceptingname,address,email, andphonefields and persisting the record tosrc/users.json.Resource —
users://all: Returns the full list of users from the mock database as JSON.Resource —
users://{userId}/profile: Returns the profile of a single user identified byuserId.
Related MCP server: FastMCP Example Server
Prerequisites
Installation
npm installRunning the Server
Development mode (using tsx, no build step)
npm run server:devBuild & run compiled output
npm run server:build # compiles TypeScript → JavaScript
node dist/server.js # run the compiled serverWatch mode (auto-recompile on changes)
npm run server:build:watchInspect with MCP Inspector UI
The MCP Inspector lets you interactively call tools and browse resources in a browser UI:
npm run server:inspectNote:
server:inspectsetsDANGEROUSLY_OMIT_AUTH=true— use this only for local development.
Loading the MCP Server in Agent Environments
Agent CLI (e.g. Claude Code CLI)
Existence of .mcp.json should be picked up by the agent and prompted to load the server. Otherwise it's a simple MCP server config that needs to be added to the configuration with other servers.
Project Structure
my-mcp-server/
├── src/
│ ├── server.ts # MCP server entry point (tools & resources)
│ └── users.json # Mock user database (read/written at runtime)
├── package.json
└── tsconfig.jsonTech Stack
Package | Role |
| MCP server SDK (tools, resources, stdio transport) |
| Input schema validation for tools |
| Run TypeScript directly without a build step |
| TypeScript compiler |
| Browser-based MCP debug UI |
License
ISC
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
- FlicenseNot gradedqualityDmaintenanceA lightweight MCP server that connects a local AI model (Ollama) with custom CRUD tools for an in-memory database, enabling natural language database management.
- FlicenseNot gradedqualityDmaintenanceEducational example of an MCP server built with FastMCP, demonstrating how to expose tools, resources, and prompts for AI clients.
- FlicenseNot gradedqualityDmaintenanceExample MCP server built with FastMCP, demonstrating tools, resources, and prompts for AI integration.12
- FlicenseNot gradedqualityCmaintenanceA demonstrative MCP server that exposes a query-user tool for retrieving user info by ID, integrated with LangChain for agent-driven model reasoning and tool calls.
Related MCP Connectors
MCP server exposing the Backtest360 engine API as tools for AI agents.
MCP server for AI agents to plan, verify, and deploy Cloudflare-native apps.
MCP server for AI dialogue using various LLM models via AceDataCloud
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/sp-acc/my-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server