--template mcp (see Plugin Formats).
Before you start
You need Node.js and npm. This example uses the TypeScript SDK’s 1.x JavaScript API, pinned to 1.29.0. SDK major versions can use different imports and setup; consult the official MCP server guide when choosing another version.Write a minimal local server
server.mjs:
console.error) because stdout carries MCP protocol messages. The official guide explains this transport requirement.
Connect it to Enconvo
1
Add the server
Open Settings → MCP Servers and click Add server. Give it a Server name, such as
hello-mcp.2
Set how it starts
Choose STDIO. In Command, enter
node. In Arguments, enter the absolute path of server.mjs. If Enconvo cannot find Node, use its absolute executable path.3
Save and check it
Click Save. Confirm the server connects and exposes
greet.4
Try it
Make it available to your Agent and ask it to greet “Ada.” The expected tool result is
Hello, Ada!.Design useful tools
- Give each tool a specific action and description.
- Validate input at the tool boundary and return useful error messages.
- Separate reading data from mutations such as sending or deleting.
- Return a compact result that the Agent can interpret.
- Keep credentials in the server’s appropriate configuration, outside source examples and logs.
Remote servers and authentication
For a remote server, use the HTTP or SSE transport offered by its setup instructions and the corresponding Enconvo form (HTTP or SSE instead of STDIO). The server URL must be the MCP endpoint rather than an ordinary website URL. Complete any supported authorization flow and confirm the connection before enabling its tools. Remote transport, authentication discovery, and session behavior depend on the server and protocol version. Use the official SDK and protocol documentation for implementation details rather than inventing anauth manifest that Enconvo does not consume.
Troubleshooting
For exposing Enconvo’s own documents to another AI client, use the built-in Knowledge Base MCP server; a custom server is not required.
Related
MCP Servers
Install and manage MCP servers in Enconvo
Plugin Formats
Package a server as a plugin for Enconvo, Codex and Claude Code