The invention provides a multi-agent collaborative MCP registration,
authorization and execution method based on a block chain, and relates to the technical field of
artificial intelligence, the method comprises three parties of an MCP provider, an LLM provider and a terminal user, and MCP registration, joint
authorization and trusted execution are realized through an intelligent contract. Comprising the steps of registering MCP
metadata uplink, applying for
authorization for a user-LLM combination, initiating double-signature calling by the LLM, verifying a contract and triggering execution, and returning a result and updating a state by
Oracle. According to the method, decentralization, multi-agent
collaboration, verifiability of MCP calling full links and accurate definition of rights and responsibilities are realized, fine-grained
authority control and automatic expense settlement are supported, compliance supervision requirements of GDPR, HIPAA and the like are met, bottom support is provided for large-scale and secure calling of external services by a
large model, and multi-scene application of SaaS, API markets and the like is adapted.