{"id":26641062,"url":"https://github.com/modelcontextprotocol/csharp-sdk","last_synced_at":"2026-03-07T00:03:37.505Z","repository":{"id":283585957,"uuid":"946174307","full_name":"modelcontextprotocol/csharp-sdk","owner":"modelcontextprotocol","description":"The official C# SDK for Model Context Protocol servers and clients. Maintained in collaboration with Microsoft.","archived":false,"fork":false,"pushed_at":"2026-01-30T23:19:02.000Z","size":3517,"stargazers_count":3841,"open_issues_count":141,"forks_count":614,"subscribers_count":73,"default_branch":"main","last_synced_at":"2026-01-31T01:32:54.408Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://modelcontextprotocol.github.io/csharp-sdk/","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/modelcontextprotocol.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-03-10T18:17:41.000Z","updated_at":"2026-01-31T01:30:31.000Z","dependencies_parsed_at":"2025-04-14T23:17:03.167Z","dependency_job_id":"523b8b3c-d628-4e6f-b687-e57db683c4f4","html_url":"https://github.com/modelcontextprotocol/csharp-sdk","commit_stats":null,"previous_names":["modelcontextprotocol/csharp-sdk"],"tags_count":27,"template":false,"template_full_name":null,"purl":"pkg:github/modelcontextprotocol/csharp-sdk","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/modelcontextprotocol%2Fcsharp-sdk","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/modelcontextprotocol%2Fcsharp-sdk/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/modelcontextprotocol%2Fcsharp-sdk/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/modelcontextprotocol%2Fcsharp-sdk/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/modelcontextprotocol","download_url":"https://codeload.github.com/modelcontextprotocol/csharp-sdk/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/modelcontextprotocol%2Fcsharp-sdk/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29133047,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-05T19:36:52.185Z","status":"ssl_error","status_checked_at":"2026-02-05T19:35:40.941Z","response_time":65,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-03-24T18:19:33.882Z","updated_at":"2026-03-07T00:03:37.470Z","avatar_url":"https://github.com/modelcontextprotocol.png","language":"C#","readme":"# MCP C# SDK\n\n[![NuGet version](https://img.shields.io/nuget/v/ModelContextProtocol.svg)](https://www.nuget.org/packages/ModelContextProtocol)\n\nThe official C# SDK for the [Model Context Protocol](https://modelcontextprotocol.io/), enabling .NET applications, services, and libraries to implement and interact with MCP clients and servers. Please visit the [API documentation](https://modelcontextprotocol.github.io/csharp-sdk/api/ModelContextProtocol.html) for more details on available functionality.\n\n## Packages\n\nThis SDK consists of three main packages:\n\n- **[ModelContextProtocol.Core](https://www.nuget.org/packages/ModelContextProtocol.Core)** [![NuGet version](https://img.shields.io/nuget/v/ModelContextProtocol.Core.svg)](https://www.nuget.org/packages/ModelContextProtocol.Core) - For projects that only need to use the client or low-level server APIs and want the minimum number of dependencies.\n\n- **[ModelContextProtocol](https://www.nuget.org/packages/ModelContextProtocol)** [![NuGet version](https://img.shields.io/nuget/v/ModelContextProtocol.svg)](https://www.nuget.org/packages/ModelContextProtocol) - The main package with hosting and dependency injection extensions. References `ModelContextProtocol.Core`. This is the right fit for most projects that don't need HTTP server capabilities.\n\n- **[ModelContextProtocol.AspNetCore](https://www.nuget.org/packages/ModelContextProtocol.AspNetCore)** [![NuGet version](https://img.shields.io/nuget/v/ModelContextProtocol.AspNetCore.svg)](https://www.nuget.org/packages/ModelContextProtocol.AspNetCore) - The library for HTTP-based MCP servers. References `ModelContextProtocol`.\n\n## Getting Started\n\nTo get started, see the [Getting Started](https://modelcontextprotocol.github.io/csharp-sdk/concepts/getting-started.html) guide in the conceptual documentation for installation instructions, package-selection guidance, and complete examples for both clients and servers.\n\nYou can also browse the [samples](samples) directory and the [API documentation](https://modelcontextprotocol.github.io/csharp-sdk/api/ModelContextProtocol.html) for more details on available functionality.\n\n## About MCP\n\nThe Model Context Protocol (MCP) is an open protocol that standardizes how applications provide context to Large Language Models (LLMs). It enables secure integration between LLMs and various data sources and tools.\n\nFor more information about MCP:\n\n- [Official MCP Documentation](https://modelcontextprotocol.io/)\n- [MCP C# SDK Documentation](https://modelcontextprotocol.github.io/csharp-sdk/)\n- [Protocol Specification](https://modelcontextprotocol.io/specification/)\n- [GitHub Organization](https://github.com/modelcontextprotocol)\n\n## License\n\nThis project is licensed under the [Apache License 2.0](LICENSE).\n","funding_links":[],"categories":["Development Tools MCP Servers","C# #","SDKs","📚 Projects (1974 total)","MCP Frameworks and libraries","MCP Servers \u0026 Integrations","📦 Other","MCP Ecosystem"],"sub_categories":["Official","MCP Servers","dotnet sdk","C#","Other IDEs","Core \u0026 Frameworks"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmodelcontextprotocol%2Fcsharp-sdk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmodelcontextprotocol%2Fcsharp-sdk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmodelcontextprotocol%2Fcsharp-sdk/lists"}