> ## Documentation Index
> Fetch the complete documentation index at: https://docs.withmethod.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# MCP

> Read saved methods through MCP.

# Integrate Method

Use the [API and MCP contract](/api-reference/endpoints). MCP 5.2 reads saved methods and changes their names. Use Method CLI to author and save methods.

1. Connect to `https://dark-wave-v6i08.run.mcp-use.com/mcp` with OAuth discovery, PKCE, and token refresh.
2. Call `list_methods`, then `get_method` with the selected `method_id`.
3. Call `get_method_source` to read the saved source. Preserve its exact text when checking the returned hash.
4. Save the source as `task.method`. Run `method run task.method` with the required inputs and resources.
5. Check the saved run result. A source hash does not prove that the method ran correctly.

Use `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.
