MCP Catalogs
Home

MCPify

by abdebek·4·Score 38

MCPify is a .NET library that converts OpenAPI/Swagger specs into MCP tools for AI assistants.

developer-toolsai-llmweb-scraping
1
Forks
4
Open issues
3 mo ago
Last commit
2d ago
Indexed

Overview

MCPify bridges existing ASP.NET Core APIs and external OpenAPI specifications with the Model Context Protocol. It dynamically exposes API operations as MCP tools while supporting hybrid local and external APIs. The library offers robust OAuth 2.0 authentication with PKCE, JWT validation, and scope enforcement, fully compliant with the MCP Authorization Specification. With both Stdio and Http transport options, it's designed for production environments with proper logging and error handling.

Try asking AI

After installing, here are 5 things you can ask your AI assistant:

you:Expose internal .NET APIs as tools for Claude Desktop integration
you:Transform public REST APIs with OpenAPI specs into MCP-accessible tools
you:Create OAuth-protected MCP tools with automatic token management
you:What authentication methods does MCPify support?
you:Can MCPify work with external OpenAPI specs?

When to choose this

Choose MCPify if you're already using .NET/ASP.NET Core and want to expose existing APIs or OpenAPI specifications as MCP tools with robust OAuth support.

When NOT to choose this

Don't choose MCPify if you need to expose non-REST APIs or if you're not working in the .NET ecosystem.

Tools this server exposes

1 tool extracted from the README
  • login_auth_code_pkce

    Handles OAuth 2.0 authorization code flow with PKCE for authentication

Note: The README indicates that MCPify dynamically converts OpenAPI operations to MCP tools, but doesn't list specific tool names. Only the 'login_auth_code_pkce' tool is explicitly named in the authentication section. Other tools would be genera

Comparable tools

openapi-mcpswagger-mcpapi-mcpmcp-sdk

Installation

Installation

  1. Install the package into your ASP.NET Core project:
dotnet add package MCPify
  1. Configure in your Program.cs:
builder.Services.AddMcpify(options => {
    options.Transport = McpTransportType.Stdio;
    options.LocalEndpoints = new LocalEndpointsOptions {
        Enabled = true,
        ToolPrefix = "myapp_"
    };
});
  1. For Claude Desktop, add to your config file:
{
  "mcpServers": {
    "my-app": {
      "command": "dotnet",
      "args": [
        "run",
        "--project",
        "/absolute/path/to/YourProject.csproj",
        "--",
        "--Mcpify:Transport=Stdio"
      ]
    }
  }
}

FAQ

What authentication methods does MCPify support?
MCPify provides comprehensive OAuth 2.0 support with Authorization Code Flow, PKCE, JWT validation, scope enforcement, and automatic token refresh.
Can MCPify work with external OpenAPI specs?
Yes, it supports exposing external APIs from URLs or local files while also supporting local ASP.NET Core endpoints simultaneously.

Compare MCPify with

GitHub →

Last updated · Auto-generated from public README + GitHub signals.