MCP - a open protocol for AI (LLM) to talk to other tools / systems / applications.
Naive, but don’t judge me, I was judging AI capabilities with me being Naive
- So I asked Claude AI to create an MCP
- An MCP the AI itself will use
- Gave a website address to which MCP had to be created (with public APIs)
- It Generated extensive, detailed code
- I dwelled on it, fine tuned for my preference / requirements, it went ahead and did a bit more than I asked for. Website was analysed in minutes (amusing and scary)
- I asked it to package it as executable package
- I had configured file system MCP
- So, Claude leveraged that and created a python project in filesystem and created Project with proper files and folder structure
- Here comes Claude code (CC)
- This python project of MCP server, was not in a running state
- Asked CC to make the code runnable (of course I was in control (manual loop) of the changes it was making)
- MCP server to run in local system (MacOs) needed some changes in trivial python code, CC made the changes
- Interesting side part, during this whole process, it was also creating documentation, to install server, to run server and the MCP config for other tools
- At times I had to say update the documentation
- OOPS !! Code got changed, but what was changed ?
- I asked CC to make this project version controlled. Oh my Devaa (God), it converted the project into a Git repo (local)
- Created git related files, Auto committed all files. All I had to do was, say yes, go ahead
- Well, we got side tracked, lets get back to MCP
- So, now I asked CC to run the server (lazy to copy the command and run it in next tab terminal)
- Obviously.. It had issues, and obviously it auto corrected the code
- It wrote test cases, wrote test start script, tested it, committed the code and then
- now it tells me, 'All fixed, Want to run?', Howdhu maga howdhu, run (yes dude yes, run)
- MCP server started. I updated MCP configuration and restarted Claude Desktop
- pssssttt….. curios?
- :( Error: MCP server couldn’t be started
- Again me being extremely (purposefully) lazy, told CC, you are being dumb, fix the startup error
- I guess, I hurt its Ego.
- It asked permissions for MCP server log file. whaaaat really ?, it wants to read log files now, wow.
- It test ran with its test scripts, read the log, analysed like a nerd, updated the test files and code, reran until it was fixed and updated the documentation and also committed the code
- What can I say, I was watching Christopher Nolan movie level events.
- Finally, MCP worked, I tested few things, results were as expected.
It ain’t over, my architectural / Engineering hormones kicked in.
How about containerisation ?
How about productionising it ?
How about Security & Authentication ?
How about Performance & Scalability ?
How about Operational Readiness ?
How about AI Security, Gaurdrails ?
Stay tuned, I will be back 🙂
14