How do I embed mcp-devtools inside my own MCP server? #52
Unanswered
adityachilka1
asked this question in
Q&A
Replies: 1 comment
|
Use the import { Server } from '@modelcontextprotocol/sdk/server/index.js';
import { StdioServerTransport } from '@modelcontextprotocol/sdk/server/stdio.js';
import * as devtools from '@adityachilka/mcp-devtools';
const server = new Server({ name: 'my-server', version: '0.0.1' }, { capabilities: { tools: {} } });
const transport = devtools.wrap(new StdioServerTransport(), { port: 9229 });
await server.connect(transport);Open |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I'm writing a server with
@modelcontextprotocol/sdkand want devtools available without running a separate proxy.All reactions