added agentmail-mcp image
All checks were successful
CI / Build agentmail-mcp docker images (push) Successful in 14s
All checks were successful
CI / Build agentmail-mcp docker images (push) Successful in 14s
This commit is contained in:
12
agentmail-mcp/entrypoint.sh
Normal file
12
agentmail-mcp/entrypoint.sh
Normal file
@@ -0,0 +1,12 @@
|
||||
#!/usr/bin/env sh
|
||||
if [ -z "${SERVER_HOST}" ]
|
||||
then
|
||||
SERVER_HOST="0.0.0.0"
|
||||
fi
|
||||
if [ -z "${AGENTMAIL_API_KEY}" ]
|
||||
then
|
||||
echo "You need to specify an API key setting the environmental variable 'AGENTMAIL_API_KEY'"
|
||||
false
|
||||
else
|
||||
exec .local/bin/mcp-streamablehttp-proxy --host ${SERVER_HOST} --port ${SERVER_PORT} .local/bin/agentmail-mcp --api-key ${AGENTMAIL_API_KEY}
|
||||
fi
|
||||
Reference in New Issue
Block a user