Skip to content

Commit 6a9cdf1

Browse files
authored
feat: add mcp inspector support (#9)
* feat: add mcp inspector support * bump version 0.2.0
1 parent 881d7e9 commit 6a9cdf1

File tree

3 files changed

+10
-3
lines changed

3 files changed

+10
-3
lines changed

README.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ npx @agentailor/create-mcp-server
1414
- **Optional OAuth** — OIDC-compliant authentication ([setup guide](docs/oauth-setup.md))
1515
- **Package manager choice** — npm, pnpm, or yarn
1616
- **TypeScript + Express.js** — ready to customize
17+
- **MCP Inspector** — built-in debugging with `npm run inspect`
1718

1819
## Templates
1920

@@ -43,10 +44,14 @@ my-mcp-server/
4344
└── README.md
4445
```
4546

47+
**Scripts:**
48+
- `npm run dev` — build and start the server
49+
- `npm run inspect` — open MCP Inspector (update URL in `package.json` if needed)
50+
4651
## What is MCP?
4752

4853
The [Model Context Protocol](https://modelcontextprotocol.io/) (MCP) is an open protocol that enables AI assistants to interact with external tools, data sources, and services.
4954

50-
## Built by agentailor
55+
## Built by Agentailor
5156

52-
Built by [agentailor](https://agentailor.com/?utm_source=github&utm_medium=readme&utm_campaign=create-mcp-server) — your launchpad for production-ready MCP servers and scalable AI agents. We provide the tools, templates, and expertise to ship AI-powered applications faster.
57+
Built by [Agentailor](https://agentailor.com/?utm_source=github&utm_medium=readme&utm_campaign=create-mcp-server) — your launchpad for production-ready MCP servers and scalable AI agents. We provide the tools, templates, and expertise to ship AI-powered applications faster.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@agentailor/create-mcp-server",
3-
"version": "0.1.0",
3+
"version": "0.2.0",
44
"description": "Create a new MCP (Model Context Protocol) server project",
55
"type": "module",
66
"bin": {

src/templates/common/package.json.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,14 @@ export function getPackageJsonTemplate(projectName: string, options?: TemplateOp
2525
build: 'tsc',
2626
dev: 'tsc && node dist/index.js',
2727
start: 'node dist/index.js',
28+
inspect: 'mcp-inspector http://localhost:3000/mcp',
2829
},
2930
dependencies,
3031
devDependencies: {
3132
'@types/express': '^5.0.6',
3233
'@types/node': '^25.0.3',
3334
typescript: '^5.9.3',
35+
'@modelcontextprotocol/inspector': '^0.18.0',
3436
},
3537
engines: {
3638
node: '>=20',

0 commit comments

Comments
 (0)