Skip to content

Commit b0af88d

Browse files
committed
updated the versions and fixed the swagger now you can access the endpoints with http://localhost:7860/swagger-ui/index.html
1 parent 5c04253 commit b0af88d

File tree

1 file changed

+2
-16
lines changed

1 file changed

+2
-16
lines changed

README.MD

Lines changed: 2 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
Integrate your Spring Boot applications with Google's A2A Protocol and Anthropic's Model Context Protocol (MCP) using a2ajava. This integration allows any Spring bean to be exposed as an AI-actionable service—no need for extra annotations or custom wiring.
55
**A2AJava is the Java implementation** of the Google A2A protocol you can check the project [here](https://github.com/vishalmysore/a2ajava) .
66

7+
Live Demo of this server is available [here](https://huggingface.co/spaces/VishalMysore/a2amcpspring)
78
### What is A2A?
89
A2A (Agent-to-Agent) is Google's protocol that enables AI agents to discover and interact with services through a standardized format. It makes services discoverable and executable by AI systems.
910

@@ -49,7 +50,7 @@ public class CompareCarService implements JavaMethodAction {
4950
```
5051

5152
- A2A card will be available here http://localhost:7860/.well-known/agent.json
52-
- MCP Tools can be integrated to claude desktop via passthrough server[connector](https://github.com/vishalmysore/mcp-connector/)
53+
- MCP Tools can be integrated to claude desktop via passthrough server [connector](https://github.com/vishalmysore/mcp-connector/)
5354

5455
or you can use curl command to get the list of MCP tools
5556

@@ -78,22 +79,7 @@ use curl command to call a specific tool
7879
}
7980
```
8081

81-
At runtime spring will create this service and call it with appropriate values if the prompt matches the action
8282

83-
```
84-
@Autowired
85-
private ApplicationContext applicationContext;
86-
@GetMapping("/action")
87-
public String actOnPrompt(@RequestParam("prompt") String prompt) {
88-
SpringAwareActionProcessor processor = new SpringAwareActionProcessor(applicationContext);
89-
try {
90-
return (String) processor.processSingleAction(prompt);
91-
} catch (AIProcessingException e) {
92-
throw new RuntimeException(e);
93-
}
94-
95-
}
96-
```
9783

9884

9985
## 📝 set up

0 commit comments

Comments
 (0)