Integrate Method
Use the API and MCP contract. MCP 5.2 reads saved methods and changes their names. Use Method CLI to author and save methods.- Connect to
https://mcp.withmethod.ai/mcpwith OAuth discovery, PKCE, and token refresh. - Call
list_methods, thenget_methodwith the selectedmethod_id. - Call
get_method_sourceto read the saved source. Preserve its exact text when checking the returned hash. - Save the source as
task.method. Runmethod run task.methodwith the required inputs and resources. - Check the saved run result. A source hash does not prove that the method ran correctly.
get_agent_prompt only for general agent instructions. A prompt alone does not run Method’s separate actions and checks. The old workflow tool names remain available for existing clients.