Labsco
arunmenon logo

SDK MCP Server

from arunmenon

An MCP server providing searchable access to multiple AI/ML SDK documentation and source code.

๐Ÿ”ฅ๐Ÿ”ฅ๐Ÿ”ฅโœ“ VerifiedFreeQuick setup

SDK MCP Server

A configurable Model Context Protocol (MCP) server that provides searchable access to multiple AI/ML SDK documentation and source code. Currently supports OpenAI Agents SDK and Google ADK, with easy extensibility for additional SDKs.

Purpose

When working with AI/ML SDKs, you often need to:

  • Understand how classes and methods work internally across different SDKs
  • Compare implementations between different frameworks
  • Find the right method signatures and parameters
  • See real implementation examples
  • Debug issues by examining SDK source code

This MCP server gives AI assistants like Claude instant access to multiple SDK sources, making it a powerful development companion for multi-SDK projects.

Available Tools

Each configured SDK gets its own set of tools with the SDK prefix. Currently configured:

OpenAI Agents SDK Tools (prefix: openai_agents_)

  • openai_agents_list_files() - List all available OpenAI SDK source files
  • openai_agents_get_source(filename) - Get source code of specific file
  • openai_agents_search_code(query) - Search for terms, methods, or patterns
  • openai_agents_get_class(class_name) - Extract complete class definition
  • openai_agents_find_examples(topic) - Find usage examples and patterns

Google ADK Tools (prefix: google_adk_)

  • google_adk_list_files() - List all available Google ADK source files
  • google_adk_get_source(filename) - Get source code of specific file
  • google_adk_search_code(query) - Search for terms, methods, or patterns
  • google_adk_get_class(class_name) - Extract complete class definition
  • google_adk_find_examples(topic) - Find usage examples and patterns

Cross-SDK Tools (coming soon)

  • list_available_sdks() - Show all configured SDKs
  • search_all_sdks(query) - Search across all SDKs simultaneously
  • compare_implementations(concept, sdk_ids) - Compare similar concepts across SDKs

File Structure

sdk-mcp-server/
โ”œโ”€โ”€ src/
โ”‚   โ”œโ”€โ”€ server.py           # Main MCP server implementation
โ”‚   โ””โ”€โ”€ download_sdk.py     # SDK downloader and indexer
โ”œโ”€โ”€ data/                   # Downloaded SDK files (git-ignored)
โ”‚   โ”œโ”€โ”€ openai_agents/      # OpenAI SDK files
โ”‚   โ””โ”€โ”€ google_adk/         # Google ADK files
โ”œโ”€โ”€ sdks.yaml              # SDK configuration
โ”œโ”€โ”€ requirements.txt       # Python dependencies
โ””โ”€โ”€ run_server.sh         # Server startup script

Tips for Best Results

  1. Specify the SDK - Mention which SDK you're working with
  2. Use SDK prefixes - Each tool is prefixed with the SDK name
  3. Compare implementations - Ask about differences between SDKs
  4. Request examples - Each SDK has example-finding capabilities

Why This Helps

  • Multi-SDK support - Work with multiple frameworks seamlessly
  • Instant answers - No need to browse multiple repos or docs
  • Direct comparisons - See how different SDKs solve similar problems
  • Accurate information - Always from the latest source code
  • Context-aware - AI understands full implementations across SDKs