MCP Serverless
Serverless implementation of the Model Context Protocol (MCP)
Overview
MCP Serverless is a serverless implementation of the Model Context Protocol (MCP) that facilitates tool management through a clean interface.
To use MCP Serverless, install the package via npm and create a tool manager to register and manage tools. You can then create a serverless client to interact with the registered tools.
- Register and manage tools easily. - Handle tool-related requests efficiently. - Create in-memory client-server connections. - Extend requests with context for credential transmission.
- Building serverless applications that require tool management.
- Creating custom tools for specific operations like calculations.
- Facilitating communication between clients and servers in a serverless environment.
Add to your AI client
Use these steps to connect MCP Serverless 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-serverless-tilfin": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-serverless-tilfin"
]
}
}
}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-serverless-tilfin": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-serverless-tilfin"
]
}
}
}Claude Code
Add this to your project's .mcp.json file. Claude Code will detect it automatically.
.mcp.json (project root)
{
"mcpServers": {
"mcp-serverless-tilfin": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-serverless-tilfin"
]
}
}
}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-serverless-tilfin": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-serverless-tilfin"
]
}
}
}Windsurf
Add this to your Windsurf MCP config file, then restart Windsurf.
~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"mcp-serverless-tilfin": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-serverless-tilfin"
]
}
}
}Cline
Open Cline settings, navigate to MCP Servers, and add this server configuration.
Cline MCP Settings (via UI)
{
"mcpServers": {
"mcp-serverless-tilfin": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-serverless-tilfin"
]
}
}
}FAQ
What is the primary purpose of MCP Serverless?
It is designed to provide a serverless architecture for managing tools using the Model Context Protocol.
How do I install MCP Serverless?
You can install it using npm with the command: `npm install @tilfin/mcp-serverless`.
Can I create my own tools with MCP Serverless?
Yes! You can register your own tools by defining their functionality and input schema.