An Inkeep MCP Server with Next.js, deployable to Vercel. It includes two tools:
ask-question(Use this tool to ask a question about the product)search-knowledge-base(Use this tool to do a semantic search for reference content related to the product)
- Node.js 24+
- pnpm (recommended) or npm
- Inkeep account with API key
-
Clone the repository:
git clone https://github.com/inkeep/mcp-for-vercel.git cd mcp-for-vercel -
Install dependencies:
pnpm install
To use the Inkeep MCP server, you’ll need an Inkeep API key.
- Go to the Inkeep portal and follow these steps Get an API key.
- When making MCP requests, include your API key in the Authorization header using the Bearer format:
Authorization: Bearer INKEEP_API_KEY
Alternatively, you can specify INKEEP_API_KEY as an environment variable to this MCP server. Be aware: exposing the key this way will make your MCP server accessible to others if not properly secured.
pnpm devYour MCP server will be available at:
http://localhost:3000/mcp(MCP transport)
- Push your repository to GitHub
- Create a new Vercel project and import the repository
- Vercel should automatically detect this as a Next.js project. No special build configuration is required.
The server automatically logs conversations to Inkeep Analytics (please see the logToInkeepAnalytics function). You can view this usage in the Inkeep Portal.