Showing posts with label DIY. Show all posts
Showing posts with label DIY. Show all posts

Monday, July 27, 2026

The USB-C Moment for AI: A Student’s Guide to the Model Context Protocol (MCP)

 

The USB-C Moment for AI: A Student’s Guide to the Model Context Protocol (MCP)

In the rapidly evolving world of Artificial Intelligence, a new standard has emerged that is changing how we build and interact with AI agents. It’s called the Model Context Protocol (MCP), and it has quickly become the industry standard for connecting AI to your data, tools, and files.

If you are a student looking to move beyond simple chatting and start building real-world AI applications at home, this guide will break down what MCP is and how you can build your first integration in just 15 minutes.


What is MCP? The "Universal Charger" for AI

Before MCP, connecting an AI model (like Claude or ChatGPT) to a specific database or file system required a "custom integration." If you had 10 apps and 100 tools, you might end up writing 1,000 different connections. It was like having a drawer full of different charging cables for every device you own.


MCP is the "USB-C" for AI. It is an open standard—originally released by Anthropic and now governed by the Linux Foundation—that provides a single "plug shape". Once you build a connector (a "server") using MCP, it can work across any compatible AI application, including Claude Desktop, Cursor, or VS Code.

How It Works: The Three-Piece Architecture

To understand MCP, think of the connection like your smartphone:

  1. The Host: This is the AI application itself (e.g., Claude Desktop). Think of this as your phone.
  2. The Client: This lives inside the host and manages the connection. This is the USB-C port on the phone.
  3. The Server: This is a small program that "wraps" your data or tools. This is the accessory (like a pair of headphones) that you plug in.

An MCP server gives the AI three specific capabilities:

  • Tools: Actions the model can take (e.g., "Delete a file").
  • Resources: Data the model can read (e.g., "Read a local spreadsheet").
  • Prompts: Reusable templates for specific tasks.


DIY: Build Your First MCP Server in 15 Minutes

You don’t need to be a professional software engineer to start. Building your first server is a simple 15-minute project using Python.

The DIY Roadmap:

  1. Select a Tool: Start with something simple, like a weather API or a "read-only" view of a folder on your laptop.
  2. Use the Python SDK: The official Python SDK includes "Fast MCP," which makes development very smooth.
  3. Write Your Code: You simply write a normal Python function, add type hints (telling the code if an input is text or a number), and a docstring (a description of what the tool does).
  4. Add a Decorator: By adding a single line of code (a decorator) provided by the SDK, your function is automatically turned into a tool the AI can understand.
  5. Test with the Inspector: Use the MCP Inspector, a local web interface that lets you manually trigger your tools to ensure they work before connecting them to an AI.
  6. Connect to your Client: Add a small configuration entry to your Claude Desktop or Cursor settings, and the AI will automatically "discover" your new tools.

A Crucial Note on Security

While MCP is powerful, it grants AI models a direct line into your personal data. Installing a random MCP server from the internet is like plugging in a USB stick you found in a parking lot.

Research shows that only 13% of public MCP servers meet high trust standards for reliability and documentation. To stay safe:

  • Prefer official servers from verified publishers.
  • Read the code before you run it (MCP servers are usually small and easy to read!).
  • Use "Read-Only" credentials whenever possible so the AI can't accidentally delete your data.

Conclusion

MCP isn't the "intelligence" of the AI; it is the plumbing. However, the students and developers who are winning with AI today are the ones who build the best plumbing to let their models interact with the real world. Start building local, low-stakes projects today, and you'll be ahead of the curve in the agentic AI era.

Wednesday, February 19, 2025

Quantum Computing Chip by Microsoft - Majorana 1



Quantum Computing Chip by Microsoft - Majorana 1

Scientists made tiny things called qubits using special materials called top-conductors. These qubits work super fast, don’t break easily, and are really small.

They’re so tiny that 100 of them could fit in just one millimeter! That’s smaller than the width of a pencil tip.

Because they’re so small and work so well, we can now build a super-powerful computer with a million qubits.

Public Original Source: https://news.microsoft.com/source/features/ai/microsofts-majorana-1-chip-carves-new-path-for-quantum-computing/


Sunday, October 01, 2023

AI Tools for Higher Productivity - By Kapil Sharma

AI Tools for higher productivity (with Links):

Poly: https://poly.ai/

NVIDIA Canvas: https://www.nvidia.com/en-us/studio/c...

Synthesia: https://www.synthesia.io/

Tome: https://beta.tome.app/

Future Tools: https://www.futuretools.io/

NVIDIA Broadcast: https://www.nvidia.com/en-us/geforce/...

NVIDIA Omniverse: https://www.nvidia.com/en-us/omniverse/

Versy: https://www.versy.ai/

Imagen: https://imagen.research.google/

Kaiber: https://kaiber.ai/?via=obscurious

Leia Pix: https://convert.leiapix.com/

Do Not Pay: https://donotpay.com/

Soundraw: https://soundraw.io/

Mubert: https://mubert.com/render/pricing?via...

Eleven Labs: https://elevenlabs.io/?via=obscurious

Midjourney: https://www.midjourney.com/home/

Mixo: https://mixo.io/?via=obscurious

Jasper: https://jasper.ai

Looka: https://looka.com/

RunwayML Gen 2: https://research.runwayml.com/gen2

Caktus: https://www.caktus.ai/caktus_student

Wisdolia: https://chrome.google.com/webstore/de...

Rewind: https://www.rewind.ai/

Pimeyes: https://pimeyes.com/en

Deep Nostalgia: https://www.myheritage.com/deep-nosta...

D-ID: https://www.d-id.com/

RunwayML: https://runwayml.com/

Luma Labs: https://lumalabs.ai/

Notion: https://www.notion.so/product/ai

Wist Labs: https://wistlabs.com/

AutoDraw: https://www.autodraw.com/

Reimagine Home: https://www.reimaginehome.ai/

FREE Tools to Improve Your Presentation (PPT) - By Kapil Sharma


FREE Tools to Improve Your Presentation (PPT):


Wednesday, July 12, 2023

XABCD Investment Pattern is a drawing tool available on TradingView Platform - By Kapil Sharma

The XABCD Pattern is a drawing tool available on TradingView that allows analysts to highlight various five-point chart patterns. Users can manually draw and maneuver the five separate points (XABCD). The XABCD points create four separate legs, which combine to form chart patterns. The four legs are referred to as XA, AB, BC, and CD.

There are four major XABCD chart patterns that are most common. These patterns can be either bullish or bearish. The four major patterns include: Gartley, Butterfly, Crab, and Bat.

Bullish Gartley Pattern: The pattern begins with an uptrend designated as XA. Price reverses back down at A and stops at B. The Fibonacci Retracement ratio of AB should be 61.8% of the price range of A minus X. Price reverses at B. The BC retracement should be between 61.8% and 78.6% of the AB price range (not the length of the lines). This is shown along the line AC. At C, price reverses with retracement CD between 127% and 161.8% of the range BC. This is shown along the line BD. Price D is the point to enter the market (buy) .

Bullish Butterfly Pattern: The swing from A to D should be a 127.2% or 161.8% extension of the XA line. Within the A to D swing, a valid ABCD pattern must be observed. In an ideal setup, the two triangles (XAB and BCD) should be almost equal in terms of time. If not, look for the second triangle (BCD) to be between 61.8% and 161.8% of the first triangle (XAB). A move beyond 161.8% would suggest that the bullish pattern is broken and bearish movement may be inevitable.

Bearish Gartley Pattern: The pattern begins with a downtrend designated as XA. Price reverses back up at A and stops at B. The Fibonacci Retracement ratio of AB should be 61.8% of the price range of A minus X. Price reverses at B. The BC retracement should be between 61.8% and 78.6% of the AB price range (not the length of the lines). This is shown along the line AC. At C, price reverses with retracement CD between 127% and 161.8% of the range BC. This is shown along the line BD. Price D is the point to enter the market (sell).

Bearish Butterfly Pattern: The swing from A to D should be a 127.2% or 161.8% extension of the XA line. Within the A to D swing, a valid ABCD pattern must be observed. In an ideal setup, the two triangles (XAB and BCD) should be almost equal in terms of time. If not, look for the second triangle (BCD) to be between 61.8% and 161.8% of the first triangle (XAB). A move beyond 161.8% would suggest that the bearish pattern is broken and bullish movement may be inevitable.

Public Source: XABCD Pattern — TradingView

Monday, June 05, 2023

Google Discover - By Kapil Sharma

Google Discover is a feature provided by Google that offers personalized content recommendations to users on their mobile devices. It is designed to provide a customized feed of articles, news, videos, and other web content based on a user's interests and browsing habits.

Google Discover uses various signals and algorithms to determine what content to display to each user. It takes into account factors such as a user's search history, location, language preferences, and the topics they engage with across Google products like Search, YouTube, and Chrome. By analyzing this data, Google Discover aims to present users with relevant and timely information that aligns with their individual interests.

The content shown in Google Discover can include news articles, blog posts, sports highlights, entertainment news, recipes, and much more. Users can customize their preferences and provide feedback on the content they see to help Google further refine their recommendations.

Google Discover is typically accessible through the Google app on Android and iOS devices. It appears as a personalized feed of cards that users can scroll through to discover new and interesting content. The more users interact with the feed by reading, liking, or saving articles, the better Google becomes at tailoring the content to their preferences.

It's worth noting that the availability and functionality of Google Discover may vary depending on the user's location and the specific version of the Google app they are using.

Public Link: https://developers.google.com/search/docs/appearance/google-discover

Saturday, June 03, 2023

How to set up a Data Lake House environment on a Windows System - By Kapil Sharma

To set up a Lake House environment on a Windows 10 laptop using open-source tools, you can follow these general steps:

Install Apache Spark:

Download the latest version of Apache Spark from the official website (https://spark.apache.org/downloads.html).

Extract the downloaded archive to a desired location on your Windows machine.

Set up environment variables: Add the Spark bin directory to the PATH environment variable.

Install Apache Hadoop:

Download the latest version of Apache Hadoop from the official website (https://hadoop.apache.org/releases.html).

Extract the downloaded archive to a desired location on your Windows machine.

Set up environment variables: Add the Hadoop bin directory to the PATH environment variable.

Install Apache Hive:

Download the latest version of Apache Hive from the official website (https://hive.apache.org/downloads.html).

Extract the downloaded archive to a desired location on your Windows machine.

Set up environment variables: Add the Hive bin directory to the PATH environment variable.

Install Apache Parquet:

Parquet is a columnar storage file format commonly used in a Lake House architecture.

You can install Parquet by including it as a dependency in your Spark or Hive setup.

Configure Spark and Hive:

Configure Spark: Update the spark-defaults.conf file located in the Spark configuration directory (SPARK_HOME/conf). Configure parameters like memory allocation, executor cores, and other Spark settings based on your system specifications.

Configure Hive: Update the hive-site.xml file located in the Hive configuration directory (HIVE_HOME/conf). Configure database connection details, metastore settings, and other Hive configurations as needed.

Start Spark and Hive:

Open a command prompt or terminal and navigate to the Spark installation directory.

Start Spark: Execute the command spark-shell to start the Spark interactive shell. Verify that Spark is running correctly.

Start Hive: Execute the command hive to start the Hive command-line interface. Verify that Hive is running correctly.

Test Lake House Setup:

Use Spark and Hive to create and query tables from various data sources like CSV, JSON, or Parquet files.

Experiment with Spark SQL and Hive queries to interact with the data stored in your Lake House environment.

Note that setting up a Lake House environment on a Windows machine may have some limitations compared to running it on a Linux-based system. It's recommended to refer to the official documentation of each tool for any specific instructions or considerations related to the Windows platform.

Sunday, December 04, 2022

Big Data five V types - By Kapil Sharma

Big Data five V types:- 

  1. Volume:- Amount of data (Like in GB or PB in data size)
  2. Value:- Useful information for users
  3. Veracity:-  Conformity to facts; accuracy of data
  4. Variety:- Type of data (Structured, Semi- and Un-Structured)  
  5. Velocity:- Speed of data generation (Bills Data, Social Media feeds, All type of streaming)

Saturday, January 01, 2022

Python Dash: A new approach towards data science - Kapil Sharma (Class-101/S2022)

Dash is the original low-code framework for rapidly building data apps in Python. Dash is an open source library released under the permissive MIT license. 

Dash is the new standard for AI & data science apps.

Source: https://plotly.com/


Sunday, December 26, 2021

What is Apache Spark - Kapil Sharma (Class-101/S2021)

Apache Spark: 

Apache Spark™ is a multi-language engine for executing data engineering, data science, and machine learning on single-node machines or clusters. 

In simple terms it's a ETL tool. 






Saturday, October 23, 2021

BlockChain - Kapil Sharma (Class 100/S2021)

 



Blockchain through the following attributes:

  • Distributed: The distributed ledger is shared and updated in real-time with every incoming transaction among the nodes connected to the Blockchain. No central server controlling the data.
  • Secure Transparent : There is no unauthorized access to Blockchain made possible through Permissions and Cryptography and every node know about all transactions. 
  • Consensus-based Algo: All relevant network participants must agree that a transaction is valid by use of consensus algorithms. (POW/POC)
  • Flexible: Smart Contracts which are executed based on certain conditions can be written into the platform. 

Blockchain Technology Benefits:

  • Time-saving: No central Authority verification needed for settlements making the process faster and cheaper. 
  • Cost-saving: Participants can share assets directly. 
  • Tighter security: No one can temper with Blockchain Data as it shared among millions of Participant. 

Navigating Portfolio Management Services (PMS): Evaluation, Strategy, and Return Dynamics.

  What is Portfolio Management Services (PMS)? Portfolio Management Services (PMS) are customized, professional investment solutions designe...