Posts

Showing posts from July, 2025

MCP : Create your own server

Image
Cursor   Video 22 : Expose a Tool : run desktop commands  You can add documentation as shown here , https://docs.cursor.com/context/@-symbols/@-docs  Before writing the python code for MCP , added following two docs for vibe coding https://github.com/modelcontextprotocol/python-sdk https://modelcontextprotocol.io   How to be 10x productive with mdc files / Vibe Coding with Cursor Goto the following website to get https://cursor.directory/   cursor rules https://docs.cursor.com/context/rules   https://www.youtube.com/watch?v=ABozvKmctkc   https://github.com/emarco177/mcp-crash-course  Gave the prompt    Here is generated file https://github.com/emarco177/mcp-crash-course/blob/main/server.py Video 23 : Expose Resource (in this case a file)  Use vibe coding to get started    It will generate following code @mcp.resource("file:///mcpreadme") async def mcpreadme() -> str: """ Expose mcpreadme.md from the user's Desk...