MCP tool ideas

An MCP server will be coming next release, a rough cut at least. It uses the same authentication system as SOAP, which is to say disabling SOAP authentication will also disable MCP usage.

curl  -H Auth-Key: xyz http://localhost:2082/mcp -d '{"jsonrpc":"2.0","id":3,"method":"tools/call","params":{"name":"common_whoami","arguments":{}}}'

{"jsonrpc":"2.0","id":3,"result":{"content":[{"type":"text","text":"\"admin\""}],"isError":false}}

What tools would you like to see? For example, “Install APP on DOMAIN using git repo Y” would add a domain to an account, then install the specified webapp with SSL enabled for that site while pulling down a git repo; all those features exist in the API.

Another idea would be monitoring service status/performance through DAPHNIE and/or Argos. Things that can be informative yet also cut down on needless repetition. The more that can be accomplished without logging into the UI is where I’d like to take idea.

Client facing? Exposing the beacon api functions via MCP would allow assistants to do almost anything a client could do.

Honestly, I will not likely connect an assistant with admin roles.

I could see value in connecting Claude and being able to reset fortification, checking mysql backups, adding a database and installing Cron jobs.

The biggest thing an MCP could provide is a way to do things with simple language, or troubleshoot issues with no knowledge of ApisCP.