MCPify
by abdebek·★ 4·Score 38
MCPify is a .NET library that converts OpenAPI/Swagger specs into MCP tools for AI assistants.
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:
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 READMElogin_auth_code_pkceHandles 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
Installation
Installation
- Install the package into your ASP.NET Core project:
dotnet add package MCPify- Configure in your Program.cs:
builder.Services.AddMcpify(options => {
options.Transport = McpTransportType.Stdio;
options.LocalEndpoints = new LocalEndpointsOptions {
Enabled = true,
ToolPrefix = "myapp_"
};
});- 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
Last updated · Auto-generated from public README + GitHub signals.