feat: add PepMcp server for MCP tool integration
Add new MCP (Model Context Protocol) server project that exposes PEP API functionality as tools for LLM integration. Includes tools for: - Nest queries (list, details, plates) - Part search across programs - Material analytics (usage, plate sizes, thickness breakdown) - Customer usage analysis - Stock recommendations - Materials to order for pending programs Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
11
PepMcp/Program.cs
Normal file
11
PepMcp/Program.cs
Normal file
@@ -0,0 +1,11 @@
|
||||
using Microsoft.Extensions.DependencyInjection;
|
||||
using Microsoft.Extensions.Hosting;
|
||||
|
||||
var builder = Host.CreateApplicationBuilder(args);
|
||||
builder.Services
|
||||
.AddMcpServer()
|
||||
.WithStdioServerTransport()
|
||||
.WithTools<PepTools>();
|
||||
|
||||
var app = builder.Build();
|
||||
await app.RunAsync();
|
||||
Reference in New Issue
Block a user