Closed
Description
Source: https://github.com/luisquintanilla/AccedeSimple/tree/main/src/AccedeSimple.MCPServer
Logs:
2025-05-15T00:15:20.5803734Z Waiting for resource 'openai' to enter the 'Running' state.
2025-05-15T00:15:20.5838325Z Waiting for resource ready to execute for 'openai'.
2025-05-15T00:15:20.5840283Z Finished waiting for resource 'openai'.
2025-05-15T00:15:25.0680000Z Unhandled exception. System.MissingMethodException: Method not found: 'Void Microsoft.Extensions.AI.AIFunctionFactoryOptions.set_CreateInstance(System.Func`3<System.Type,Microsoft.Extensions.AI.AIFunctionArguments,System.Object>)'.
2025-05-15T00:15:25.1080000Z at ModelContextProtocol.Server.AIFunctionMcpServerTool.CreateAIFunctionFactoryOptions(MethodInfo method, McpServerToolCreateOptions options)
2025-05-15T00:15:25.1080000Z at ModelContextProtocol.Server.AIFunctionMcpServerTool.Create(MethodInfo method, Object target, McpServerToolCreateOptions options)
2025-05-15T00:15:25.1080000Z at ModelContextProtocol.Server.McpServerTool.Create(MethodInfo method, Object target, McpServerToolCreateOptions options)
2025-05-15T00:15:25.1080000Z at Microsoft.Extensions.DependencyInjection.McpServerBuilderExtensions.<>c__DisplayClass3_2.<WithTools>b__0(IServiceProvider services)
2025-05-15T00:15:25.1080000Z at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)
2025-05-15T00:15:25.1080000Z at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context)
2025-05-15T00:15:25.1080000Z at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)
2025-05-15T00:15:25.1080000Z at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitIEnumerable(IEnumerableCallSite enumerableCallSite, RuntimeResolverContext context)
2025-05-15T00:15:25.1080000Z at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)
2025-05-15T00:15:25.1080000Z at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context)
2025-05-15T00:15:25.1080000Z at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)
2025-05-15T00:15:25.1080000Z at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)
2025-05-15T00:15:25.1080000Z at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)
2025-05-15T00:15:25.1080000Z at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitDisposeCache(ServiceCallSite transientCallSite, RuntimeResolverContext context)
2025-05-15T00:15:25.1080000Z at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)
2025-05-15T00:15:25.1080000Z at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitIEnumerable(IEnumerableCallSite enumerableCallSite, RuntimeResolverContext context)
2025-05-15T00:15:25.1080000Z at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)
2025-05-15T00:15:25.1080000Z at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)
2025-05-15T00:15:25.1080000Z at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)
2025-05-15T00:15:25.1080000Z at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)
2025-05-15T00:15:25.1080000Z at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitDisposeCache(ServiceCallSite transientCallSite, RuntimeResolverContext context)
2025-05-15T00:15:25.1080000Z at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)
2025-05-15T00:15:25.1080000Z at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)
2025-05-15T00:15:25.1080000Z at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)
2025-05-15T00:15:25.1080000Z at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context)
2025-05-15T00:15:25.1080000Z at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)
2025-05-15T00:15:25.1080000Z at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)
2025-05-15T00:15:25.1080000Z at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)
2025-05-15T00:15:25.1080000Z at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context)
2025-05-15T00:15:25.1080000Z at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)
2025-05-15T00:15:25.1080000Z at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope)
2025-05-15T00:15:25.1080000Z at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(ServiceIdentifier serviceIdentifier)
2025-05-15T00:15:25.1080000Z at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory)
2025-05-15T00:15:25.1080000Z at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(ServiceIdentifier serviceIdentifier, ServiceProviderEngineScope serviceProviderEngineScope)
2025-05-15T00:15:25.1080000Z at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType)
2025-05-15T00:15:25.1080000Z at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetService[T](IServiceProvider provider)
2025-05-15T00:15:25.1080000Z at Microsoft.AspNetCore.Builder.McpEndpointRouteBuilderExtensions.MapMcp(IEndpointRouteBuilder endpoints, String pattern)
2025-05-15T00:15:25.1080000Z at Program.<Main>$(String[] args) in C:\Dev\AccedeSimple\src\AccedeSimple.MCPServer\Program.cs:line 37