MCP

kadirdundar/MCP

3.1

If you are the rightful owner of MCP and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

This project is a simple Model Context Protocol (MCP) server developed using C# and .NET, which reverses string inputs from users.

The MCP Reverse String Server is a basic example of how the Model Context Protocol can be implemented using C#. It demonstrates the fundamental functionality of MCP by reversing string inputs received from users. This project serves as an introductory example of integrating MCP with C# and .NET, showcasing the ease of setting up and running a simple MCP server. The server listens for requests from MCP clients and processes them by reversing the provided string, thus illustrating the protocol's capabilities in a straightforward manner.

Features

  • Simple server compatible with MCP protocol
  • Functionality to reverse string inputs from users
  • Easy setup and execution

Usages

usage with local integration stdio

python
mcp.run(transport='stdio')  # Tools defined via @mcp.tool() decorator

usage with remote integration sse

python
mcp.run(transport='sse', host="0.0.0.0", port=8000)  # Specify SSE endpoint

usage with remote integration streamable http

yaml
paths:
  /mcp:
    post:
      x-ms-agentic-protocol: mcp-streamable-1.0  # Copilot Studio integration

usage with platform integration github

{"command": "docker", "args": ["run", "-e", "GITHUB_PERSONAL_ACCESS_TOKEN", "ghcr.io/github/github-mcp-server"]}

usage with platform integration atlassian

{
  "mcpServers": {
    "jira": {
      "command": "python",
      "args": ["jira_tool.py"]
    }
  }
}

usage with development framework fastmcp

python
from mcp.server import FastMCP
app = FastMCP('demo')
@app.tool()
async def query(): ...