@iflow-mcp/assistant-ui-mcp-app-studio-starter
v1.0.0
Published
MCP server for your MCP app.
Downloads
62
Readme
MCP Server
MCP server for your MCP app.
Quick Start
npm install
npm run devServer runs at http://localhost:3001/mcp by default.
To change the port:
PORT=3003 npm run devIf the port is already in use, the server will fall back to the next available port and print the actual URL.
Test with MCP Inspector
npm run inspectnpm run inspect will use PORT if set, otherwise it will try to read .mcp-port (written by the dev server).
Deploy
Vercel
vercel deployManual
- Build:
npm run build - Start:
npm start
Tools
- example_tool: An example tool for your MCP app
Adding New Tools
- Create a new handler in
src/tools/ - Register it in
src/index.ts - Update your widget to call the tool
Security
CORS Configuration
By default, this server allows requests from any origin (Access-Control-Allow-Origin: *).
For production, restrict CORS to your widget's domain by setting the CORS_ORIGIN environment variable:
CORS_ORIGIN=https://your-widget-domain.com