MCP Server SDK
Overview
MCP Server SDK is a work-in-progress implementation of the Model Context Protocol (MCP) based on the WebAssembly (Wasm) Component Model, designed to help developers create a running MCP server that enhances the functionality of their AI models in a secure, sandboxed environment.
To use the MCP Server SDK, developers can implement the SDK in their projects to declare tools using a simple JSON schema DSL and manage their AI models effectively.
- Ability to declare tools with a straightforward JSON schema DSL. - Functionality to list roots for better management of AI models.
- Developing a secure server for AI models using the Model Context Protocol.
- Enhancing AI model functionalities through tool declarations.
- Creating a sandboxed environment for running AI applications.
Add to your AI client
Use these steps to connect MCP Server SDK 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-server-peter-jerry-ye": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-server-peter-jerry-ye"
]
}
}
}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-server-peter-jerry-ye": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-server-peter-jerry-ye"
]
}
}
}Claude Code
Add this to your project's .mcp.json file. Claude Code will detect it automatically.
.mcp.json (project root)
{
"mcpServers": {
"mcp-server-peter-jerry-ye": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-server-peter-jerry-ye"
]
}
}
}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-server-peter-jerry-ye": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-server-peter-jerry-ye"
]
}
}
}Windsurf
Add this to your Windsurf MCP config file, then restart Windsurf.
~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"mcp-server-peter-jerry-ye": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-server-peter-jerry-ye"
]
}
}
}Cline
Open Cline settings, navigate to MCP Servers, and add this server configuration.
Cline MCP Settings (via UI)
{
"mcpServers": {
"mcp-server-peter-jerry-ye": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-server-peter-jerry-ye"
]
}
}
}FAQ
What is the Model Context Protocol?
The Model Context Protocol is a standard for managing AI models and their contexts, allowing for better integration and functionality.
Is the MCP Server SDK stable?
The MCP Server SDK is currently a work-in-progress and may not have all features fully implemented yet.
What programming language is used?
The MCP Server SDK is developed using MoonBit.