Basic information
About MCP Example: Server over stdio
Simple MCP server implementation
MCP Example: Server over stdio is a MCP server in the Other category listed in the AddMCP.net directory, published by a-polishchuk. Supported transport: stdio. Runtime: node. Source code is hosted on github.com. Related topics: mcp, server, typescript.
Setup
{
"mcpServers": {
"Yes or No MCP": {
"command": "npx",
"args": [
"-y",
"tsx",
"<absolute_path_to>/stdio-example.ts",
"--stdio"
]
}
}
}
{
"mcpServers": {
"Yes or No MCP": {
"command": "npx",
"args": [
"-y",
"tsx",
"<absolute_path_to>/stdio-example.ts",
"--stdio"
]
}
}
}
{
"servers": {
"Yes or No MCP": {
"command": "npx",
"args": [
"-y",
"tsx",
"<absolute_path_to>/stdio-example.ts",
"--stdio"
]
}
}
}
MCP Example: Server over stdio config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"Yes or No MCP": {
"command": "npx",
"args": [
"-y",
"tsx",
"<absolute_path_to>/stdio-example.ts",
"--stdio"
]
}
}
}
MCP Example: Server over stdio tools
Tool list not available yet
This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
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
Frequently asked questions
1 What runtime is required?
Node.js v18 or newer and npm.
2 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.
3 What does the server do?
It provides a yes/no answer tool when invoked by an LLM in Cursor.
4 Is the server extensible?
Yes, the README states it is easily extensible for custom MCP commands.
5 Where is the source code?
The main file is stdio-example.ts in the repository.
Comments
No comments yet
Be the first to share feedback about this listing. Sign in to leave a comment.
Sign In