Replies: 3 comments 1 reply
-
Seconding this. I have followed the instructions in the readme but I get stuck trying to get a response from the endpoint with a curl request and have not managed to workout how to get Claude Desktop to recognise the server. |
Beta Was this translation helpful? Give feedback.
1 reply
-
I only have something like this to test mcp server without client - didn't found any client ruby library # client.rb
require 'json'
server = IO.popen(["/Users/michalczyz/.asdf/shims/ruby", "/Users/michalczyz/Projects/cs3b-mcp-servers-ruby-examples/media/summarize_content.rb"], "r+")
# Send message to server
server.puts %q{{"jsonrpc": "2.0", "id": 1, "method": "initialize", "params": {}}}
server.flush
# Read response from server
puts server.gets # => "Server received: Hello, server!"
query = %Q{{"jsonrpc": "2.0", "id": 3, "method": "prompts/list", "params": {}}}
server.puts query
puts server.gets
transcript = <<~TRANSCRIPT
Quasar Alpha: This Mystery Coding Model is So Cracked 🔥 - YouTube
https://www.youtube.com/watch?v=x1I1IXJ6jjE
Transcript:
(00:00) ...
TRANSCRIPT
# Clean shutdowno
query = %Q{{"jsonrpc": "2.0", "id": 3, "method": "prompts/get", "params": {"name": "summarize_transcript", "arguments": {"transcript": #{transcript.to_json}, "meta": {"source": "YouTube: SeQU2LNQ5ig"}}}}}
server.puts query
puts server.gets # => "Server shutting down.
server.close |
Beta Was this translation helpful? Give feedback.
0 replies
-
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
Has anyone created a client implementation for the facp-mcp mcp server? I've been trying to find a solution but haven't been successful. Does anyone have a solution?
Beta Was this translation helpful? Give feedback.
All reactions