MCP Custom Server
A custom MCP server implementation using the Model Context Protocol TypeScript SDK
Overview
MCP Custom Server is a custom implementation of the Model Context Protocol (MCP) using the TypeScript SDK, designed to provide a flexible and extensible framework for building MCP-compliant servers.
To use MCP Custom Server, clone the repository, install the dependencies, and start the server. You can also run it in development mode for auto-reload functionality.
- Full MCP protocol support - Multiple transport options (stdio, HTTP/SSE) - Customizable resources and tools - Reusable prompt templates - TypeScript for type safety and enhanced developer experience
- Building custom servers that comply with the MCP.
- Creating reusable tools and resources for various applications.
- Developing applications that require real-time data processing and communication.
Add to your AI client
Use these steps to connect MCP Custom Server in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.
Cursor
Add this to your .cursor/mcp.json file in your project root, then restart Cursor.
.cursor/mcp.json
{
"mcpServers": {
"mcp-custom-server-whenmoon-afk": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-custom-server-whenmoon-afk"
]
}
}
}Claude Desktop
Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.
~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
{
"mcpServers": {
"mcp-custom-server-whenmoon-afk": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-custom-server-whenmoon-afk"
]
}
}
}Claude Code
Add this to your project's .mcp.json file. Claude Code will detect it automatically.
.mcp.json (project root)
{
"mcpServers": {
"mcp-custom-server-whenmoon-afk": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-custom-server-whenmoon-afk"
]
}
}
}VS Code (Copilot)
Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.
.vscode/mcp.json
{
"servers": {
"mcp-custom-server-whenmoon-afk": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-custom-server-whenmoon-afk"
]
}
}
}Windsurf
Add this to your Windsurf MCP config file, then restart Windsurf.
~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"mcp-custom-server-whenmoon-afk": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-custom-server-whenmoon-afk"
]
}
}
}Cline
Open Cline settings, navigate to MCP Servers, and add this server configuration.
Cline MCP Settings (via UI)
{
"mcpServers": {
"mcp-custom-server-whenmoon-afk": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-custom-server-whenmoon-afk"
]
}
}
}FAQ
What programming language is used for MCP Custom Server?
The server is implemented in TypeScript, which provides type safety and a better developer experience.
Can I customize the server?
Yes! You can add custom resources and tools by modifying the respective files in the project.
Is there a license for MCP Custom Server?
Yes, the project is licensed under the MIT License.7:["$","div",null,{"className":"container mx-auto flex flex-col gap-4","children":["$L26","$L27",["$","$L28",null,{"currentProject":{"id":2596,"uuid":"564201a8-17ac-484c-b5af-7656838fa203","name":"mcp-custom-server","title":"MCP Custom Server","description":"A custom MCP server implementation using the Model Context Protocol TypeScript SDK","avatar_url":"https://avatars.githubusercontent.com/u/84838324?v=4","created_at":"2025-03-13T09:01:33.260Z","updated_at":"2025-03-13T09:41:38.289Z","status":"created","author_name":"WhenMoon-afk","author_avatar_url":"https://avatars.githubusercontent.com/u/84838324?v=4","tags":"mcp,custom-server,typescript","category":"developer-tools","is_featured":false,"sort":1,"url":"https://github.com/WhenMoon-afk/mcp-custom-server","target":"_self","content":"$29","summary":"$2a","img_url":null,"type":null,"metadata":"{\"star\":\"0\",\"license\":\"\",\"language\":\"TypeScript\",\"is_official\":false,\"latest_commit_time\":\"2025-03-10 18:49:24\"}","user_uuid":null,"tools":null,"sse_url":null,"sse_provider":null,"sse_params":null,"is_official":false,"server_command":null,"server_params":null,"server_config":null,"allow_call":false,"is_innovation":false,"is_dxt":false,"dxt_manifest":null,"dxt_file_url":null,"is_audit":false},"randomProjects":[],"currentServerKey":"$undefined"}]]}]