SShortSingh.
Back to feed

Querying a Remote MCP Server Using Only Python's Standard Library

0
·5 views

A guide explains that the Model Context Protocol is essentially JSON-RPC over HTTPS POST, so its server can be tested without an SDK. It targets the public server at siftwright.com/mcp, where two of nine tools, domain_whois and pqc_scan, work without an API key subject to a free daily limit. The author outlines the three core methods a client needs: initialize, tools/list and tools/call. A roughly 60-line Python script using urllib demonstrates these calls, including required headers and handling of tool result content blocks. The examples were run on 26 November 2026, and the post notes that Cloudflare-fronted sites may reject the default Python user agent.

Read the full story at DEV Community

This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)

Log in to join the discussion and vote.

Log in

Related stories

0
ProgrammingDEV Community ·

Init Flow: Open-Source Bash CLI Automates New Project Setup with Git and GitHub

A developer has released Init Flow, an open-source command-line tool written in Bash that automates the setup of new software projects. The tool creates a local directory, initializes Git on the main branch, creates a public GitHub repository through the GitHub CLI, and opens the project in Visual Studio Code with a single command. Before running, it checks dependencies, verifies GitHub authentication, and looks for local or remote name conflicts. Distributed under the MIT License, it currently targets Linux, and its latest version, v0.2.0, adds seven configuration options for customization.

0
ProgrammingDEV Community ·

Open-Source Dart and Flutter MCP Suite Brings AI Agents, Generative UI and On-Device Models

A developer has released an open-source suite of five Dart and Flutter packages for building AI agents using the Model Context Protocol. The core package, dart_mcp_core, is pure Dart and runs across CLI tools, desktop, mobile and web, supporting seven LLM providers through one API. Features include automatic context compression, on-demand tool discovery, loop guards and user approval hooks for tool use, and a built-in image generation tool. A companion package, flutter_a2ui_mcp, lets models render interactive Flutter widgets in chat using A2UI 1.0 Express, while flutter_ui_mcp_embedded enables offline on-device models on Android, iOS and desktop. The author states that AI coding agents were used substantially in building and maintaining the packages.

0
ProgrammingDEV Community ·

Domain verification gets bounded automatic retries and manual re-checks with clearer status

The article proposes that domain verification keep running in the background after a user closes the browser, with scheduled retries and a manual re-check option in an internal admin console. It recommends showing administrators the reason for waiting, the time of the last check, and when the next attempt is scheduled. Manual re-checks would share the same attempt budget and avoid creating parallel jobs. The author distinguishes between customer-owned and platform-owned DNS zones, and between failed checks and checks that completed without finding the required evidence. The examples given, such as a six-attempt policy with increasing delays, are offered as design suggestions rather than vendor defaults.

0
ProgrammingDEV Community ·

Finalsay: open-source CRM running inside your Google Sheet and Gmail

A freelance motion designer in Rajkot, India, built Finalsay, an open-source CRM that runs within a Google account without a server or new login. Users apply a Gmail label to client emails, which adds leads to a Google Sheet they own, and a rule-based Today list flags who needs a response. Optional AI only suggests next steps and requires manual approval, while replies are saved as drafts since the tool never sends email. The project, released as version 0.1 under the MIT licence, passed 125 automated tests and one live installation, with several features still unverified. The creator is requesting feedback on installation and missing features.