Skip to main content
Glama
Danny4897

MonadicSharp MCP Server

by Danny4897

MonadicSharp MCP Server

This is a Model Context Protocol (MCP) server for MonadicSharp, a C# library for Railway-Oriented Programming (ROP) and robust AI agent development.

Topics: mcp model-context-protocol claude anthropic csharp typescript code-generation ai-tooling developer-tools

This MCP server provides Claude with:

  1. Expert Knowledge: Access to MonadicSharp documentation and patterns (rop-basics, ai-patterns) via Resources.

  2. Code Generation: A tool to generate idiomatic MonadicSharp snippets (generate_monadic_snippet).

Installation

Prerequisites

  • Node.js (v18+)

  • Claude Desktop App

Setup

  1. Clone this repository:

    git clone https://github.com/your-username/monadic-sharp-mcp.git
    cd monadic-sharp-mcp
  2. Install dependencies:

    npm install
  3. Build the server:

    npm run build

    (Note: You can also run it directly with npx tsx index.ts)

Related MCP server: chimeralang-mcp

Configuration

Add the following to your Claude Desktop configuration file:

  • MacOS: ~/Library/Application Support/Claude/claude_desktop_config.json

  • Windows: %APPDATA%\Claude\claude_desktop_config.json

{
  "mcpServers": {
    "monadic-sharp": {
      "command": "node",
      "args": [
        "/path/to/monadic-sharp-mcp/dist/index.js"
      ]
    }
  }
}

Note: If you haven't built it, you can use tsx directly (requires tsx installed globally or full path):

{
  "mcpServers": {
    "monadic-sharp": {
      "command": "npx",
      "args": [
        "-y",
        "tsx",
        "/path/to/monadic-sharp-mcp/index.ts"
      ]
    }
  }
}

Features

Resources

  • monadic-sharp://rop-basics: Core ROP concepts (Bind, Map, Match, Result).

  • monadic-sharp://ai-patterns: AI Agent patterns (AgentResult, AiError, Retry Logic).

Tools

  • generate_monadic_snippet: Generates starter code for repositories, controllers, or AI steps.

License

MIT

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.

No tool schema history has been recorded yet.

Maintenance

ActivityInactive
ResponsivenessSyncing

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Connectors

Related MCP Servers

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Danny4897/monadic-sharp-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server