MCP Quickstart

A basic MCP server from the Quickstart Guide, adapted for OpenAI's Chat Completions API.

MCP Quickstart

Basic MCP server from the Model Context Protocol (MCP) Quickstart Guide adapted to work with the OpenAI chat completions and responses API's

Notes

  • MCP configuration
    {
      "mcpServers": {
        "weather": {
          "command": "uv",
          "args": [
            "--directory",
            "<project_folder>",
            "run",
            "weather.py"
          ]
        }
      }
    }
    
  • MCP inspector was very helpful in troubleshooting basic configuration issues
    npx @modelcontextprotocol/inspector
    
  • Claude desktop works fine with this server
  • I was not able to make this server work in PyCharm > AI Assistant > Model Context Protocol (MCP)
    • Constantly getting MCP error -1: Connection closed
    • Increasing the timeout didn't help LLM-16647
    • Since JetBrains AI Assistant plugin version: 251.26094.80.11 getting Not Started - LLM-17338

Links:

相關伺服器

NotebookLM 網頁匯入器

一鍵將網頁和 YouTube 影片匯入 NotebookLM。超過 200,000 位使用者信賴。

安裝 Chrome 擴充功能