Skip to content

Commit a9df55d

Browse files
committed
Add NuGet package metadata and assets for Microsoft.DataApiBuilder.Mcp
1 parent bfc4f3d commit a9df55d

2 files changed

Lines changed: 62 additions & 0 deletions

File tree

nuget/nuget_mcp/README.md

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
# Data API builder MCP Library
2+
3+
[![License: MIT](https://img.shields.io/badge/license-MIT-blue.svg)](https://opensource.org/licenses/MIT)
4+
5+
## About
6+
7+
**Microsoft.DataApiBuilder.Mcp** provides Model Context Protocol (MCP) integration for [Data API builder](https://learn.microsoft.com/azure/data-api-builder/) (DAB).
8+
9+
This package is intended for teams that want to host DAB MCP tools in their own .NET applications.
10+
11+
## Key capabilities
12+
13+
- Registers DAB MCP services in dependency injection
14+
- Maps DAB MCP endpoints for HTTP hosting
15+
- Uses Data API builder Core capabilities for entity and tool execution
16+
17+
## Installation
18+
19+
```bash
20+
dotnet add package Microsoft.DataApiBuilder.Mcp
21+
```
22+
23+
## Usage
24+
25+
This package is designed for ASP.NET Core applications that expose MCP endpoints.
26+
27+
Use it to register DAB MCP services in dependency injection and map DAB MCP endpoints in your app's hosting pipeline.
28+
29+
Current distribution scope is internal Azure Artifacts feeds.
30+
31+
## Resources
32+
33+
- [Official Documentation](https://learn.microsoft.com/azure/data-api-builder/)
34+
- [GitHub Repository](https://github.com/Azure/data-api-builder)
35+
- [Samples](https://aka.ms/dab/samples)

src/Azure.DataApiBuilder.Mcp/Azure.DataApiBuilder.Mcp.csproj

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,30 @@
44
<TargetFramework>net8.0</TargetFramework>
55
<ImplicitUsings>enable</ImplicitUsings>
66
<Nullable>enable</Nullable>
7+
<IsPackable>true</IsPackable>
8+
<PackageOutputPath>./nupkg</PackageOutputPath>
9+
<PackageId>Microsoft.DataApiBuilder.Mcp</PackageId>
10+
<Title>Microsoft.DataApiBuilder.Mcp</Title>
11+
<Authors>Microsoft</Authors>
12+
<Copyright>© Microsoft Corporation. All rights reserved.</Copyright>
13+
<PackageLicenseFile>LICENSE.txt</PackageLicenseFile>
14+
<RepositoryType>git</RepositoryType>
15+
<PackageProjectUrl>https://go.microsoft.com/fwlink/?linkid=2224253</PackageProjectUrl>
16+
<PackageTags>microsoft mcp model-context-protocol dab dataApiBuilder azure sql graphql rest sdk internal</PackageTags>
17+
<AssemblyName>Microsoft.DataApiBuilder.Mcp</AssemblyName>
18+
<Description>MCP integration library for Data API builder with services and endpoint mapping for exposing DAB tools through Model Context Protocol.</Description>
19+
<PackageIcon>nuget_icon.png</PackageIcon>
20+
<PackageReadmeFile>README.md</PackageReadmeFile>
21+
<EmbedUntrackedSources>true</EmbedUntrackedSources>
22+
<PublishRepositoryUrl>true</PublishRepositoryUrl>
723
<!-- Suppress transitive dependency version mismatch warnings from MCP SDK -->
824
<NoWarn>$(NoWarn);NU1603</NoWarn>
925
</PropertyGroup>
1026

27+
<PropertyGroup Condition="'$(TF_BUILD)' == 'true'">
28+
<ContinuousIntegrationBuild>true</ContinuousIntegrationBuild>
29+
</PropertyGroup>
30+
1131
<ItemGroup>
1232
<InternalsVisibleTo Include="Azure.DataApiBuilder.Service.Tests" />
1333
</ItemGroup>
@@ -21,6 +41,13 @@
2141
<ProjectReference Include="..\Core\Azure.DataApiBuilder.Core.csproj" />
2242
</ItemGroup>
2343

44+
<ItemGroup>
45+
<None Include="..\..\nuget\nuget_mcp\README.md" Pack="true" PackagePath="\" />
46+
<None Include="..\..\nuget\nuget_icon.png" Pack="true" PackagePath="\" />
47+
<None Include="..\..\LICENSE.txt" Pack="true" PackagePath="\" />
48+
<None Include="..\..\nuget_mcp\NOTICE.txt" Pack="true" PackagePath="\" Condition="Exists('..\..\nuget_mcp\NOTICE.txt')" />
49+
</ItemGroup>
50+
2451
<ItemGroup>
2552
<Folder Include="CustomTools\" />
2653
</ItemGroup>

0 commit comments

Comments
 (0)