MCP Example: Server over stdio
@a-polishchuk
关于 MCP Example: Server over stdio
Simple MCP server implementation
基本信息
配置
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"Yes or No MCP": {
"command": "npx",
"args": [
"-y",
"tsx",
"<absolute_path_to>/stdio-example.ts",
"--stdio"
]
}
}
}工具
未检测到工具
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
概览
What is MCP Example: Server over stdio?
MCP Example: Server over stdio is a simple demonstration MCP server that communicates over stdio using TypeScript. It is designed for use with Cursor and provides a yes/no answer tool for LLM interactions.
How to use MCP Example: Server over stdio?
Install Node.js v18 or newer, run npm install, then add the provided JSON configuration to Cursor's MCP settings, replacing <absolute_path_to> with the absolute path to stdio-example.ts. After setup, ask an LLM in Cursor a question ending with "yes or no" to invoke the tool.
Key features of MCP Example: Server over stdio
- Example MCP server using stdio transport
- Written in TypeScript
- Easily extensible for custom MCP commands
- Requires Node.js v18 or newer
Use cases of MCP Example: Server over stdio
- Learning how to build MCP servers with stdio
- Testing MCP integration in Cursor
- Implementing a simple yes/no answer tool
FAQ from MCP Example: Server over stdio
What runtime is required?
Node.js v18 or newer and npm.
How do I configure the server in Cursor?
Add the provided JSON snippet to Cursor Settings → MCP, replacing the path with the absolute path to stdio-example.ts.
What does the server do?
It provides a yes/no answer tool when invoked by an LLM in Cursor.
Is the server extensible?
Yes, the README states it is easily extensible for custom MCP commands.
Where is the source code?
The main file is stdio-example.ts in the repository.
其他 分类下的更多 MCP 服务器
Unity MCP ✨
justinpbarnettUnity MCP acts as a bridge between AI assistants and your Unity Editor. Give your LLM tools to manage assets, control scenes, edit scripts, and automate tasks within Unity.
Awesome-MCP-ZH
yzflyMCP 资源精选, MCP指南,Claude MCP,MCP Servers, MCP Clients
Activepieces
activepiecesAI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents
Core Philosophy: Connect, Unify, Respond
mindsdbDelegate anything. It comes back done.
ICSS
chokcoco不止于 CSS
评论