iCreatAI News
Skip to content
Trending storyWatching

Developer suggests web apps should prioritize MCP for connecting AI agents

1 reports1 sources2 days agoUpdated

Understand this story

AI overview

A Wasp developer relations engineer, using the open-source short-link app Linkly as an example, compared MCP, REST API, and CLI as three ways to connect AI agents to an application, and says MCP should be the first choice in most cases. The reasoning: MCP standardizes both server-side and client-side behavior, has the client handle OAuth login, and lets the server directly ask the user to confirm destructive operations. The author believes APIs are better suited to batch tasks and scripts; a CLI is usually unnecessary unless the agent needs to read local files. The author also says agents currently cannot log in to APIs with OAuth on their own. The demo Linkly has not yet added rate limiting, which the author says will be added before allowing real agents to connect.

AI overview based on source reports · Updated 2 days ago

Coverage timeline

Follow the coverage to explore different perspectives.

Nov 4
  1. Hacker News AI
    MCP vs. API vs. CLI: How should AI agents connect to your app?

    This post argues that an MCP server should be the first choice for making a web app agent-friendly, because MCP standardizes both server and client behavior, lets the client handle OAuth so the model never sees the token, and can route destructive-action confirmations directly to the human via elicitation. REST APIs remain better for scripts, bulk jobs, data exports and integrations that run without an agent, while CLIs suit agents with a shell working with local files. The author recommends putting business logic in operations and exposing them as thin adapters over MCP, REST and optionally a CLI, using the open-source Linkly link shortener as the example.

Activity for this story

Current comparable activity
3
Peak comparable activity
10Nov 4 23:00
Change in the past 24 hours
-51%

Trends compare the same fully observed participants, which may cover fewer participants than current activity. Move the pointer or tap the chart to inspect hourly activity; use the left and right arrow keys with a keyboard.