MCP Server
Click on "Deploy 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 ServerAdd user Alice with email alice@test.com"
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 (TypeScript)
A simple Model Context Protocol (MCP) server built with TypeScript.
It currently exposes one MCP tool:
createUser: Creates a new user and appends it tosrc/data/users.json.
Features
MCP server over stdio transport
Input validation with Zod
JSON-based data persistence for users
Related MCP server: mcp-stdio
Project Structure
src/
server.ts # MCP server entrypoint and tool registration
data/
users.json # Local user datastore
types/
user.types.ts # User input typePrerequisites
Node.js 18+
npm
Install
npm installRun (Development)
npm run server:devBuild
npm run server:buildCompiled output goes to build/.
Build Watch Mode
npm run server:build:watchInspect with MCP Inspector
Use the MCP Inspector to test tool calls interactively:
npm run server:inspectThen call the createUser tool with this shape:
{
"name": "Jane Doe",
"email": "jane.doe@example.com",
"address": "123 Main St, Springfield, IL",
"phone": "+1-555-555-5555"
}Successful calls append a new user record to src/data/users.json and return the created ID.
Available Scripts
server:dev- Run server from TypeScript source withtsxserver:build- Compile TypeScript tobuild/server:build:watch- Compile in watch modeserver:inspect- Launch MCP Inspector against the serverclient:dev- Reserved script inpackage.json(nosrc/client.tsfile currently in this workspace)
Notes
Data is persisted by writing directly to
src/data/users.json.User IDs are assigned as
users.length + 1.If you manually edit
users.json, keep it valid JSON.
This server cannot be deployed
Maintenance
Related MCP Connectors
The official MCP Server for the Mux API
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceA simple Model Context Protocol (MCP) server that allows LLMs to create and manage user entries in a JSON file system database.681 npmMIT
- AlicenseNot gradedqualityCmaintenanceA minimal, zero-dependency MCP server that enables defining and running tools over stdio transport, without extra features like HTTP or resources.27 npm1MIT
- FlicenseNot gradedqualityDmaintenanceA sample MCP server that exposes tools, resources, and prompts for managing users and todos, supporting both stdio and Streamable HTTP transports.-
- FlicenseNot gradedqualityCmaintenanceA minimal demo MCP server exposing user management tools (list, get, create, update, delete users) over both stdio and HTTP/SSE transports, wrapping an Express REST API to illustrate local vs remote MCP connectivity.-