<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>tera1707</author_name>
  <author_url>https://blog.hatena.ne.jp/tera1707/</author_url>
  <blog_title>tera1707’s blog</blog_title>
  <blog_url>https://tera1707.com/</blog_url>
  <categories>
    <anon>MCP</anon>
  </categories>
  <description>もくじ https://tera1707.com/entry/2022/02/06/144447 やりたいこと 以前作ったMCPサーバーでは、 MCPサーバー本体のexeの中に、ツールも実装していた。 が、いろいろな事情で、本体exeとは別のdllにツールを実装したい。 やったこと 別のdllにツールを定義して、それをMCPサーバー本体exeの冒頭で読み込み、 以前は var builder = Host.CreateEmptyApplicationBuilder(settings: null); builder.Services.AddMcpServer() .WithStdioServer…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftera1707.com%2Fentry%2F2025%2F11%2F11%2F230919&quot; title=&quot; MCPのツールを、MCPサーバー本体exeとは別のdllに定義する - tera1707’s blog&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2025-11-11 23:09:19</published>
  <title> MCPのツールを、MCPサーバー本体exeとは別のdllに定義する</title>
  <type>rich</type>
  <url>https://tera1707.com/entry/2025/11/11/230919</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
