@lynsucceed/mcp-demo
v1.0.0
Published
A hosted MCP demo service built with the TypeScript SDK.
Readme
@lynsucceed/mcp-demo
A simple stdio MCP server built with the TypeScript SDK.
Tools
add: Add two numbers.subtract: Subtract the second number from the first.multiply: Multiply two numbers.divide: Divide the first number by the second.
ModelScope Hosted Deployment
Use stdio as the MCP transport.
Recommended package scripts:
{
"scripts": {
"build": "tsc",
"start": "node dist/server-stdio.js"
}
}Recommended ModelScope service config:
{
"mcpServers": {
"mcp-demo": {
"command": "npx",
"args": ["-y", "@lynsucceed/mcp-demo"]
}
}
}This server does not require environment variables.
